- 浏览: 54823 次
- 性别:
- 来自: 广州
最新评论
-
Joson_Coney:
11.
while( (*strDest++ = *strSr ...
c++笔试题汇总 -
Joson_Coney:
③ 1.
int func(x)
{
int countx = ...
c++笔试题汇总 -
Joson_Coney:
链表反向1:
#include <cstdlib&g ...
c++笔试题汇总
(From: http://social.msdn.microsoft.com/Forums/en/sqlsetupandupgrade/thread/99ee7868-4b0b-4379-82fb-95004d376c86)
We are receiving the following error message when installing SQL 2008 R2 on a Windows 2008 R2 Enterprise server. "Unhandled exception has occurred in your application. if you click Continue, the application will ignore this error and attempt to continue. If you click Quit, the application will close immediately.
Here is the details to the error message above.
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.Configuration.ConfigurationErrorsException: An error occurred creating the configuration section handler for userSettings/Microsoft.SqlServer.Configuration.LandingPage.Properties.Settings: Could not load file or assembly 'System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies. The system cannot find the file specified. (C:\Users\kachampongadmin\AppData\Local\Microsoft_Corporation\LandingPage.exe_StrongName_ryspccglaxmt4nhllj5z3thycltsvyyx\10.0.0.0\user.config line 5) ---> System.IO.FileNotFoundException: Could not load file or assembly 'System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies. The system cannot find the file specified.
File name: 'System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'
at System.Configuration.TypeUtil.GetTypeWithReflectionPermission(IInternalConfigHost host, String typeString, Boolean throwOnError)
at System.Configuration.RuntimeConfigurationRecord.RuntimeConfigurationFactory.Init(RuntimeConfigurationRecord configRecord, FactoryRecord factoryRecord)
at System.Configuration.RuntimeConfigurationRecord.RuntimeConfigurationFactory.InitWithRestrictedPermissions(RuntimeConfigurationRecord configRecord, FactoryRecord factoryRecord)
at System.Configuration.RuntimeConfigurationRecord.CreateSectionFactory(FactoryRecord factoryRecord)
at System.Configuration.BaseConfigurationRecord.FindAndEnsureFactoryRecord(String configKey, Boolean& isRootDeclaredHere)
WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
--- End of inner exception stack trace ---
at 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)
at System.Configuration.BaseConfigurationRecord.GetSection(String configKey)
at System.Configuration.ClientConfigurationSystem.System.Configuration.Internal.IInternalConfigSystem.GetSection(String sectionName)
at System.Configuration.ConfigurationManager.GetSection(String sectionName)
at System.Configuration.ClientSettingsStore.ReadSettings(String sectionName, Boolean isUserScoped)
at System.Configuration.LocalFileSettingsProvider.GetPropertyValues(SettingsContext context, SettingsPropertyCollection properties)
at System.Configuration.SettingsBase.GetPropertiesFromProvider(SettingsProvider provider)
at System.Configuration.SettingsBase.GetPropertyValueByName(String propertyName)
at System.Configuration.SettingsBase.get_Item(String propertyName)
at System.Configuration.ApplicationSettingsBase.GetPropertyValue(String propertyName)
at System.Configuration.ApplicationSettingsBase.get_Item(String propertyName)
at Microsoft.SqlServer.Configuration.LandingPage.LandingPageForm.OnLoad(EventArgs e)
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4952 (win7RTMGDR.050727-4900)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll
----------------------------------------
LandingPage
Assembly Version: 10.0.0.0
Win32 Version: 10.50.1600.1 ((KJ_RTM).100402-1539 )
CodeBase: file:///D:/SQL%202008/x64/LandingPage.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
Microsoft.SqlServer.Configuration.Sco
Assembly Version: 10.0.0.0
Win32 Version: 10.50.1600.1 ((KJ_RTM).100402-1539 )
CodeBase: file:///D:/SQL%202008/x64/Microsoft.SqlServer.Configuration.Sco.DLL
----------------------------------------
Microsoft.SqlServer.Chainer.Infrastructure
Assembly Version: 10.0.0.0
Win32 Version: 10.50.1600.1 ((KJ_RTM).100402-1539 )
CodeBase: file:///D:/SQL%202008/x64/Microsoft.SqlServer.Chainer.Infrastructure.DLL
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Accessibility
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
Microsoft.SqlServer.Management.Controls
Assembly Version: 10.0.0.0
Win32 Version: 10.50.1600.1 ((KJ_RTM).100402-1539 )
CodeBase: file:///D:/SQL%202008/x64/Microsoft.SqlServer.Management.Controls.DLL
----------------------------------------
System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
----------------------------------------
************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.
For example:
<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>
When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
Answers
-
Hi vonryman,
From the following message, we can know the issue is caused by that the LandingPage is trying to find the assembly 'System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089', however the assembly is missing from Global Assemblies Control(GAC).
An error occurred creating the configuration section handler for userSettings/Microsoft.SqlServer.Configuration.LandingPage.Properties.Settings: Could not load file or assembly 'System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies. The system cannot find the file specified.
The cause the assemly is missing may be that the .NET framework 4.0 is uninstalled. To verify this issue, we can:
- Go to the GAC folder "C:\Windows\assembly"
- Find the assemblies "System"
- Make sure there is a "System" assembly with version 4.0.0.0
I assume the "System" assembly with version 4.0.0.0 is missing in this case.
Here are two solutions to solve the issue:
- Install the Microsoft .NET framework 4.0
- Modify the user.config file to refer to .NET framework 2.0. (I will attach the user.config which uses .NET framework 2.0 at the end of this post). In this case, the user.config is located in C:\Users\kachampongadmin\AppData\Local\Microsoft_Corporation\LandingPage.exe_StrongName_ryspccglaxmt4nhllj5z3thycltsvyyx\10.0.0.0
Microsoft .NET framework 4.0 can be downloaded from: http://www.microsoft.com/downloads/en/details.aspx?FamilyID=0a391abd-25c1-4fc0-919f-b21f31ab88b7
user.config that is refered to .NET framework 2.0.:<? xml version = " 1.0 " encoding = " utf-8 " ?> < configuration > < configSections > <sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" > < section name = " Microsoft.SqlServer.Configuration.LandingPage.Properties.Settings " type = " System.Configuration.ClientSettingsSection, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 " allowExeDefinition = " MachineToLocalUser " requirePermission = " false " /> </ sectionGroup > </ configSections > < userSettings > < Microsoft.SqlServer.Configuration.LandingPage.Properties.Settings > < setting name = " WindowPlacement " serializeAs = " Xml " > < value > < WINDOWPLACEMENT xmlns:xsi = " http://www.w3.org/2001/XMLSchema-instance " xmlns:xsd = " http://www.w3.org/2001/XMLSchema " > < showCmd > 1</ showCmd > < ptMinPosition > < x > -1</ x > < y > -1</ y > </ ptMinPosition > < ptMaxPosition > < x > -1</ x > < y > -1</ y > </ ptMaxPosition > < rcNormalPosition > < left > 289</ left > < top > 152</ top > < right > 1089</ right > < bottom > 752</ bottom > </ rcNormalPosition > </ WINDOWPLACEMENT > </ value > </ setting > </ Microsoft.SqlServer.Configuration.LandingPage.Properties.Settings > </ userSettings > </ configuration >
If you have any more questions, please feel free to ask.
Thanks,
Jin Chen
发表评论
-
【转】Compiling with cython and mingw produces gcc: error: unrecognized command lin
2012-05-03 10:46 1033(From: http://stackoverflow.com ... -
【转】Lucene:基于Java的全文检索引擎简介
2012-04-19 16:15 655(转自:http://www.chedon ... -
Lucene:基于Java的全文检索引擎简介
2012-04-19 16:12 0<p>(转自:http://www.chedong ... -
spring源码阅读
2012-04-18 12:15 0框架包:struts2.3.1+spring 3.1.1+hi ... -
oracle管理
2012-03-06 10:21 0(转自:http://www.examw.co ... -
【转】 Struts2源代码分析(一)配置文件加载
2012-02-17 09:47 1100(转自:http://blog.csdn.net/zha ... -
【转】[WebZine]Struts2框架安全缺陷
2012-02-16 17:31 924(转自:http://huaidan.org/archives ... -
Hadoop0.20.203初试手记
2012-01-26 08:01 764OS: Debian 6.03 Hadoop: 0.20.2 ... -
Why Should You Care About MapReduce?
2012-01-25 01:24 527(From:http://www.theserverside. ... -
FreeBSD Install Nginx Webserver
2012-01-20 15:26 722(From: http://www.cyberciti.biz ... -
SSH系统,调用HibernateTemplate.find()方法的时候,会导致内存泄露?
2012-01-11 20:19 718(转自:http://www.iteye.co ... -
Spring构造器注入
2012-01-04 11:03 841(转自:http://javasight.net/2011/0 ... -
【转】Hibernate性能“暴差”引发的考证
2011-12-16 16:13 522(转http://blog.csdn.net/jxspace/ ... -
网络收藏夹 - 编程
2011-12-06 21:49 652网络收藏夹 1. 在线看jdk源码: http:// ... -
Hibernate、Spring和Struts工作原理及使用理由
2011-12-01 17:27 543(转自:http://tech.hexun.c ... -
Struts2源码分析--请求处理
2011-12-01 10:03 607(转自:http://www.blogjava.ne ... -
【转】spring 监听器 IntrospectorCleanupListener简介
2011-11-15 15:50 751spring中的提供了一个名为org.springfra ... -
java web学习笔记
2011-11-21 09:50 549Tomcat Configuration 资 ... -
mongodb BinData
2011-10-15 06:06 2362[mongodb-dev] BinData ... -
GTK+ 中文显示解决方案
2011-10-15 06:01 606(转自:http://www.wangchao.net.cn/ ...
相关推荐
Windows 7, Windows 8, Windows 8.1, Windows Server 2003, Windows Server 2008, Windows Server 2008 R2, Windows Vista, Windows XP 注: 每个功能包的系统要求都依赖于所需的技术。 在重新分发功能包时,请...
SQL Server 2008 R2 Enterprise (SP3) 企业版 绿色版,解决部分电脑无法安装数据库的问题 由于SQL Server 安装对电脑环境要求很高,有些电脑安装一半断电或者提示错误都会导致数据库无法继续安装。只能重装系统。 ...
SQL Server 2008R2 SP1 KB2528583 补丁 数据库 windows 数据库
绿色sql2008R264位管理器 sqlserver密码是sql .使用前请看附带使用前的文档说明及更新日志。
sql server2008R2简装版本 1、打开安装包,点击setup.exe 2、选择左侧列表中的“安装 3、点击“全新安装或向现有安装添加功能”。 4、检测完成点击确定。 5、选择版本和密钥,然后下一步。(因为有版权要求,在这不...
适用 SQL Server Native Client 的这个可转散发安装程序会安装运行时间期间需要的客户端组件,以利用 SQL Server 2008 新功能,并选择性地安装开发使用 SQL Server Native Client API 之应用程序时所需要的头文件。
用友审计软件所使用的SQL2008R2精简安装版本,安装实例名为AudSQL2008,sa密码为sql2008
sqlserver 2008R2的工具jar包,在学习或者工作中jar包是连接sqlserver 2008R2的纽带,比如JAVA举例,在编码中如果不导入这个jar包,会爆出很多的错误,
只有SQL Server 2008 出了SP4补丁。该补丁并不支持 SQL Server 2008 R2 版本的升级。 当 SQL Server 2008 R2 版本升级到 Service Pack 3后,存在一个缺陷,需要安装(10.53.6000.34补丁)。
SQL SERVER 2008 R2群集SP2补丁升级(WINDOWS 2003)操作手册SQL SERVER 2008 R2群集SP2补丁升级(WINDOWS 2003)操作手册SQL SERVER 2008 R2群集SP2补丁升级(WINDOWS 2003)操作手册
英文版SQL server2008R2数据库安装包
解决sqlserver2008卸载不干净的问题,一步一步从windows操作系统中卸载掉sqlserver 2008 r2;欢迎使用,有使用说明!谢谢支持
绿色精简版的sql server 2008r2及sql管理工具,可指定数据库实例名及端口,不过在已经安装完整版的sql server的系统中容易出现问题。建议只在未安装sql server的系统中做开发测试使用,不建议正式使用。
Microsoft SQL Server 2008 R2 Management Studio Express (SSMSE) 是一个集成环境,用于访问、配置、管理和开发所有 SQL Server Express 组件。
Sql server 2008 r2 ,亲测可用,全版本序列号.
解决WinServer2012操作系统安装 SQLServer2008R2失败,需要打补丁,安装.net3.5,IIS里勾选安装。net
JAVA 连接 sqlserver2008 R2驱动 sqljdbc4-3.0
jdk1.5使用---》sqljdbc.jar jdk1.6使用--》sqljdbc4.jar
SQL Server 2008 R2示例数据库AdventureWorks2008R2和AdventureWorksDW2008R2,无ldf文件,附加方法: CREATE DATABASE 数据库名字 ON (FILENAME = 'mdf文件路径') FOR ATTACH_REBUILD_LOG
SQLServer2008R2SP2-KB2630458-x64-CHS