1 頁 (共 1 頁)

出現錯誤

文章發表於 : 2013年 3月 19日, 19:42
張家華
使用股票管理功能時,點入即出現以下的錯誤訊息,請協助處理,謝謝!

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

************** 例外狀況文字 **************
System.InvalidOperationException: 建立表單時發生錯誤。如需詳細資訊,請參閱 Exception.InnerException。錯誤是: 類別未登錄 (發生例外狀況於 HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)) ---> System.Runtime.InteropServices.COMException (0x80040154): 類別未登錄 (發生例外狀況於 HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))
於 System.Windows.Forms.UnsafeNativeMethods.CoCreateInstance(Guid& clsid, Object punkOuter, Int32 context, Guid& iid)
於 System.Windows.Forms.AxHost.CreateWithoutLicense(Guid clsid)
於 System.Windows.Forms.AxHost.CreateWithLicense(String license, Guid clsid)
於 System.Windows.Forms.AxHost.CreateInstanceCore(Guid clsid)
於 System.Windows.Forms.AxHost.CreateInstance()
於 System.Windows.Forms.AxHost.GetOcxCreate()
於 System.Windows.Forms.AxHost.TransitionUpTo(Int32 state)
於 System.Windows.Forms.AxHost.CreateHandle()
於 System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
於 System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
於 System.Windows.Forms.AxHost.EndInit()
於 cj.a()
於 cj..ctor()
--- 內部例外狀況堆疊追蹤的結尾 ---
於 bk.b.Create__Instance__[T](T Instance)
於 bk.b.u()
於 ce.a(Object A_0, ToolBarButtonClickEventArgs A_1)
於 System.Windows.Forms.ToolBar.OnButtonClick(ToolBarButtonClickEventArgs e)
於 System.Windows.Forms.ToolBar.WmReflectCommand(Message& m)
於 System.Windows.Forms.ToolBar.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.5466 (Win7SP1GDR.050727-5400)
程式碼基底: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
帳務小管家
組件版本: 6.3.0.0
Win32 版本: 6.3.0.0
程式碼基底: file:///D:/家庭記帳/帳務小管家Zero.exe
----------------------------------------
Microsoft.VisualBasic
組件版本: 8.0.0.0
Win32 版本: 8.0.50727.5420 (Win7SP1.050727-5400)
程式碼基底: 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.5467 (Win7SP1GDR.050727-5400)
程式碼基底: 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.5468 (Win7SP1GDR.050727-5400)
程式碼基底: 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.5467 (Win7SP1GDR.050727-5400)
程式碼基底: 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.5420 (Win7SP1.050727-5400)
程式碼基底: 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.5420
程式碼基底: 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:///D:/家庭記帳/dao.DLL
----------------------------------------
System.Data
組件版本: 2.0.0.0
Win32 版本: 2.0.50727.5420 (Win7SP1.050727-5400)
程式碼基底: 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.5420 (Win7SP1.050727-5400)
程式碼基底: 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.5466 (Win7SP1GDR.050727-5400)
程式碼基底: 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.5420 (Win7SP1.050727-5400)
程式碼基底: 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.5420 (Win7SP1.050727-5400)
程式碼基底: 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.5420 (Win7SP1.050727-5400)
程式碼基底: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms.resources/2.0.0.0_zh-CHT_b77a5c561934e089/System.Windows.Forms.resources.dll
----------------------------------------
Interop.MSScriptControl
組件版本: 1.0.0.0
Win32 版本: 1.0.0.0
程式碼基底: file:///D:/家庭記帳/Interop.MSScriptControl.DLL
----------------------------------------
AxInterop.MSChart20Lib
組件版本: 2.0.0.0
Win32 版本: 2.0.0.0
程式碼基底: file:///D:/家庭記帳/AxInterop.MSChart20Lib.DLL
----------------------------------------
MSDATASRC
組件版本: 7.0.3300.0
Win32 版本: 7.00.9466
程式碼基底: file:///C:/Windows/assembly/GAC/MSDATASRC/7.0.3300.0__b03f5f7f11d50a3a/MSDATASRC.dll
----------------------------------------
Interop.MSChart20Lib
組件版本: 2.0.0.0
Win32 版本: 2.0.0.0
程式碼基底: file:///D:/家庭記帳/Interop.MSChart20Lib.DLL
----------------------------------------

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

例如:

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

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

Re: 出現錯誤

文章發表於 : 2013年 3月 19日, 19:51
o慕雲o
張家華 寫:使用股票管理功能時,點入即出現以下的錯誤訊息,請協助處理,謝謝!

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

************** 例外狀況文字 **************
System.InvalidOperationException: 建立表單時發生錯誤。如需詳細資訊,請參閱 Exception.InnerException。錯誤是: 類別未登錄 (發生例外狀況於 HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)) --->


您好
關於此問題的解決方式煩請您參考以下連結說明
viewtopic.php?f=3&t=983

感謝您

Re: 出現錯誤

文章發表於 : 2013年 3月 19日, 20:37
張家華
OK了,非常感謝