Program@创建 userSettings/Microsoft.SqlServer.Configuration.LandingPage.Properties.Settings

System.Configuration.ConfigurationErrorsException: 创建 userSettings/Microsoft.SqlServer.Configuration.LandingPage.Properties.Settings 的配置节处理程序时出错: 未能加载文件或程序集“System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089”或它的某一个依赖项。系统没找到指定的文件。 (C:\Users\hp\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\username\Local Settings\Application Data\Microsoft_Corporation\LandingPage.exe_StrongName_ryspccglaxmt4nhllj5z3thycltsvyyx\10.0.0.0\user.config 

注意:其中问题中地址可能不是事例中所示,所以要根据个人的 (C:\Users\hp\AppData\Local\Microsoft_Corporation\LandingPage.exe_StrongName_ryspccglaxmt4nhllj5z3thycltsvyyx\10.0.0.0\useronfig line 5) 找个自己的user.config文件,删除掉即可。还有一点就是其文件夹是隐藏的需要点击窗口上面的(工具→文件夹选项→查看→显示所有文件和文件夹)即可看到。

posted @ 2014-09-24 10:07  bibibabibobi  阅读(299)  评论(0编辑  收藏  举报