2011年10月24日 星期一

SQL Server 2008 R2 安裝問題排除

        由於之前已有安裝SQL Server 2008 R2 Express,但由於工作需要,又另外裝了SQL Server 2008 R2,但是在安裝的過程中遇到了下列的問題,但是後來解決方法還真是簡單,只要將Microsoft_Corporation的下檔案夾刪除即可,再次重新啟動安裝程式即可。

路徑:
C:\Users\caryhsu\AppData\Local\Microsoft_Corporation\LandingPage.exe_StrongName_ryspccglaxmt4nhllj5z3thycltsvyyx

錯誤訊息:
建立 userSettings/Microsoft.SqlServer.Configuration.LandingPage.Properties.Settings 的組態區段處理常式時發生錯誤:無法載入檔案或組件 'System. Version=4.0.0.0, Culture=neutral, PublicKey Token=b77a5c561934e089' 或其相依性的其中之一。系統找不到指定的檔案。
(C:\users\caryhsu\AppData\Local\Microsoft_Corporation\LandingPage.exe_StrongName_ryspccglaxmt4nhllj5z3thycltsvyyx\10.0.0.0\user.config

詳細錯誤資料:
如需叫用 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\caryhsu\AppData\Local\Microsoft_Corporation\LandingPage.exe_StrongName_ryspccglaxmt4nhllj5z3thycltsvyyx\10.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.GetPropertyValueByName(String propertyName)
   於 System.Configuration.SettingsBase.get_Item(String propertyName)
   於 System.Configuration.ApplicationSettingsBase.GetPropertyValue(String propertyName)
   於 System.Configuration.ApplicationSettingsBase.get_Item(String propertyName)
   於 Microsoft.SqlServer.Configuration.LandingPage.LandingPageForm.OnLoad(EventArgs e)
   於 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.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.4963 (win7RTMGDR.050727-4900)
    程式碼基底: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll
----------------------------------------
mscorlib.resources
    組件版本: 2.0.0.0
    Win32 版本: 2.0.50727.4963 (win7RTMGDR.050727-4900)
    程式碼基底: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll
----------------------------------------
LandingPage
    組件版本: 10.0.0.0
    Win32 版本: 10.50.1600.1 ((KJ_RTM).100402-1539 )
    程式碼基底: file:///E:/x64/LandingPage.exe
----------------------------------------
System.Windows.Forms
    組件版本: 2.0.0.0
    Win32 版本: 2.0.50727.4961 (win7RTMGDR.050727-4900)
    程式碼基底: 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.4962 (win7RTMGDR.050727-4900)
    程式碼基底: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
    組件版本: 2.0.0.0
    Win32 版本: 2.0.50727.4927 (NetFXspW7.050727-4900)
    程式碼基底: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
Microsoft.SqlServer.Configuration.Sco
    組件版本: 10.0.0.0
    Win32 版本: 10.50.1600.1 ((KJ_RTM).100402-1539 )
    程式碼基底: file:///E:/x64/Microsoft.SqlServer.Configuration.Sco.DLL
----------------------------------------
LandingPage.resources
    組件版本: 10.0.0.0
    Win32 版本: 10.50.1600.1 ((KJ_RTM).100402-1539 )
    程式碼基底: file:///E:/x64/zh-CHT/LandingPage.resources.DLL
----------------------------------------
Microsoft.SqlServer.Chainer.Infrastructure
    組件版本: 10.0.0.0
    Win32 版本: 10.50.1600.1 ((KJ_RTM).100402-1539 )
    程式碼基底: file:///E:/x64/Microsoft.SqlServer.Chainer.Infrastructure.DLL
----------------------------------------
System.Xml
    組件版本: 2.0.0.0
    Win32 版本: 2.0.50727.4927 (NetFXspW7.050727-4900)
    程式碼基底: 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.4927 (NetFXspW7.050727-4900)
    程式碼基底: file:///C:/Windows/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
Microsoft.SqlServer.Management.Controls
    組件版本: 10.0.0.0
    Win32 版本: 10.50.1600.1 ((KJ_RTM).100402-1539 )
    程式碼基底: file:///E:/x64/Microsoft.SqlServer.Management.Controls.DLL
----------------------------------------
System.Configuration
    組件版本: 2.0.0.0
    Win32 版本: 2.0.50727.4927 (NetFXspW7.050727-4900)
    程式碼基底: 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.4927 (NetFXspW7.050727-4900)
    程式碼基底: 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.4927 (NetFXspW7.050727-4900)
    程式碼基底: 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 偵錯工具進行處
理,而不是使用這個對話方塊來處理。



關鍵字:SQL ServerSQL Server 2008 R2LandingPage

沒有留言:

張貼留言