首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 数据库 > SQL Server >

第二次安装SQL的时候 出现.Net FrameWork异常

2012-09-23 
第二次安装SQL的时候 出现.Net FrameWork错误这段时间由于要进行数据库的运行 于是在网上下了SQL2008版本

第二次安装SQL的时候 出现.Net FrameWork错误
这段时间由于要进行数据库的运行 于是在网上下了SQL2008版本 以前安装过一次 但是由于设置有误 于是就取消了 可是在第二次在安装的时候 就总是出现 .net framework错误 错误提示如下: 希望能得到大侠的支援……

有关调用实时(JIT)调试而不是此对话框的详细信息,
请参见此消息的结尾。

************** 异常文本 **************
System.Configuration.ConfigurationErrorsException: 创建 userSettings/Microsoft.SqlServer.Configuration.LandingPage.Properties.Settings 的配置节处理程序时出错: 未能加载文件或程序集“System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089”或它的某一个依赖项。系统找不到指定的文件。 (C:\Users\刘健\AppData\Local\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.4952 (win7RTMGDR.050727-4900)
  基本代码: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
mscorlib.resources
  程序集版本: 2.0.0.0
  Win32 版本: 2.0.50727.4952 (win7RTMGDR.050727-4900)
  基本代码: 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:///P:/SQL/x86/LandingPage.exe
----------------------------------------
System.Windows.Forms
  程序集版本: 2.0.0.0
  Win32 版本: 2.0.50727.4927 (NetFXspW7.050727-4900)
  基本代码: 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.4927 (NetFXspW7.050727-4900)
  基本代码: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
  程序集版本: 2.0.0.0
  Win32 版本: 2.0.50727.4927 (NetFXspW7.050727-4900)
  基本代码: 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:///P:/SQL/x86/Microsoft.SqlServer.Configuration.Sco.DLL
----------------------------------------
LandingPage.resources
  程序集版本: 10.0.0.0
  Win32 版本: 10.0.1600.22 ((SQL_PreRelease).080709-1414 )
  基本代码: file:///P:/SQL/x86/zh-CHS/LandingPage.resources.DLL
----------------------------------------
Microsoft.SqlServer.Chainer.Infrastructure
  程序集版本: 10.0.0.0
  Win32 版本: 10.0.1600.22 ((SQL_PreRelease).080709-1414 )
  基本代码: file:///P:/SQL/x86/Microsoft.SqlServer.Chainer.Infrastructure.DLL
----------------------------------------
System.Xml
  程序集版本: 2.0.0.0
  Win32 版本: 2.0.50727.4927 (NetFXspW7.050727-4900)
  基本代码: 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.4927 (NetFXspW7.050727-4900)
  基本代码: 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:///P:/SQL/x86/Microsoft.SqlServer.Management.Controls.DLL
----------------------------------------
System.Configuration
  程序集版本: 2.0.0.0
  Win32 版本: 2.0.50727.4927 (NetFXspW7.050727-4900)
  基本代码: 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.4927 (NetFXspW7.050727-4900)
  基本代码: 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.4927 (NetFXspW7.050727-4900)
  基本代码: 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 调试器,
而不是由此对话框处理。


[解决办法]
建议重做系统。
[解决办法]
卸掉.net 

重新.net
[解决办法]
重装下系统吧!

热点排行