请教下删除完文件后怎么办呀?

解决方案 »

  1.   

    打开SQL2008安装文件就出现下列错误   
    有关调用实时(JIT)调试而不是此对话框的详细信息,
    请参见此消息的结尾。************** 异常文本 **************
    System.Configuration.ConfigurationErrorsException: 创建 userSettings/Microsoft.SqlServer.Configuration.LandingPage.Properties.Settings 的配置节处理程序时出错: 未能加载文件或程序集“System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089”或它的某一个依赖项。系统找不到指定的文件。 (C:\Documents and Settings\Administrator\Local Settings\Application Data\Microsoft_Corporation\LandingPage.exe_StrongName_ryspccglaxmt4nhllj5z3thycltsvyyx\10.0.0.0\user.config 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..ctor(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)
      在 System.Configuration.BaseConfigurationRecord.GetSectionRecursive(String configKey, Boolean getLkg, Boolean checkPermission, Boolean getRuntimeObject, Boolean requestIsHere, Object& result, Object& resultRuntimeObject)
      在 System.Configuration.BaseConfigurationRecord.GetSection(String configKey, Boolean getLkg, Boolean checkPermission)
      在 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 properties)
      在 System.Configuration.SettingsBase.GetPropertiesFromProvider(SettingsProvider provider)
      在 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.Properties.Settings.get_WindowPlacement()
      在 Microsoft.SqlServer.Configuration.LandingPage.LandingPageForm.OnLoad(EventArgs e)
      在 System.Windows.Forms.Form.OnCreateControl()
      在 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.ScrollableControl.WndProc(Message& m)
      在 System.Windows.Forms.ContainerControl.WndProc(Message& m)
      在 System.Windows.Forms.Form.WmShowWindow(Message& m)
      在 System.Windows.Forms.Form.WndProc(Message& m)
      在 System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
      在 System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
      在 System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
    ************** 已加载的程序集 **************
    mscorlib
      程序集版本: 2.0.0.0
      Win32 版本: 2.0.50727.3620 (GDR.050727-3600)
      基本代码: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
    ----------------------------------------
    mscorlib.resources
      程序集版本: 2.0.0.0
      Win32 版本: 2.0.50727.3620 (GDR.050727-3600)
      基本代码: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
    ----------------------------------------
    LandingPage
      程序集版本: 10.0.0.0
      Win32 版本: 10.0.1600.22 ((SQL_PreRelease).080709-1414 )
      基本代码: file:///G:/x86/LandingPage.exe
    ----------------------------------------
    System.Windows.Forms
      程序集版本: 2.0.0.0
      Win32 版本: 2.0.50727.3053 (netfxsp.050727-3000)
      基本代码: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
    ----------------------------------------
    System
      程序集版本: 2.0.0.0
      Win32 版本: 2.0.50727.3614 (GDR.050727-3600)
      基本代码: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
    ----------------------------------------
    System.Drawing
      程序集版本: 2.0.0.0
      Win32 版本: 2.0.50727.3053 (netfxsp.050727-3000)
      基本代码: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
    ----------------------------------------
    Microsoft.SqlServer.Configuration.Sco
      程序集版本: 10.0.0.0
      Win32 版本: 10.0.1600.22 ((SQL_PreRelease).080709-1414 )
      基本代码: file:///G:/x86/Microsoft.SqlServer.Configuration.Sco.DLL
    ----------------------------------------
    LandingPage.resources
      程序集版本: 10.0.0.0
      Win32 版本: 10.0.1600.22 ((SQL_PreRelease).080709-1414 )
      基本代码: file:///G:/x86/zh-CHS/LandingPage.resources.DLL
    ----------------------------------------
    Microsoft.SqlServer.Chainer.Infrastructure
      程序集版本: 10.0.0.0
      Win32 版本: 10.0.1600.22 ((SQL_PreRelease).080709-1414 )
      基本代码: file:///G:/x86/Microsoft.SqlServer.Chainer.Infrastructure.DLL
    ----------------------------------------
    System.Xml
      程序集版本: 2.0.0.0
      Win32 版本: 2.0.50727.3053 (netfxsp.050727-3000)
      基本代码: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
    ----------------------------------------
    Accessibility
      程序集版本: 2.0.0.0
      Win32 版本: 2.0.50727.3053 (netfxsp.050727-3000)
      基本代码: file:///C:/WINDOWS/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
    ----------------------------------------
    Microsoft.SqlServer.Management.Controls
      程序集版本: 10.0.0.0
      Win32 版本: 10.0.1600.22 ((SQL_PreRelease).080709-1414 )
      基本代码: file:///G:/x86/Microsoft.SqlServer.Management.Controls.DLL
    ----------------------------------------
    System.Configuration
      程序集版本: 2.0.0.0
      Win32 版本: 2.0.50727.3053 (netfxsp.050727-3000)
      基本代码: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
    ----------------------------------------
    system.configuration.resources
      程序集版本: 2.0.0.0
      Win32 版本: 2.0.50727.3053 (netfxsp.050727-3000)
      基本代码: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration.resources/2.0.0.0_zh-CHS_b03f5f7f11d50a3a/System.Configuration.resources.dll
    ----------------------------------------
    System.Windows.Forms.resources
      程序集版本: 2.0.0.0
      Win32 版本: 2.0.50727.3053 (netfxsp.050727-3000)
      基本代码: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms.resources/2.0.0.0_zh-CHS_b77a5c561934e089/System.Windows.Forms.resources.dll
    ----------------------------------------************** JIT 调试 **************
    要启用实时(JIT)调试,
    该应用程序或计算机的 .config 文件(machine.config)的 system.windows.forms 节中必须设置
    jitDebugging 值。
    编译应用程序时还必须启用
    调试。例如:  <configuration>
      <system.windows.forms jitDebugging="true" />
    </configuration>启用 JIT 调试后,任何无法处理的异常
    都将被发送到在此计算机上注册的 JIT 调试器,
    而不是由此对话框处理。
    是我把这个文件删除了:
    C:\Users\username\AppData\Local\Microsoft_Corporation\LandingPage.exe_StrongName_ryspccglaxmt4nhllj5z3thycltsvyyx\10.0.0.0\user.config
    但不知怎么办?
      

  2.   

    呵呵,是我在遇到上面那个问题时不知怎么办,上网搜了下市把那个文件删了,我把那个文件删了后,没有反应,不知怎么办?等了会发现SQL sever 开始装了,我就直接把那个警告框给关了,谢谢各位了,我的问题解决了,O(∩_∩)O谢谢