同步12月30日資料到手機時出現錯誤

關於 記帳軟體-帳務小管家 Life 軟體的問題發表
建議或問題回報等

同步12月30日資料到手機時出現錯誤

文章nna » 2012年 1月 5日, 23:36

錯誤信息如下:

"應用程式發生未理的例外狀況

SQLite error
near "s":syntax error

如需叫用 Just-In-Time (JIT) 偵錯的詳細資料,
請參閱本訊息結尾處 (而非這個對話方塊) 的資訊。

************** 例外狀況文字 **************
System.Data.SQLite.SQLiteException: SQLite error
near "s": syntax error
於 System.Data.SQLite.SQLite3.Prepare(SQLiteConnection cnn, String strSql, SQLiteStatement previous, UInt32 timeoutMS, String& strRemain)
於 System.Data.SQLite.SQLiteCommand.BuildNextCommand()
於 System.Data.SQLite.SQLiteCommand.GetStatement(Int32 index)
於 System.Data.SQLite.SQLiteDataReader.NextResult()
於 System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave)
於 System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior)
於 System.Data.SQLite.SQLiteCommand.ExecuteNonQuery()
於 帳務小管家.行動裝置_同步電腦帳務記錄到手機.匯出到手機_Click(Object sender, EventArgs e)
於 System.Windows.Forms.Control.OnClick(EventArgs e)
於 System.Windows.Forms.Button.OnClick(EventArgs e)
於 System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
於 System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
於 System.Windows.Forms.Control.WndProc(Message& m)
於 System.Windows.Forms.ButtonBase.WndProc(Message& m)
於 System.Windows.Forms.Button.WndProc(Message& m)
於 System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
於 System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
於 System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** 已載入的組件 **************
mscorlib
組件版本: 2.0.0.0
Win32 版本: 2.0.50727.4963 (win7RTMGDR.050727-4900)
程式碼基底: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
帳務小管家
組件版本: 5.1.0.0
Win32 版本: 5.1.0.0
程式碼基底: file:///C:/Users/Ann/Desktop/MyMoneyZero3d/帳務小管家Zero.exe
----------------------------------------
Microsoft.VisualBasic
組件版本: 8.0.0.0
Win32 版本: 8.0.50727.4927 (NetFXspW7.050727-4900)
程式碼基底: file:///C:/windows/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
System
組件版本: 2.0.0.0
Win32 版本: 2.0.50727.4962 (win7RTMGDR.050727-4900)
程式碼基底: file:///C:/windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Windows.Forms
組件版本: 2.0.0.0
Win32 版本: 2.0.50727.4961 (win7RTMGDR.050727-4900)
程式碼基底: file:///C:/windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
組件版本: 2.0.0.0
Win32 版本: 2.0.50727.4927 (NetFXspW7.050727-4900)
程式碼基底: file:///C:/windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Runtime.Remoting
組件版本: 2.0.0.0
Win32 版本: 2.0.50727.4927 (NetFXspW7.050727-4900)
程式碼基底: file:///C:/windows/assembly/GAC_MSIL/System.Runtime.Remoting/2.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
----------------------------------------
Microsoft.VisualBasic.Compatibility
組件版本: 8.0.0.0
Win32 版本: 8.0.50727.4927
程式碼基底: file:///C:/windows/assembly/GAC_MSIL/Microsoft.VisualBasic.Compatibility/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.Compatibility.dll
----------------------------------------
dao
組件版本: 10.0.4504.0
Win32 版本: 10.0.4504
程式碼基底: file:///C:/Users/Ann/Desktop/MyMoneyZero3d/dao.DLL
----------------------------------------
System.Data
組件版本: 2.0.0.0
Win32 版本: 2.0.50727.4927 (NetFXspW7.050727-4900)
程式碼基底: file:///C:/windows/assembly/GAC_32/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
System.Xml
組件版本: 2.0.0.0
Win32 版本: 2.0.50727.4927 (NetFXspW7.050727-4900)
程式碼基底: file:///C:/windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
mscorlib.resources
組件版本: 2.0.0.0
Win32 版本: 2.0.50727.4963 (win7RTMGDR.050727-4900)
程式碼基底: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
Microsoft.VisualBasic.resources
組件版本: 8.0.0.0
Win32 版本: 8.0.50727.4927 (NetFXspW7.050727-4900)
程式碼基底: file:///C:/windows/assembly/GAC_MSIL/Microsoft.VisualBasic.resources/8.0.0.0_zh-CHT_b03f5f7f11d50a3a/Microsoft.VisualBasic.resources.dll
----------------------------------------
System.Transactions
組件版本: 2.0.0.0
Win32 版本: 2.0.50727.4927 (NetFXspW7.050727-4900)
程式碼基底: file:///C:/windows/assembly/GAC_32/System.Transactions/2.0.0.0__b77a5c561934e089/System.Transactions.dll
----------------------------------------
System.EnterpriseServices
組件版本: 2.0.0.0
Win32 版本: 2.0.50727.4927 (NetFXspW7.050727-4900)
程式碼基底: file:///C:/windows/assembly/GAC_32/System.EnterpriseServices/2.0.0.0__b03f5f7f11d50a3a/System.EnterpriseServices.dll
----------------------------------------
System.Configuration
組件版本: 2.0.0.0
Win32 版本: 2.0.50727.4927 (NetFXspW7.050727-4900)
程式碼基底: file:///C:/windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Windows.Forms.resources
組件版本: 2.0.0.0
Win32 版本: 2.0.50727.4927 (NetFXspW7.050727-4900)
程式碼基底: file:///C:/windows/assembly/GAC_MSIL/System.Windows.Forms.resources/2.0.0.0_zh-CHT_b77a5c561934e089/System.Windows.Forms.resources.dll
----------------------------------------
System.Data.SQLite
組件版本: 1.0.66.0
Win32 版本: 1.0.66.0
程式碼基底: file:///C:/Users/Ann/Desktop/MyMoneyZero3d/System.Data.SQLite.DLL
----------------------------------------
CustomMarshalers
組件版本: 2.0.0.0
Win32 版本: 2.0.50727.4927 (NetFXspW7.050727-4900)
程式碼基底: file:///C:/windows/assembly/GAC_32/CustomMarshalers/2.0.0.0__b03f5f7f11d50a3a/CustomMarshalers.dll
----------------------------------------

