创建 userSettings/Microsoft.SqlServer.Configuration.LandingPage.Properties.Settings 的配置节处理程序时出错: 未能加载文件或程序集“System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089”或它的某一个依赖项。系统没找到指定的文件。 C:\Users\Administrator\AppData\Local\Microsoft_Corporation\LandingPage.exe_StrongName_ryspccglaxmt4nhllj5z3thycltsvyyx\10.0.0.0\useronfig 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.RuntimeConfigurationFactory.tor(RuntimeConfigurationRecord configRecord, FactoryRecord factoryRecord)
    在 System.Configuration.RuntimeConfigurationRecord.CreateSectionFactory(FactoryRecord factoryRecord)
    在 System.Configuration.BaseConfigurationRecord.FindAndEnsureFactoryRecord(String configKey, Boolean& isRootDeclaredHere)

 

由以上错误可以知道,是

C:\Users\Administrator\AppData\Local\Microsoft_Corporation\LandingPage.exe_StrongName_ryspccglaxmt4nhllj5z3thycltsvyyx\10.0.0.0\这个路径下的useronfig文件有问题,

则删掉以上路径下的文件即可

 

本人出现这个问题的原因可能是:

安装SQL2008之前, 先装了VS开发环境 VS2010 和安装失败一次SQL2008,需要删除

相关文章:

  • 2022-12-23
  • 2021-12-12
  • 2022-01-09
  • 2021-12-06
  • 2021-07-03
  • 2021-06-27
  • 2021-05-30
  • 2021-11-01
猜你喜欢
  • 2022-03-04
  • 2021-10-30
  • 2021-06-03
  • 2022-12-23
  • 2022-12-23
  • 2021-04-08
  • 2021-09-26
相关资源
相似解决方案