同步到雲端出現錯誤

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

同步到雲端出現錯誤

文章sky1024 » 2023年 10月 14日, 04:11

選擇「同步所有紀錄到雲端網站」時,出現錯誤
詳細內容如下,請問可以如何排除呢?

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

************** 例外狀況文字 **************
System.InvalidCastException: 從類型 'DBNull' 至類型 'String' 的轉換是無效的。
於 Microsoft.VisualBasic.CompilerServices.Conversions.ToString(Object Value)
於 帳務小管家Life.網路記帳_同步所有帳務記錄到網站.c(Object A_0, EventArgs A_1)
於 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
組件版本: 4.0.0.0
Win32 版本: 4.8.9195.0 built by: NET481REL1LAST_B
程式碼庫: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
帳務小管家Life
組件版本: 20.23.0.1
Win32 版本: 20.23.0.1
程式碼庫: file:///E:/portable_programs/%E5%B8%B3%E5%8B%99%E5%B0%8F%E7%AE%A1%E5%AE%B6Life2023/%E5%B8%B3%E5%8B%99%E5%B0%8F%E7%AE%A1%E5%AE%B6Life.exe
----------------------------------------
Microsoft.VisualBasic
組件版本: 10.0.0.0
Win32 版本: 14.8.9037.0 built by: NET481REL1
程式碼庫: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualBasic/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
System.Windows.Forms
組件版本: 4.0.0.0
Win32 版本: 4.8.9195.0 built by: NET481REL1LAST_B
程式碼庫: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
組件版本: 4.0.0.0
Win32 版本: 4.8.9195.0 built by: NET481REL1LAST_B
程式碼庫: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
組件版本: 4.0.0.0
Win32 版本: 4.8.9037.0 built by: NET481REL1
程式碼庫: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Configuration
組件版本: 4.0.0.0
Win32 版本: 4.8.9037.0 built by: NET481REL1
程式碼庫: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
組件版本: 4.0.0.0
Win32 版本: 4.8.9037.0 built by: NET481REL1
程式碼庫: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Accessibility
組件版本: 4.0.0.0
Win32 版本: 4.8.9037.0 built by: NET481REL1
程式碼庫: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
System.Runtime.Remoting
組件版本: 4.0.0.0
Win32 版本: 4.8.9037.0 built by: NET481REL1
程式碼庫: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Remoting/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
----------------------------------------
System.Data
組件版本: 4.0.0.0
Win32 版本: 4.8.9195.0 built by: NET481REL1LAST_B
程式碼庫: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
Microsoft.VisualBasic.resources
組件版本: 10.0.0.0
Win32 版本: 14.8.4084.0 built by: NET48REL1
程式碼庫: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualBasic.resources/v4.0_10.0.0.0_zh-Hant_b03f5f7f11d50a3a/Microsoft.VisualBasic.resources.dll
----------------------------------------
System.Data.resources
組件版本: 4.0.0.0
Win32 版本: 4.8.4084.0 built by: NET48REL1
程式碼庫: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Data.resources/v4.0_4.0.0.0_zh-Hant_b77a5c561934e089/System.Data.resources.dll
----------------------------------------
System.Transactions
組件版本: 4.0.0.0
Win32 版本: 4.8.9037.0 built by: NET481REL1
程式碼庫: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/System.Transactions/v4.0_4.0.0.0__b77a5c561934e089/System.Transactions.dll
----------------------------------------
System.EnterpriseServices
組件版本: 4.0.0.0
Win32 版本: 4.8.9037.0 built by: NET481REL1
程式碼庫: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/System.EnterpriseServices/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.EnterpriseServices.dll
----------------------------------------
System.Core
組件版本: 4.0.0.0
Win32 版本: 4.8.9195.0 built by: NET481REL1LAST_B
程式碼庫: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Windows.Forms.resources
組件版本: 4.0.0.0
Win32 版本: 4.8.4084.0 built by: NET48REL1
程式碼庫: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms.resources/v4.0_4.0.0.0_zh-Hant_b77a5c561934e089/System.Windows.Forms.resources.dll
----------------------------------------
mscorlib.resources
組件版本: 4.0.0.0
Win32 版本: 4.8.4084.0 built by: NET48REL1
程式碼庫: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/mscorlib.resources/v4.0_4.0.0.0_zh-Hant_b77a5c561934e089/mscorlib.resources.dll
----------------------------------------
System.Windows.Forms.DataVisualization
組件版本: 4.0.0.0
Win32 版本: 4.8.9037.0
程式碼庫: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms.DataVisualization/v4.0_4.0.0.0__31bf3856ad364e35/System.Windows.Forms.DataVisualization.dll
----------------------------------------
Interop.MSScriptControl
組件版本: 1.0.0.0
Win32 版本: 1.0.0.0
程式碼庫: file:///E:/portable_programs/%E5%B8%B3%E5%8B%99%E5%B0%8F%E7%AE%A1%E5%AE%B6Life2023/Interop.MSScriptControl.DLL
----------------------------------------

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

