統計報表出現如下 請教如何處理

關於 廟管家-宮廟管理系統 軟體的問題發表
建議或問題回報等

統計報表出現如下 請教如何處理

文章yz234 » 2016年 5月 24日, 02:16

如需叫用 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()
於 c7.a()
於 c7..ctor()
--- 內部例外狀況堆疊追蹤的結尾 ---
於 ay.a.Create__Instance__[T](T Instance)
於 ay.a.u()
於 b4.ae(Object A_0, EventArgs A_1)
於 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.8670 (QFE.050727-8600)
程式碼基底: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
廟管家_宮廟管理系統
組件版本: 5.3.0.0
Win32 版本: 5.3.0.0
程式碼基底: file:///C:/Users/yz095/OneDrive/常用資料/18號收支軟體/宮廟管理系統.exe
----------------------------------------
Microsoft.VisualBasic
組件版本: 8.0.0.0
Win32 版本: 8.0.50727.8670 (QFE.050727-8600)
程式碼基底: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
System.Windows.Forms
組件版本: 2.0.0.0
Win32 版本: 2.0.50727.8670 (QFE.050727-8600)
程式碼基底: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
組件版本: 2.0.0.0
Win32 版本: 2.0.50727.8670 (QFE.050727-8600)
程式碼基底: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
組件版本: 2.0.0.0
Win32 版本: 2.0.50727.8670 (QFE.050727-8600)
程式碼基底: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
Accessibility
組件版本: 2.0.0.0
Win32 版本: 2.0.50727.8670 (QFE.050727-8600)
程式碼基底: file:///C:/WINDOWS/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
System.Runtime.Remoting
組件版本: 2.0.0.0
Win32 版本: 2.0.50727.8670 (QFE.050727-8600)
程式碼基底: 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.8670
程式碼基底: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.VisualBasic.Compatibility/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.Compatibility.dll
----------------------------------------
System.Data
組件版本: 2.0.0.0
Win32 版本: 2.0.50727.8670 (QFE.050727-8600)
程式碼基底: file:///C:/WINDOWS/assembly/GAC_32/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
System.Transactions
組件版本: 2.0.0.0
Win32 版本: 2.0.50727.8670 (QFE.050727-8600)
程式碼基底: 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.8670 (QFE.050727-8600)
程式碼基底: 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.8670 (QFE.050727-8600)
程式碼基底: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
組件版本: 2.0.0.0
Win32 版本: 2.0.50727.8670 (QFE.050727-8600)
程式碼基底: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Microsoft.JScript
組件版本: 8.0.0.0
Win32 版本: 8.0.50727.8670
程式碼基底: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.JScript/8.0.0.0__b03f5f7f11d50a3a/Microsoft.JScript.dll
----------------------------------------
Microsoft.VisualBasic.resources
組件版本: 8.0.0.0
Win32 版本: 8.0.50727.8670 (QFE.050727-8600)
程式碼基底: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.VisualBasic.resources/8.0.0.0_zh-CHT_b03f5f7f11d50a3a/Microsoft.VisualBasic.resources.dll
----------------------------------------
mscorlib.resources
組件版本: 2.0.0.0
Win32 版本: 2.0.50727.8670 (QFE.050727-8600)
程式碼基底: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
System.Windows.Forms.resources
組件版本: 2.0.0.0
Win32 版本: 2.0.50727.8670 (QFE.050727-8600)
程式碼基底: 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:///C:/Users/yz095/OneDrive/常用資料/18號收支軟體/AxInterop.MSChart20Lib.DLL
----------------------------------------
MSDATASRC
組件版本: 7.0.3300.0
Win32 版本: 7.00.9466
程式碼基底: file:///C:/Users/yz095/OneDrive/常用資料/18號收支軟體/MSDATASRC.DLL
----------------------------------------
Interop.MSChart20Lib
組件版本: 2.0.0.0
Win32 版本: 2.0.0.0
程式碼基底: file:///C:/Users/yz095/OneDrive/常用資料/18號收支軟體/Interop.MSChart20Lib.DLL
----------------------------------------

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

例如:

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

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

Re: 統計報表出現如下 請教如何處理

文章o慕雲o » 2016年 5月 24日, 03:28

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

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


您好
會發生此錯誤訊息是因為系統有使用到一些圖表元件,但因執行系統時沒有管理員權限導至系統無法正確的註冊該元件而造成該錯誤
所以您只要於執行本軟體時使用 [以管理員身份執行] 本軟體即可解決此問題(在 帳務小管家 圖示上方按下 [滑鼠右鍵] 即有 [以管理員身份執行選項])

PS:此動作只需執行一次即可(使用 [以管理員身份執行]),下次執行時則不需此動作
頭像
o慕雲o
系統管理員
 
文章: 17812
註冊時間: 2011年 8月 13日, 22:05

Re: 統計報表出現如下 請教如何處理

文章yz234 » 2016年 5月 24日, 04:58

非常感謝 問題已經解決
yz234
 
文章: 47
註冊時間: 2011年 8月 30日, 18:18

Re: 統計報表出現如下 請教如何處理

文章o慕雲o » 2016年 5月 24日, 05:00

yz234 寫:非常感謝 問題已經解決


以後會對圖表元件作一些調整
調整後就不用作這個動作了 8-)
頭像
o慕雲o
系統管理員
 
文章: 17812
註冊時間: 2011年 8月 13日, 22:05


回到 【宮廟軟體】廟管家-宮廟管理系統.NET-軟體討論區

誰在線上

正在瀏覽這個版面的使用者:沒有註冊會員 和 13 位訪客

cron