1 頁 (共 1 頁)

報表查詢後複製到剪貼簿異常問題

文章發表於 : 2026年 6月 2日, 12:17
MP-coral
請問報表查詢後要複製到剪貼簿時出現警示窗

內容為您的應用程式發生未處理的例外狀況。請問如何處理?

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

************** 例外狀況文字 **************
System.OverflowException: 溢位。
於 Microsoft.VisualBasic.Conversion.Val(String InputStr)
於 e.r(String A_0)
於 固定資產管理系統.報表列印_資產設備資料卡.u(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.9139.0 built by: NET481REL1LAST_B
程式碼庫: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
固定資產管理系統
組件版本: 2.5.0.0
Win32 版本: 2.5.0.0
程式碼庫: file:///C:/%E5%9B%BA%E5%AE%9A%E8%B3%87%E7%94%A2%E7%AE%A1%E7%90%86%E7%B3%BB%E7%B5%B1/%E5%9B%BA%E5%AE%9A%E8%B3%87%E7%94%A2%E7%AE%A1%E7%90%86%E7%B3%BB%E7%B5%B1.exe
----------------------------------------
Microsoft.VisualBasic
組件版本: 10.0.0.0
Win32 版本: 14.8.9032.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.9075.0 built by: NET481REL1LAST_C
程式碼庫: 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.9139.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.9032.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.9032.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.Core
組件版本: 4.0.0.0
Win32 版本: 4.8.9139.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.Xml
組件版本: 4.0.0.0
Win32 版本: 4.8.9032.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.9032.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.9032.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.SQLite
組件版本: 1.0.118.0
Win32 版本: 1.0.118.0
程式碼庫: file:///C:/%E5%9B%BA%E5%AE%9A%E8%B3%87%E7%94%A2%E7%AE%A1%E7%90%86%E7%B3%BB%E7%B5%B1/System.Data.SQLite.DLL
----------------------------------------
System.Data
組件版本: 4.0.0.0
Win32 版本: 4.8.9110.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
----------------------------------------
System.Transactions
組件版本: 4.0.0.0
Win32 版本: 4.8.9032.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.9032.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.Windows.Forms.resources
組件版本: 4.0.0.0
Win32 版本: 4.8.9032.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
----------------------------------------
Microsoft.VisualBasic.resources
組件版本: 10.0.0.0
Win32 版本: 14.8.9032.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
----------------------------------------
mscorlib.resources
組件版本: 4.0.0.0
Win32 版本: 4.8.9032.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 偵錯工具進行處
理,而不是使用這個對話方塊來處理。

Re: 報表查詢後複製到剪貼簿異常問題

文章發表於 : 2026年 6月 2日, 12:26
o慕雲o
MP-coral 寫:請問報表查詢後要複製到剪貼簿時出現警示窗

內容為您的應用程式發生未處理的例外狀況。請問如何處理?


您好
我這邊剛剛測試是沒問題的
不知您是否方便將您的資料庫進行備份後
再將該備份檔 E-Mail 到 mymoney568@gmail.com 信箱給我們測試看看呢?

感謝您

Re: 報表查詢後複製到剪貼簿異常問題

文章發表於 : 2026年 6月 2日, 14:41
MP-coral
已發送信件,再麻煩您,謝謝!!

Re: 報表查詢後複製到剪貼簿異常問題

文章發表於 : 2026年 6月 2日, 14:48
o慕雲o
MP-coral 寫:已發送信件,再麻煩您,謝謝!!


您好
好的
我這邊測試完後再告知您狀況
感謝您

註:如果需調整程式的話可能就需一些時間