sqlserver2008 error
Install VS2008, 2010 and SQL 2008 R2, generates installer error 輸入者 Burt.Harris
已關閉
解決方法為:外部
|
Installing SQL Server 2008 R2 Developer Edition on top of VS 2008 & VS 2010 generates a .NET exception running SQL's Setup.exe. Perhaps this is a SQL bug, but .NET 4 seems involved...
This may have something to do with having installed both versions of the VS environment, which included removing older versions of SQL tools distributed w/ VS. Not sure but I think I've listed key install order to repro.
Note: this was reported earlier (pre-RTM), but resolved no repro.
詳細資料 (展開)
Visual Studio/Silverlight/Tooling version
Visual Studio 2010
What category (if any) best represents this feedback?
Compatibility
Steps to reproduce
Installed: Microsoft Visual Studio Team System 2008 Team Suite - ENU 9.0.21022 Installed: Microsoft Visual Studio 2010 Ultimate - ENU 10.0.30319 Installed: Microsoft SQL Server 2008 Database Engine Services 10.0.1600.22 Installing: Microsoft SQL Server 2008 R2 Setup (English) 10.50.1600.1
Ran SQL Server 2008 R2 Dev Edition SETUP.EXE.
Observed: Dialog box reporting error shown below (note: I turned on Fusion Logging, hope that helps.)
It appears that there are a mixture of .NET 2.0 and .NET 4.0 assemblies involved.
Ran SQL Server 2008 R2 Dev Edition SETUP.EXE.
Observed: Dialog box reporting error shown below (note: I turned on Fusion Logging, hope that helps.)
It appears that there are a mixture of .NET 2.0 and .NET 4.0 assemblies involved.
Product Language
English
Operating System
Windows 7
Operating System Language
English
Actual results
************** Exception Text ************** System.Configuration.ConfigurationErrorsException: An error occurred creating the configuration section handler for userSettings/Microsoft.SqlServer.Configuration.LandingPage.Properties.Settings: Could not load file or assembly 'System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies. The system cannot find the file specified. (C:\Users\Bharris\AppData\Local\Microsoft_Corporation\LandingPage.exe_StrongName_ryspccglaxmt4nhllj5z3thycltsvyyx\10.0.0.0\user.config line 5) ---> System.IO.FileNotFoundException: Could not load file or assembly 'System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies. The system cannot find the file specified. File name: 'System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' at System.Configuration.TypeUtil.GetTypeWithReflectionPermission(IInternalConfigHost host, String typeString, Boolean throwOnError) at System.Configuration.RuntimeConfigurationRecord.RuntimeConfigurationFactory.Init(RuntimeConfigurationRecord configRecord, FactoryRecord factoryRecord) at System.Configuration.RuntimeConfigurationRecord.RuntimeConfigurationFactory. ... -- Message too large, will attach
Expected results
Clean run of setup.
檔案附件
檔案名稱 | 提交者 | 提交時間 | 檔案大小 | |
---|---|---|---|---|
fullerrormessage.txt | Burt.Harris | 2011/1/30 | 8 KB | |
user.config | Burt.Harris | 2011/1/30 | 1 KB | |
Archivo.txt | samiga83 | 2012/4/17 | 9 KB |
Deleting the user.config file mentioned in the error message resolves this. Full path was:
%USERPROFILE%\AppData\Local\Microsoft_Corporation\LandingPage.exe_StrongName_ryspccglaxmt4nhllj5z3thycltsvyyx\10.0.0.0\user.config
Note: I am using Windows 7 Ultimate (64 bit) . First I have uninstalled Visual Studio 2010, then I deleted user.config from the above path.