安裝SQL Server   跳出錯誤訊息

 

解決方法

C:\Users\user\AppData\Local\Microsoft_Corporation

底下刪除
LandingPage.exe_StrongName_ryspccglaxmt4nhllj5z3thycltsvyyx

資料夾

 

 

 

錯誤訊息

建立 userSettings/Microsoft.SqlServer.Configuration.LandingPage.Properties.Settings 的組態區段處理常式時發生錯誤: 無法載入檔案或組件 'System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' 或其相依性的其中之一。 系統找不到指定的檔案。 (C:\Users\user\AppData\Local\Microsoft_Corporation\LandingPage.exe_StrongName_ryspccglaxmt4nhllj5z3thycltsvyyx\11.0.0.0\user.config line 5) ---> System.IO.FileNotFoundException: 無法載入檔案或組件 'System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' 或其相依性的其中之一。 系統找不到指定的檔案。

 

 

 

 

 

 

詳細錯誤訊息

 

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

************** 例外狀況文字 **************
System.Configuration.ConfigurationErrorsException: 建立 userSettings/Microsoft.SqlServer.Configuration.LandingPage.Properties.Settings 的組態區段處理常式時發生錯誤: 無法載入檔案或組件 'System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' 或其相依性的其中之一。 系統找不到指定的檔案。 (C:\Users\user\AppData\Local\Microsoft_Corporation\LandingPage.exe_StrongName_ryspccglaxmt4nhllj5z3thycltsvyyx\11.0.0.0\user.config line 5) ---> System.IO.FileNotFoundException: 無法載入檔案或組件 'System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' 或其相依性的其中之一。 系統找不到指定的檔案。
檔案名稱: 'System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'
   於 System.Configuration.TypeUtil.GetTypeWithReflectionPermission(IInternalConfigHost host, String typeString, Boolean throwOnError)
   於 System.Configuration.RuntimeConfigurationRecord.RuntimeConfigurationFactory.Init(RuntimeConfigurationRecord configRecord, FactoryRecord factoryRecord)
   於 System.Configuration.RuntimeConfigurationRecord.RuntimeConfigurationFactory.InitWithRestrictedPermissions(RuntimeConfigurationRecord configRecord, FactoryRecord factoryRecord)
   於 System.Configuration.RuntimeConfigurationRecord.CreateSectionFactory(FactoryRecord factoryRecord)
   於 System.Configuration.BaseConfigurationRecord.FindAndEnsureFactoryRecord(String configKey, Boolean& isRootDeclaredHere)

