
- 新增另一個帳號出現的視窗
- 11.PNG (117.84 KiB) 被瀏覽 4102 次
前前後後試了幾百次都無法正常使用 想新增人員也無法新增
我把錯誤內容copy如下 希望對解決這類的問題有幫助
**********************************************************************************************************************************************************內容分隔線
如需叫用 Just-In-Time (JIT) 偵錯的詳細資料,
請參閱本訊息結尾處 (而非這個對話方塊) 的資訊。
************** 例外狀況文字 **************
System.InvalidOperationException: ExecuteReader 必須有開啟與可用的連接。連接目前的狀態已關閉。
於 System.Data.OleDb.OleDbConnection.CheckStateOpen(String method)
於 System.Data.OleDb.OleDbCommand.ValidateConnection(String method)
於 System.Data.OleDb.OleDbCommand.ValidateConnectionAndTransaction(String method)
於 System.Data.OleDb.OleDbCommand.ExecuteReaderInternal(CommandBehavior behavior, String method)
於 System.Data.OleDb.OleDbCommand.ExecuteReader(CommandBehavior behavior)
於 System.Data.OleDb.OleDbCommand.ExecuteReader()
於 cg.a(String A_0)
於 cg.e(Object A_0, EventArgs A_1)
於 System.Windows.Forms.Form.OnLoad(EventArgs e)
於 System.Windows.Forms.Form.SetVisibleCore(Boolean value)
於 System.Windows.Forms.Control.set_Visible(Boolean value)
於 System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
於 System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
於 System.Windows.Forms.Application.RunDialog(Form form)
於 System.Windows.Forms.Form.ShowDialog(IWin32Window owner)
於 System.Windows.Forms.Form.ShowDialog()
於 a9.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
組件版本: 2.0.0.0
Win32 版本: 2.0.50727.8825 (WinRelRS3.050727-8800)
程式碼基底: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
帳務小管家
組件版本: 11.2.0.0
Win32 版本: 11.2.0.0
程式碼基底: file:///C:/帳務小管家ZERO/帳務小管家Zero.exe
----------------------------------------
Microsoft.VisualBasic
組件版本: 8.0.0.0
Win32 版本: 8.0.50727.8825 (WinRelRS3.050727-8800)
程式碼基底: 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.8825 (WinRelRS3.050727-8800)
程式碼基底: 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.8825 (WinRelRS3.050727-8800)
程式碼基底: 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.8825 (WinRelRS3.050727-8800)
程式碼基底: 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.8825 (WinRelRS3.050727-8800)
程式碼基底: 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.8825
程式碼基底: 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:/帳務小管家ZERO/dao.DLL
----------------------------------------
System.Data
組件版本: 2.0.0.0
Win32 版本: 2.0.50727.8825 (WinRelRS3.050727-8800)
程式碼基底: 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.8827 (WinRelRS3.050727-8800)
程式碼基底: 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.8825 (WinRelRS3.050727-8800)
程式碼基底: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
Microsoft.VisualBasic.resources
組件版本: 8.0.0.0
Win32 版本: 8.0.50727.8825 (WinRelRS3.050727-8800)
程式碼基底: 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.8825 (WinRelRS3.050727-8800)
程式碼基底: file:///C:/WINDOWS/assembly/GAC_32/System.Transactions/2.0.0.0__b77a5c561934e089/System.Transactions.dll
----------------------------------------
Accessibility
組件版本: 2.0.0.0
Win32 版本: 2.0.50727.8825 (WinRelRS3.050727-8800)
程式碼基底: file:///C:/WINDOWS/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
System.Data.resources
組件版本: 2.0.0.0
Win32 版本: 2.0.50727.8825 (WinRelRS3.050727-8800)
程式碼基底: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Data.resources/2.0.0.0_zh-CHT_b77a5c561934e089/System.Data.resources.dll
----------------------------------------
System.Windows.Forms.resources
組件版本: 2.0.0.0
Win32 版本: 2.0.50727.8825 (WinRelRS3.050727-8800)
程式碼基底: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms.resources/2.0.0.0_zh-CHT_b77a5c561934e089/System.Windows.Forms.resources.dll
----------------------------------------
************** JIT 偵錯 **************
若要啟用 Just-In-Time (JIT) 偵錯功能,則必須在
此應用程式或電腦的 .config 檔案中,設定
system.windows.forms 區段內的 jitDebugging 值。
且該應用程式也必須在啟用偵錯的狀態下進行
編譯。
例如:
<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>
當 JIT 偵錯功能啟用後,會將所有未處理的例外
狀況傳送給電腦上已註冊的 JIT 偵錯工具進行處
理,而不是使用這個對話方塊來處理。
****************************************************************************************************************************************************內容分隔線
另外因為每篇文章最多只能有5個附加檔案 所以只號多po幾篇 請見諒
並期待慕雲大能幫忙解決問題
以上 無限感恩