win 7系统安装SQLServer r2 2008数据库

一、SQLServer 2008 安装包下载与步骤

     本人采用最简单的方式:百度搜索。对比之后,采用了百度经验的做法,链接地址为:http://jingyan.baidu.com/article/c1a3101eb2e7dbde656debef.html

   这里发布的有x86(32位)和x64(64位)安装包的下载地址,本人点击的是x86位,链接指向百度云地址,文件大小1.47G,需要用百度云管家进行下载,挺方便的。

二、安装过程中遇到的问题

  (1) 双击setup.exe的之后,提示错误为:

************** 异常文本 **************
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\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]。

网络搜索大神们的解决方案,很统一:

删除文件:C:\Users\username\AppData\Local\Microsoft_Corporation\LandingPage.exe_StrongName_ryspccglaxmt4nhllj5z3thycltsvyyx\10.0.0.0\user.config

本人采用的方法是此大神的做法:http://blog.itpub.net/26622372/viewspace-714912/

简单方便,说白了,由于各人文件路径的不同,不好找这个文件,此大神选择检索Microsoft_Corporation文件夹,进一步确定目标文件进行删除的,个人认为:更加便捷,更加具有通用性。

(2)输入产品密钥,点击安装以后,报错信息为:

SQL Server 安装程序遇到以下错误:  MsiGetProductInfo 无法检索 Product Code 为“{3021C933-888B-4C2E-86BA-53374CF3CDC8}”的包的 ProductVersion。错误代码: 1605。

大神们的解决方案:对此问题,网上给出的方案一是删除很多已经存在的注册值,二是系统问题,重装系统就可以解决。本人电脑在安装之间确实存在残留的文件,比较懒,不愿意一个一个找那些注册文件,更不希望重装系统,耗不起时间。最终,我选择尝试一种更为简单的方法,链接在此:http://www.kwstu.com/ArticleView/419895180_201342161457824

虽然大神跟我的系统报错的Product Code不一样,但是他的解决方法让我觉得非常简单,所以打开注册表,一一点击之后,倒数第二个文件里发现了带有339c1203的文件(“3021C933”的倒排)。最终解决。

(3)提醒大家一定在最后安装的过程中关闭360杀毒软件!!!

如果不关闭,安装过程中,会反复弹出阻止本次操作,一不小心点错,就会导致软件安装成功,但是某些功能丢失,当然,如果用不到的功能,安装失败也没问题!


你可能感兴趣的:(sqlserver,2008)