警告: 組件繫結記錄切換為 OFF。
若要記錄組件繫結失敗,請將登錄值 [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) 設為 1。
注意: 與組件繫結失敗記錄相關的效能會有部分負面影響。
若要關閉此功能,請移除登錄值 [HKLM\Software\Microsoft\Fusion!EnableLog]。

   --- 內部例外狀況堆疊追蹤的結尾 ---
   於 System.Configuration.BaseConfigurationRecord.FindAndEnsureFactoryRecord(String configKey, Boolean& isRootDeclaredHere)
   於 System.Configuration.BaseConfigurationRecord.GetSectionRecursive(String configKey, Boolean getLkg, Boolean checkPermission, Boolean getRuntimeObject, Boolean requestIsHere, Object& result, Object& resultRuntimeObject)
   於 System.Configuration.BaseConfigurationRecord.GetSection(String configKey)
   於 System.Configuration.ClientConfigurationSystem.System.Configuration.Internal.IInternalConfigSystem.GetSection(String sectionName)
   於 System.Configuration.ConfigurationManager.GetSection(String sectionName)
   於 System.Configuration.ClientSettingsStore.ReadSettings(String sectionName, Boolean isUserScoped)
   於 System.Configuration.LocalFileSettingsProvider.GetPropertyValues(SettingsContext context, SettingsPropertyCollection properties)
   於 System.Configuration.SettingsBase.GetPropertiesFromProvider(SettingsProvider provider)
   於 System.Configuration.SettingsBase.SetPropertyValueByName(String propertyName, Object propertyValue)
   於 System.Configuration.SettingsBase.set_Item(String propertyName, Object value)
   於 System.Configuration.ApplicationSettingsBase.set_Item(String propertyName, Object value)
   於 Microsoft.SqlServer.Configuration.LandingPage.LandingPageForm.OnClosing(CancelEventArgs e)
   於 System.Windows.Forms.Form.WmClose(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.9151 (WinRelRS6.050727-9100)
    程式碼基底: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll
----------------------------------------
mscorlib.resources
    組件版本: 2.0.0.0
    Win32 版本: 2.0.50727.9151 (WinRelRS6.050727-9100)
    程式碼基底: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll
----------------------------------------
LandingPage
    組件版本: 11.0.0.0
    Win32 版本: 11.0.2100.60 ((SQL11_RTM).120210-1917 )
    程式碼基底: file:///c:/5eb564c1e0c1bc523179083c24b0ee/x64/LandingPage.exe
----------------------------------------
System.Windows.Forms
    組件版本: 2.0.0.0
    Win32 版本: 2.0.50727.9149 (WinRelRS6.050727-9100)
    程式碼基底: 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.9149 (WinRelRS6.050727-9100)
    程式碼基底: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
    組件版本: 2.0.0.0
    Win32 版本: 2.0.50727.9149 (WinRelRS6.050727-9100)
    程式碼基底: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
Microsoft.SqlServer.Configuration.Sco
    組件版本: 11.0.0.0
    Win32 版本: 11.0.2100.60 ((SQL11_RTM).120210-1917 )
    程式碼基底: file:///c:/5eb564c1e0c1bc523179083c24b0ee/x64/Microsoft.SqlServer.Configuration.Sco.DLL
----------------------------------------
LandingPage.resources
    組件版本: 11.0.0.0
    Win32 版本: 11.0.2100.60 ((SQL11_RTM).120210-1917 )
    程式碼基底: file:///c:/5eb564c1e0c1bc523179083c24b0ee/x64/zh-CHT/LandingPage.resources.DLL
----------------------------------------
Microsoft.SqlServer.Chainer.Infrastructure
    組件版本: 11.0.0.0
    Win32 版本: 11.0.2100.60 ((SQL11_RTM).120210-1917 )
    程式碼基底: file:///c:/5eb564c1e0c1bc523179083c24b0ee/x64/Microsoft.SqlServer.Chainer.Infrastructure.DLL
----------------------------------------
Microsoft.SqlServer.Deployment
    組件版本: 11.0.0.0
    Win32 版本: 11.0.2100.60 ((SQL11_RTM).120210-1917 )
    程式碼基底: file:///c:/5eb564c1e0c1bc523179083c24b0ee/x64/Microsoft.SqlServer.Deployment.DLL
----------------------------------------
System.Xml
    組件版本: 2.0.0.0
    Win32 版本: 2.0.50727.9149 (WinRelRS6.050727-9100)
    程式碼基底: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Accessibility
    組件版本: 2.0.0.0
    Win32 版本: 2.0.50727.9149 (WinRelRS6.050727-9100)
    程式碼基底: file:///C:/WINDOWS/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
Microsoft.SqlServer.Management.Controls
    組件版本: 11.0.0.0
    Win32 版本: 11.0.2100.60 ((SQL11_RTM).120210-1917 )
    程式碼基底: file:///c:/5eb564c1e0c1bc523179083c24b0ee/x64/Microsoft.SqlServer.Management.Controls.DLL
----------------------------------------
System.Configuration
    組件版本: 2.0.0.0
    Win32 版本: 2.0.50727.9153 (WinRelRS6.050727-9100)
    程式碼基底: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
SYSTEM.CONFIGURATION.resources
    組件版本: 2.0.0.0
    Win32 版本: 2.0.50727.9149 (WinRelRS6.050727-9100)
    程式碼基底: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration.resources/2.0.0.0_zh-CHT_b03f5f7f11d50a3a/System.Configuration.resources.dll
----------------------------------------
System.Windows.Forms.resources
    組件版本: 2.0.0.0
    Win32 版本: 2.0.50727.9149 (WinRelRS6.050727-9100)
    程式碼基底: 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 偵錯工具進行處
理,而不是使用這個對話方塊來處理。


 

arrow
arrow
    全站熱搜
    創作者介紹
    創作者 王瘇子 的頭像
    王瘇子

    王瘇子C# 學習倉庫

    王瘇子 發表在 痞客邦 留言(0) 人氣()