安装SqlServer出现错误System.Configuration.ConfigurationErrorsException解决方法
2018-01-07 21:42
986 查看
SqlServe软件安装过程中容易出现问题,若是第一次安装失败,第二次卸载后再次安装则可能会出现问题:
其原因就是如果Microsoft_Corporation文件没有删除,那么SQL软件则不能安装。
解决方法为:rd /s /q %localappdata%\Microsoft_Corporation
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\Jozef\AppData\Local\Microsoft_Corporation\LandingPage.exe_StrongName_ryspccglaxmt4nhllj5z3thycltsvyyx\11.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.InitWithRestrictedPermissions(RuntimeConfigurationRecord configRecord, FactoryRecord factoryRecord) at System.Configuration.RuntimeConfigurationRecord.CreateSectionFactory(FactoryRecord factoryRecord) at System.Configuration.BaseConfigurationRecord.FindAndEnsureFactoryRecord(String configKey, Boolean& isRootDeclaredHere) WRN: Assembly binding logging is turned OFF. To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1. Note: There is some performance penalty associated with assembly bind failure logging. To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
其原因就是如果Microsoft_Corporation文件没有删除,那么SQL软件则不能安装。
解决方法为:rd /s /q %localappdata%\Microsoft_Corporation
相关文章推荐
- SQL2008R2 安装提示:”System.Configuration.ConfigurationErrorsException: 创建 userSettings/Microsoft.SqlServe“ 和“安装了 Microsoft Visual Studio 2008 的早期版本“错误的解决办
- 安装SQL2008的时候 出现System.Configuration.ConfigurationErrorsException: 创建 userSettings/Microsoft.SqlServe
- 安装SQL2008的时候 出现System.Configuration.ConfigurationErrorsException: 创建 userSettings/Microsoft.SqlServe
- 部署时,出现用户代码未处理 System.Security.Cryptography.CryptographicException 错误解决方法
- 连接数据库及出现System.AccessViolationException错误的解决方法
- Error:System.Data.SqlClient.SqlException: 在与 SQL Server 建立连接时出现与网络相关的或特定于实例的错误,请检查远程连接是否开启。解决方法
- 安装SQL2008的时候 出现System.Configuration.ConfigurationErrorsException: 创建 userSettings/Microsoft.SqlServe
- 安装SQL2008的时候 出现System.Configuration.ConfigurationErrorsException: 创建 userSettings/Microsoft.SqlServe
- xp安装sqlserver 2005 出现的性能监视器计数器要求 和 Com+目录 错误解决方法
- 部署时,出现用户代码未处理 System.Security.Cryptography.CryptographicException 错误解决方法
- .net 中使用Excel library 11.0 COM Workbooks.Open 出现错误:System.MissingMethodException: 找不到方法
- 在GHOST的WINXPSP2安装SQL SERVER2000个人版时出现“以前的某个程序安装已在安装计算机上创建挂起的文件操作。运行安装之前,必须重新启动计算机。”错误的解决方法
- asp.net办公自动化系统开发实例导航的安装出现错误的解决方法
- VS2005安装项目出现:Setup.vdproj 不可恢复的生成错误的解决方法
- AntiARP安装时出现windows installer package错误解决方法
- 安装mysql后首次登录出现access deny错误的解决方法
- (System)使用windows更新出现0x8DDD0018编号错误的解决方法
- deepin精简版XP中windows update出现错误0x8007041D以及live messenger等无法安装的解决方法
- 安装webmagik(解决首页顶部出现错误,验证管理顶部出现错误及模块名称为问号的方法!)
- 在GHOST的WINXPSP2安装SQL SERVER2000个人版时出现“以前的某个程序安装已在安装计算机上创建挂起的文件操作。运行安装之前,必须重新启动计算机。”错误的解决方法