共用方式為

.NET Framewrok出問題了:System.Configuration.ConfigurationErrorsException: 組態系統無法初始化

匿名
2015-09-28T08:48:04+00:00

一向在使用的namaroku recorder(用來錄下網上電台的軟件)在某天無法起動並出現以下訊息:

我認為應該是.NET Framework出問題了, 但不知道該如何處理

************** 例外狀況文字**************

System.Configuration.ConfigurationErrorsException: 組態系統無法初始化 ---> System.Configuration.ConfigurationErrorsException: 遺漏根項目。 (D:\namaroku\namaroku.config) ---> System.Xml.XmlException: 遺漏根項目。

   於 System.Xml.XmlTextReaderImpl.Throw(Exception e)

   於 System.Xml.XmlTextReaderImpl.ThrowWithoutLineInfo(String res)

   於 System.Xml.XmlTextReaderImpl.ParseDocumentContent()

   於 System.Xml.XmlTextReaderImpl.Read()

   於 System.Xml.XmlTextReader.Read()

   於 System.Configuration.XmlUtil..ctor(Stream stream, String name, Boolean readToFirstElement, ConfigurationSchemaErrors schemaErrors)

   於 System.Configuration.BaseConfigurationRecord.InitConfigFromFile()

   --- 內部例外狀況堆疊追蹤的結尾 ---

   於 System.Configuration.ConfigurationSchemaErrors.ThrowIfErrors(Boolean ignoreLocal)

   於 System.Configuration.BaseConfigurationRecord.ThrowIfParseErrors(ConfigurationSchemaErrors schemaErrors)

   於 System.Configuration.BaseConfigurationRecord.ThrowIfInitErrors()

   於 System.Configuration.ClientConfigurationSystem.EnsureInit(String configKey)

   --- 內部例外狀況堆疊追蹤的結尾 ---

   於 System.Configuration.ConfigurationManager.PrepareConfigSystem()

   於 System.Configuration.ConfigurationManager.GetSection(String sectionName)

   於 System.Configuration.PrivilegedConfigurationManager.GetSection(String sectionName)

   於 System.Diagnostics.DiagnosticsConfiguration.GetConfigSection()

   於 System.Diagnostics.DiagnosticsConfiguration.Initialize()

   於 System.Diagnostics.DiagnosticsConfiguration.get_IndentSize()

   於 System.Diagnostics.TraceInternal.InitializeSettings()

   於 System.Diagnostics.TraceInternal.WriteLine(String message)

   於 System.Diagnostics.Debug.WriteLine(String message)

   於 namaroku120.Form1.Form1_Load(Object sender, EventArgs e)

   於 System.Windows.Forms.Form.OnLoad(EventArgs e)

   於 System.Windows.Forms.Form.OnCreateControl()

   於 System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)

   於 System.Windows.Forms.Control.CreateControl()

   於 System.Windows.Forms.Control.WmShowWindow(Message& m)

   於 System.Windows.Forms.Control.WndProc(Message& m)

   於 System.Windows.Forms.ScrollableControl.WndProc(Message& m)

   於 System.Windows.Forms.ContainerControl.WndProc(Message& m)

   於 System.Windows.Forms.Form.WmShowWindow(Message& m)

   於 System.Windows.Forms.Form.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.8009 (FX35W81RTMGDR.050727-8000)

    程式碼基底: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll


namaroku

    組件版本: 1.0.4555.36299

    Win32 版本: 

    程式碼基底: file:///D:/namaroku/namaroku.exe


msvcm90

    組件版本: 9.0.30729.8387

    Win32 版本: 9.00.30729.8387

    程式碼基底: file:///C:/windows/WinSxS/x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.8387_none_5094ca96bcb6b2bb/msvcm90.dll


System.Windows.Forms

    組件版本: 2.0.0.0

    Win32 版本: 2.0.50727.8015 (FX35W81RTMGDR.050727-8000)

    程式碼基底: 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.8009 (FX35W81RTMGDR.050727-8000)

    程式碼基底: file:///C:/windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll


System.Drawing

    組件版本: 2.0.0.0

    Win32 版本: 2.0.50727.8016 (FX35W81RTMGDR.050727-8000)

    程式碼基底: file:///C:/windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll


mscorlib.resources

    組件版本: 2.0.0.0

    Win32 版本: 2.0.50727.8009 (FX35W81RTMGDR.050727-8000)

    程式碼基底: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll


System.Windows.Forms.resources

    組件版本: 2.0.0.0

    Win32 版本: 2.0.50727.7905 (win9rel.050727-7900)

    程式碼基底: file:///C:/windows/assembly/GAC_MSIL/System.Windows.Forms.resources/2.0.0.0_zh-CHT_b77a5c561934e089/System.Windows.Forms.resources.dll


System.Configuration

    組件版本: 2.0.0.0

    Win32 版本: 2.0.50727.8007 (FX35W81RTMGDR.050727-8000)

    程式碼基底: 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.8009 (FX35W81RTMGDR.050727-8000)

    程式碼基底: file:///C:/windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll


System.XML.resources

    組件版本: 2.0.0.0

    Win32 版本: 2.0.50727.7905 (win9rel.050727-7900)

    程式碼基底: file:///C:/windows/assembly/GAC_MSIL/System.Xml.resources/2.0.0.0_zh-CHT_b77a5c561934e089/System.Xml.resources.dll


SYSTEM.CONFIGURATION.resources

    組件版本: 2.0.0.0

    Win32 版本: 2.0.50727.7905 (win9rel.050727-7900)

    程式碼基底: file:///C:/windows/assembly/GAC_MSIL/System.Configuration.resources/2.0.0.0_zh-CHT_b03f5f7f11d50a3a/System.Configuration.resources.dll


************** JIT 偵錯 **************

若要啟用 Just-In-Time (JIT) 偵錯功能,則必須在

此應用程式或電腦的 .config 檔案中,設定

system.windows.forms 區段內的 jitDebugging 值。

且該應用程式也必須在啟用偵錯的狀態下進行

編譯。

例如:

<configuration>

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

</configuration>

當 JIT 偵錯功能啟用後,會將所有未處理的例外

狀況傳送給電腦上已註冊的 JIT 偵錯工具進行處

理,而不是使用這個對話方塊來處理。

感謝各位幫忙!

Windows for home | 舊版 Windows 版本 | 效能與系統故障

鎖定的問題。 此問題已從 Microsoft 支援服務社群移轉。 您可以對其是否有幫助進行投票,但無法對問題新增註解或回覆,或進行追蹤。

0 則留言 沒有留言

1 個回答

排序依據: 最實用
  1. 匿名
    2015-09-28T14:50:18+00:00

    System.Configuration.ConfigurationErrorsException: 遺漏根項目。 (D:\namaroku\namaroku.config) --->

    錯誤訊息說缺這個檔

    請檢查

    還有問題請洽詢該軟體公司

    此回答有幫助嗎?

    0 則留言 沒有留言