卸载SQL Server 2012和2008,然后重新安装后,我收到此错误:
您的申请中发生了未处理的异常......
为userSettings / Microsoft.SqlServer.Configuration.LandingPage.Properties.Settings创建配置节处理程序时出错:
有关调用实时(JIT)调试而不是此对话框的详细信息,请参阅此消息的结尾。
**************例外文字**************
System.Configuration.ConfigurationErrorsException:为userSettings / Microsoft.SqlServer.Configuration.LandingPage.Properties.Settings创建配置节处理程序时出错:无法加载文件或程序集&System; Version,版本= 4.0.0.0, Culture = neutral,PublicKeyToken = b77a5c561934e089'或其中一个依赖项。该系统找不到指定的文件。 (C:\ Users \ hy \ AppData \ Local \ Microsoft_Corporation \ LandingPage.exe_StrongName_ryspccglaxmt4nhllj5z3thycltsvyyx \ 10.0.0.0 \ user.config line 5)---> System.IO.FileNotFoundException:无法加载文件或程序集&System; Version,Version = 4.0.0.0,Culture = neutral,PublicKeyToken = b77a5c561934e089'或其中一个依赖项。系统找不到指定的文件。
文件名:'系统,版本= 4.0.0.0,文化=中性,PublicKeyToken = b77a5c561934e089'
at 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.CreateSectionFactory(FactoryRecord factoryRecord)
在System.Configuration.BaseConfigurationRecord.FindAndEnsureFactoryRecord(String configKey,Boolean& isRootDeclaredHere)警告:装配装订日志已关闭 要启用程序集绑定失败日志记录,请将注册表值[HKLM \ Software \ Microsoft \ Fusion!EnableLog](DWORD)设置为1。 注意:程序集绑定失败日志记录会导致性能损失 要关闭此功能,请删除注册表值[HKLM \ Software \ Microsoft \ Fusion!EnableLog]。
---内部异常堆栈跟踪结束---
在System.Configuration.BaseConfigurationRecord.FindAndEnsureFactoryRecord(String configKey,Boolean& isRootDeclaredHere)
at System.Configuration.BaseConfigurationRecord.GetSectionRecursive(String configKey,Boolean getLkg,Boolean checkPermission,Boolean getRuntimeObject,Boolean requestIsHere,Object& result,Object& resultRuntimeObject)
在System.Configuration.BaseConfigurationRecord.GetSection(String configKey)
在System.Configuration.ClientConfigurationSystem.System.Configuration.Internal.IInternalConfigSystem.GetSection(String sectionName)
在System.Configuration.ConfigurationManager.GetSection(String sectionName)
在System.Configuration.ClientSettingsStore.ReadSettings(String sectionName,Boolean isUserScoped)
在System.Configuration.LocalFileSettingsProvider.GetPropertyValues(SettingsContext context,SettingsPropertyCollection属性)
在System.Configuration.SettingsBase.GetPropertiesFromProvider(SettingsProvider提供程序)
在System.Configuration.SettingsBase.GetPropertyValueByName(String propertyName)
在System.Configuration.SettingsBase.get_Item(String propertyName)
在System.Configuration.ApplicationSettingsBase.GetPropertyValue(String propertyName)
在System.Configuration.ApplicationSettingsBase.get_Item(String propertyName)
在Microsoft.SqlServer.Configuration.LandingPage.LandingPageForm.OnLoad(EventArgs e)
在System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
在System.Windows.Forms.Control.CreateControl()
在System.Windows.Forms.Control.WmShowWindow(Message& m)
在System.Windows.Forms.Control.WndProc(Message& m)
在System.Windows.Forms.Control.ControlNativeWindow.WndProc(消息& m)
在System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd,Int32 msg,IntPtr wparam,IntPtr lparam)
答案 0 :(得分:33)
删除
C:\Users\hy\AppData\Local\Microsoft_Corporation\LandingPage.exe_StrongName_ryspccglaxmt4nhllj5z3thycltsvyyx\
目录,然后重试。
我认为卸载有时不会完全清理文件。
答案 1 :(得分:3)
如果您搜索%localappdata%\Microsoft_Corporation%
答案 2 :(得分:2)
在此文件夹中搜索:
C:\Users\user_name\AppData\Local\Microsoft_Corporation
在那里你会找到像
这样的文件或文件夹LandingPage.exe
,
或LandingPage.
删除所有这些文件夹。 适用于Windows 10。
答案 3 :(得分:0)
删除此文件夹C:\Users\yourName\AppData\Local\Microsoft_Corporation\LandingPage.exe_StrongName_ryspccglaxmt4nhllj5z3thycltsvyyx\
答案 4 :(得分:0)
重命名位于
的 "USDAED":3.672301,
"USDAFN":66.800003,
"USDALL":127.000221,
"USDAMD":486.160004,
"USDANG":1.769942,
"USDAOA":165.080994,
"USDARS":15.609965
文件
C:\用户[USER_NAME] \应用程序数据\本地\ Microsoft_Corporation \ LandingPage.exe_StrongName_ryspccglaxmt4nhllj5z3thycltsvyyx \ 10.0.0.0
到
USER.CONFIG.BAK
答案 5 :(得分:0)
运行命令:rd /s /q %localappdata%\Microsoft_Corporation1as