標(biāo)題: 求助 程序執(zhí)行時(shí)出現(xiàn)" Transaction not available" 錯(cuò)誤 [打印本頁] 作者: 寒鈴 時(shí)間: 2007-09-06 17:38 標(biāo)題: 求助 程序執(zhí)行時(shí)出現(xiàn)" Transaction not available" 錯(cuò)誤 請(qǐng)教大家一個(gè)問題,我用4GL寫了一個(gè)程序,在編寫程序的微機(jī)上運(yùn)行正常,但是在有一臺(tái)微機(jī)上運(yùn)行時(shí),出現(xiàn)
Transaction not available 錯(cuò)誤,錯(cuò)誤代碼-256,該微機(jī)原來就裝有informix online 7.23數(shù)據(jù)庫,并運(yùn)行
有其他程序, 通過查看源程序,出錯(cuò)的地方均執(zhí)行了 begin 語句, 我在dbaccess下執(zhí)行begin也出現(xiàn)同樣
的錯(cuò)誤. 查看提示如下:
-256 Transaction not available.
You cannot begin a transaction in this database because it does not
have a transaction log. In order to support transactions, you must
start a transaction log. With the INFORMIX-OnLine Dynamic Server, the
OnLine administrator uses the Databases screen of the Logical Logs menu
of DB-Monitor or ON-Monitor to start a transaction log. With other
database servers, use the START DATABASE statement.
請(qǐng)問大家該如何修改數(shù)據(jù)庫, 并不影響原有程序.作者: ivhb 時(shí)間: 2007-09-06 18:25
你要連接的數(shù)據(jù)庫沒有事務(wù),因此會(huì)有這個(gè)錯(cuò)誤。
修改數(shù)據(jù)庫為日志模式。作者: zhangshebao 時(shí)間: 2007-09-06 21:27
ontape -s -U 數(shù)據(jù)庫名作者: 寒鈴 時(shí)間: 2007-09-07 08:51
好的,問題解決了,謝謝了!!!