Pip*_*ong 13 installation sql-server-express
我在安装SQL Server 2008 R2 Express时遇到问题.
在我的电脑上,我安装了VC#和VWebdev 2010 express.它包括SQL Server 2008 Express.
之后,我升级到了SQL Server 2008 R2 Express.
结果是我无法连接到本地服务器本身.因此,我卸载所有SQLServer产品并重新安装.然后在我的屏幕上弹出一条错误消息,粘贴在此问题的末尾.
我的电脑在Win7 x64上运行.SQL Server安装程序是64位版本.我的System.dll,我认为这个问题的根源,程序集是2.0.0.0版本.
错误消息:
System.Configuration.ConfigurationErrorsException:为userSettings/Microsoft.SqlServer.Configuration.LandingPage.Properties.Settings创建配置节处理程序时出错: 无法加载文件或程序集'System,Version = 4.0.0.0,Culture = neutral,PublicKeyToken = b77a5c561934e089'或其依赖项之一.该系统找不到指定的文件.(C:\ Users\BenZ\AppData\Local\Microsoft_Corporation\LandingPage.exe_StrongName_ryspccglaxmt4nhllj5z3thycltsvyyx\10.0.0.0\user.config第5行)---> System.IO.FileNotFoundException:无法加载文件或程序集'System,Version = 4.0 .0.0,Culture = neutral,PublicKeyToken = b77a5c561934e089'或其依赖项之一.该系统找不到指定的文件.文件名:System.Configuration.RuntimeConfigurationRecord.RuntimeConfigurationFactory上的System.Configuration.TypeUtil.GetTypeWithReflectionPermission(IInternalConfigHost主机,String typeString,Boolean throwOnError)中的'System,Version = 4.0.0.0,Culture = neutral,PublicKeyToken = b77a5c561934e089'.
Ank*_*kur 23
删除错误消息中提到的user.config文件可解决此问题.
完整路径:
%USERPROFILE%\应用程序数据\本地\ Microsoft_Corporation\LandingPage.exe_StrongName_ryspccglaxmt4nhllj5z3thycltsvyyx\10.0.0.0\user.config
注意:我使用的是Windows 7旗舰版(64位).首先我卸载了Visual Studio 2010,然后从上面的路径中删除了user.config.
我发现如果按错误消息框右上角的关闭按钮,它将跳转到正常的安装屏幕.
安装现在成功.我终于可以通过SQL Server Management Studio连接到服务器了.但我仍然想知道在此之后会发生什么.
| 归档时间: |
|
| 查看次数: |
13272 次 |
| 最近记录: |