例如:

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

當 JIT 偵錯功能啟用後,會將所有未處理的例外狀況
傳送給電腦上已註冊的 JIT 偵錯工具進行處
理,而不是使用這個對話方塊來處理。



sky1024
 
文章: 4
註冊時間: 2023年 10月 14日, 04:07

Re: 同步到雲端出現錯誤

文章o慕雲o » 2023年 10月 14日, 08:52

sky1024 寫:選擇「同步所有紀錄到雲端網站」時,出現錯誤
詳細內容如下,請問可以如何排除呢?

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

************** 例外狀況文字 **************
System.InvalidCastException: 從類型 'DBNull' 至類型 'String' 的轉換是無效的。



您好
請問您目前所使用的 帳務小管家 是否為最新的版本呢?
頭像
o慕雲o
系統管理員
 
文章: 17839
註冊時間: 2011年 8月 13日, 22:05

Re: 同步到雲端出現錯誤

文章sky1024 » 2023年 10月 16日, 02:43

目前版本是20.23.0.1
應該不是最新的
Image-20231016-1.png
Image-20231016-1.png (16.06 KiB) 被瀏覽 6233 次
sky1024
 
文章: 4
註冊時間: 2023年 10月 14日, 04:07

Re: 同步到雲端出現錯誤

文章o慕雲o » 2023年 10月 16日, 07:26

sky1024 寫:目前版本是20.23.0.1
應該不是最新的
Image-20231016-1.png


您好
可否請您將您的 帳務小管家 版本更新到最新版後再使用試試
viewtopic.php?f=3&t=14566
頭像
o慕雲o
系統管理員
 
文章: 17839
註冊時間: 2011年 8月 13日, 22:05

Re: 同步到雲端出現錯誤

文章sky1024 » 2023年 10月 21日, 21:35

更新為最新版之後,依舊出現相同錯誤
Image-20231021-1.png
軟體版本
Image-20231021-1.png (17.25 KiB) 被瀏覽 6215 次


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

