Windows 7 64-bit 開啟統計報表會出現應用程式錯誤

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

Windows 7 64-bit 開啟統計報表會出現應用程式錯誤

文章kcheart » 2012年 3月 1日, 12:45

開啟統計報表,例如損益表、年度收支統計表等,會出現錯誤,請問雲大,要怎麼解決?
環境:
Windows 7 (64-bit)

您的應用程式發生未處理的例外狀況,如果您按一下[繼續],應用程式會忽略錯誤並嘗試繼續。如果您按一下[結束],則會立即關閉應用程式。

建立表單時會發生錯誤。如需詳細資訊,請參閱
Exception.InnerException。錯誤是: 類別未登錄(發生例外狀況於
HERSULT: 0X80040154 (REGDB_E_CLASSNOTREG))

詳細資料:
如需叫用 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()
於 帳務小管家.統計報表_年度收支統計表.InitializeComponent()
於 帳務小管家.統計報表_年度收支統計表..ctor()
--- 內部例外狀況堆疊追蹤的結尾 ---
於 帳務小管家.My.MyProject.MyForms.Create__Instance__[T](T Instance)
於 帳務小管家.My.MyProject.MyForms.get_統計報表_年度收支統計表()
於 帳務小管家.主畫面_帳務小管家.年度收支統計表_Click(Object sender, EventArgs e)
於 System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
於 System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
於 System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
於 System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
於 System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
於 System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
於 System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
於 System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
於 System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
於 System.Windows.Forms.Control.WndProc(Message& m)
於 System.Windows.Forms.ScrollableControl.WndProc(Message& m)
於 System.Windows.Forms.ToolStrip.WndProc(Message& m)
於 System.Windows.Forms.ToolStripDropDown.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.5448 (Win7SP1GDR.050727-5400)
程式碼基底: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
帳務小管家
組件版本: 5.3.0.0
Win32 版本: 5.3.0.0
程式碼基底: file:///D:/MyMoneyZero5/帳務小管家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.5453 (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.5446 (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.5420 (Win7SP1.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:/MyMoneyZero5/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.5448 (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
----------------------------------------
AxInterop.MSChart20Lib
組件版本: 2.0.0.0
Win32 版本: 2.0.0.0
程式碼基底: file:///D:/MyMoneyZero5/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:/MyMoneyZero5/Interop.MSChart20Lib.DLL
----------------------------------------

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

例如:

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

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

Re: Windows 7 64-bit 開啟統計報表會出現應用程式錯誤

文章o慕雲o » 2012年 3月 1日, 13:02

kcheart 寫:開啟統計報表,例如損益表、年度收支統計表等,會出現錯誤,請問雲大,要怎麼解決?
環境:
Windows 7 (64-bit)

您的應用程式發生未處理的例外狀況,如果您按一下[繼續],應用程式會忽略錯誤並嘗試繼續。如果您按一下[結束],則會立即關閉應用程式。

建立表單時會發生錯誤。如需詳細資訊,請參閱
Exception.InnerException。錯誤是: 類別未登錄(發生例外狀況於
HERSULT: 0X80040154 (REGDB_E_CLASSNOTREG))


您好
相關問題解決方式煩請您參考以下連結
viewtopic.php?f=3&t=983
頭像
o慕雲o
系統管理員
 
文章: 17839
註冊時間: 2011年 8月 13日, 22:05

Re: Windows 7 64-bit 開啟統計報表會出現應用程式錯誤

文章kcheart » 2012年 3月 1日, 13:19

感謝!
kcheart
 
文章: 2
註冊時間: 2012年 3月 1日, 12:17


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

誰在線上

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