************** JIT 偵錯 **************
若要啟用 Just-In-Time (JIT) 偵錯功能,則必須在
此應用程式或電腦的 .config 檔案中,設定
system.windows.forms 區段內的 jitDebugging 值。
且該應用程式也必須在啟用偵錯的狀態下進行
編譯。

例如:

<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

當 JIT 偵錯功能啟用後,會將所有未處理的例外
狀況傳送給電腦上已註冊的 JIT 偵錯工具進行處
理,而不是使用這個對話方塊來處理。"
nna
 
文章: 3
註冊時間: 2011年 8月 30日, 23:06

Re: 同步12月30日資料到手機時出現錯誤

文章o慕雲o » 2012年 1月 6日, 06:34

nna 寫:錯誤信息如下:

"應用程式發生未理的例外狀況

SQLite error
near "s":syntax error

如需叫用 Just-In-Time (JIT) 偵錯的詳細資料,
請參閱本訊息結尾處 (而非這個對話方塊) 的資訊。


您好
可否請您先檢查您的帳務小管家程式目錄內有無 System.Data.SQLite.dll 這個檔案
若有的話可否請您使用 ODBC 連線模式同步試試(在行動裝置下方有 ODBC 連線同步的功能,使用前請您先看一下 ODBC 連線同步說明)
頭像
o慕雲o
系統管理員
 
文章: 17846
註冊時間: 2011年 8月 13日, 22:05

Re: 同步12月30日資料到手機時出現錯誤

文章nna » 2012年 1月 6日, 22:54

不行T^T
nna
 
文章: 3
註冊時間: 2011年 8月 30日, 23:06

Re: 同步12月30日資料到手機時出現錯誤

文章o慕雲o » 2012年 1月 7日, 07:54

nna 寫:不行T^T


您好
請問您的電腦是否有安裝 SQLite 的 ODBC 驅動程式
若沒有的話可否請您先安裝後再使用 ODBC 連線模式同步看看

SQLite 的 ODBC 驅動程式下載
http://myweb.hinet.net/home1/smallkjj1/sqliteodbc.exe

另外請問您的 PC 端能看到手機端的帳本資料嗎?
頭像
o慕雲o
系統管理員
 
文章: 17846
註冊時間: 2011年 8月 13日, 22:05

Re: 同步12月30日資料到手機時出現錯誤

文章nna » 2012年 1月 14日, 23:50

o慕雲o 寫:
nna 寫:不行T^T


您好
請問您的電腦是否有安裝 SQLite 的 ODBC 驅動程式
若沒有的話可否請您先安裝後再使用 ODBC 連線模式同步看看

SQLite 的 ODBC 驅動程式下載
http://myweb.hinet.net/home1/smallkjj1/sqliteodbc.exe

另外請問您的 PC 端能看到手機端的帳本資料嗎?


可以
nna
 
文章: 3
註冊時間: 2011年 8月 30日, 23:06

Re: 同步12月30日資料到手機時出現錯誤

文章o慕雲o » 2012年 1月 15日, 10:36

nna 寫:
o慕雲o 寫:
nna 寫:不行T^T


您好
請問您的電腦是否有安裝 SQLite 的 ODBC 驅動程式
若沒有的話可否請您先安裝後再使用 ODBC 連線模式同步看看

SQLite 的 ODBC 驅動程式下載
http://myweb.hinet.net/home1/smallkjj1/sqliteodbc.exe

另外請問您的 PC 端能看到手機端的帳本資料嗎?


可以


不知您是否方便將您的 PC 端的資料庫與 手機端 的資料庫 Mail 給我們看看嗎?

註:
PC 端的資料庫為程式目錄內的 MyMoneyData.mdb
手機端的資料庫為 SD 卡目錄內的 MyMoneyZero 目錄內的 mymoney.db
頭像
o慕雲o
系統管理員
 
文章: 17846
註冊時間: 2011年 8月 13日, 22:05


回到 【記帳軟體】帳務小管家 Life-軟體討論區

誰在線上

正在瀏覽這個版面的使用者:Bing [Bot], Google [Bot] 和 121 位訪客