************** 例外狀況文字 **************
System.InvalidCastException: 從類型 'DBNull' 至類型 'String' 的轉換是無效的。
於 Microsoft.VisualBasic.CompilerServices.Conversions.ToString(Object Value)
於 帳務小管家Life.網路記帳_同步所有帳務記錄到網站.c(Object A_0, EventArgs A_1)
於 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
組件版本: 4.0.0.0
Win32 版本: 4.8.9195.0 built by: NET481REL1LAST_B
程式碼庫: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
帳務小管家Life
組件版本: 20.23.0.8
Win32 版本: 20.23.0.8
程式碼庫: file:///E:/portable_programs/%E5%B8%B3%E5%8B%99%E5%B0%8F%E7%AE%A1%E5%AE%B6Life2023/%E5%B8%B3%E5%8B%99%E5%B0%8F%E7%AE%A1%E5%AE%B6Life.exe
----------------------------------------
Microsoft.VisualBasic
組件版本: 10.0.0.0
Win32 版本: 14.8.9037.0 built by: NET481REL1
程式碼庫: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualBasic/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
System.Windows.Forms
組件版本: 4.0.0.0
Win32 版本: 4.8.9195.0 built by: NET481REL1LAST_B
程式碼庫: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
組件版本: 4.0.0.0
Win32 版本: 4.8.9195.0 built by: NET481REL1LAST_B
程式碼庫: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
組件版本: 4.0.0.0
Win32 版本: 4.8.9037.0 built by: NET481REL1
程式碼庫: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Configuration
組件版本: 4.0.0.0
Win32 版本: 4.8.9037.0 built by: NET481REL1
程式碼庫: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
組件版本: 4.0.0.0
Win32 版本: 4.8.9037.0 built by: NET481REL1
程式碼庫: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Accessibility
組件版本: 4.0.0.0
Win32 版本: 4.8.9037.0 built by: NET481REL1
程式碼庫: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
System.Runtime.Remoting
組件版本: 4.0.0.0
Win32 版本: 4.8.9037.0 built by: NET481REL1
程式碼庫: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Remoting/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
----------------------------------------
System.Data
組件版本: 4.0.0.0
Win32 版本: 4.8.9195.0 built by: NET481REL1LAST_B
程式碼庫: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
Microsoft.VisualBasic.resources
組件版本: 10.0.0.0
Win32 版本: 14.8.9037.0 built by: NET481REL1
程式碼庫: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualBasic.resources/v4.0_10.0.0.0_zh-Hant_b03f5f7f11d50a3a/Microsoft.VisualBasic.resources.dll
----------------------------------------
System.Data.resources
組件版本: 4.0.0.0
Win32 版本: 4.8.9037.0 built by: NET481REL1
程式碼庫: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Data.resources/v4.0_4.0.0.0_zh-Hant_b77a5c561934e089/System.Data.resources.dll
----------------------------------------
System.Transactions
組件版本: 4.0.0.0
Win32 版本: 4.8.9037.0 built by: NET481REL1
程式碼庫: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/System.Transactions/v4.0_4.0.0.0__b77a5c561934e089/System.Transactions.dll
----------------------------------------
System.EnterpriseServices
組件版本: 4.0.0.0
Win32 版本: 4.8.9037.0 built by: NET481REL1
程式碼庫: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/System.EnterpriseServices/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.EnterpriseServices.dll
----------------------------------------
System.Core
組件版本: 4.0.0.0
Win32 版本: 4.8.9195.0 built by: NET481REL1LAST_B
程式碼庫: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Windows.Forms.resources
組件版本: 4.0.0.0
Win32 版本: 4.8.9037.0 built by: NET481REL1
程式碼庫: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms.resources/v4.0_4.0.0.0_zh-Hant_b77a5c561934e089/System.Windows.Forms.resources.dll
----------------------------------------
mscorlib.resources
組件版本: 4.0.0.0
Win32 版本: 4.8.9037.0 built by: NET481REL1
程式碼庫: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/mscorlib.resources/v4.0_4.0.0.0_zh-Hant_b77a5c561934e089/mscorlib.resources.dll
----------------------------------------

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

例如:

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

當 JIT 偵錯功能啟用後,會將所有未處理的例外狀況
傳送給電腦上已註冊的 JIT 偵錯工具進行處
理,而不是使用這個對話方塊來處理。


sky1024
 
文章: 4
註冊時間: 2023年 10月 14日, 04:07

Re: 同步到雲端出現錯誤

文章o慕雲o » 2023年 10月 21日, 21:53

sky1024 寫:更新為最新版之後,依舊出現相同錯誤
[/quote]

您好
可否請您先使用一次 [功能表] -> [帳務資料] -> [匯出帳務資料] 先將您原有帳本資料先進行匯入
然後再新增一本新的帳本後再用 [功能表] -> [帳務資料] -> [匯入帳務資料] 將您原本匯出的資料匯入於新帳本中
之後您再用 [新帳本] 進行雲端的同步動作試試(請注意新帳本需另外設定雲端帳號密碼資料)
頭像
o慕雲o
系統管理員
 
文章: 17839
註冊時間: 2011年 8月 13日, 22:05

Re: 同步到雲端出現錯誤

文章sky1024 » 2023年 10月 22日, 01:35

可以同步了,謝謝你的幫忙!

o慕雲o 寫:
您好
可否請您先使用一次 [功能表] -> [帳務資料] -> [匯出帳務資料] 先將您原有帳本資料先進行匯入
然後再新增一本新的帳本後再用 [功能表] -> [帳務資料] -> [匯入帳務資料] 將您原本匯出的資料匯入於新帳本中
之後您再用 [新帳本] 進行雲端的同步動作試試(請注意新帳本需另外設定雲端帳號密碼資料)
sky1024
 
文章: 4
註冊時間: 2023年 10月 14日, 04:07

Re: 同步到雲端出現錯誤

文章o慕雲o » 2023年 10月 22日, 08:22

sky1024 寫:可以同步了,謝謝你的幫忙!


不客氣 :wink:
頭像
o慕雲o
系統管理員
 
文章: 17839
註冊時間: 2011年 8月 13日, 22:05


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

誰在線上

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