主页 > 知识库 > 安装sql server 2008时的4个常见错误和解决方法

安装sql server 2008时的4个常见错误和解决方法

热门标签:地方门户网站 铁路电话系统 网站排名优化 呼叫中心市场需求 服务外包 AI电销 Linux服务器 百度竞价排名

可能由于操作系统不同,或者在安装SQL 2008的时候已经安装SQL其他版本,因此可能会遇到问题,那么这时我们的实际经验和动手测试的能力也是非常重要的,这样才能少走弯路。

问题1:#65279;安装sql server 2008 R2,安装过程中提示错误:此计算机上安装了 Microsoft Visual Studio 2008 的早期版本。请在安装 SQL Server 2008 前将 Microsoft Visual Studio 2008 升级到 SP1。

之前我的电脑上确实装了vs2008,于是我准备去下载一个SP1补丁包,一看800多M的大小,本来安装这个软件就已经很麻烦了,还得花时间下载,那有没有其他更好的办法呢?其实很简单,只需要改一下注册表即可,方法如下:

解决方法:

修改注册表。

运行注册表,将HKEY-Local-Machine/Software/Microsoft/DevDiv重命名就行。

安装好后再将其改回。

将SQL Server安装返回上一步,然后再点下一步,这个问题就成功解决了。

问题2:安装SQL2008,提示删除SQL2005Express工具的解决方法

在安装SQL2008的时候,提示要删除SQL2005EXPRESS工具,在网上找了很多资料,终于找到一个比较方便的方法了,希望能帮助大家。修改注册表:HKEY_LOCAL_MACHINE\Software\Microsoft\Microsoft SQL Server\90\Tools\ShellSEM,将ShellSEM项重命名或删除即可。

无法安装 SQL Server 2008 Management Studio Express

故障现象:

在windows7中已经安装好SQL Server 2008 Express 并且已经安装好SP3,然后从微软官网下载SQL Server 2008 Management Studio Express 安装,发现在安装过程中,没有添加 Management 工具这一项。

解决方法:

先使用sql server2008安装中心(在开始菜单的microsoft sql server 2008里面有)的维护功能,将express升级到具有高级服务的Express。再安装SQL Server 2008 Management Studio Express,这就可以发现工具这个选项。安装成功。

其他提示:

在安装SQL Server 2008 Management Studio Express 时会出现 ”此程序存在已知兼容性问题“ 的对话框。如果你确认自己已经安装过 SP1 以上的文件,并已升级到具有高级服务的express,那么不用理会这个对话框,直接按 ”运行程序“这个按钮。不会有任何问题。

问题3、解决无法安装SQL Server 2008 Management Studio Express的问题

我的sql server 2008 express是visual studio 2010自带的,所以当然它没有management studio ,自己下了一个安装,不过无法安装SQL Server 2008 Management Studio Express。提示未选择功能。

刚从网上找到解决方案,本人测试通过,再次分享:

VS2010自带的SQL Server是Express简化版的,需要到“SQL Server安装中心>维护>版本升级”,把它升级成“具有高级服务的Express”(很快就可完成)。再运行SQL Server 2008 Management Studio Express安装包,随后会再次弹出SQL Server安装中心,选择“安装>全新SQL Server独立安装或向现有安装添加功能”,接下去就可以添加Management Studio了。

下面是对具有高级服务的express版本的一些介绍:

具有高级服务的 SQL Server Express 具备 SQL Server 2005 Express Edition 中的全部功能,并且还具有下列功能:

借助 SQL Server 2005 Management Studio Express (SSMSE) 这一新的易于使用的图形管理工具,轻松管理 SQL Server Express。

对 SQL Server 表中纯字符数据发出全文查询。 全文查询可以包括词和短语,或者词或短语的多种形式。

对本地关系数据运行 SQL Server Reporting Services 报表。

现在,允许management studio express安装文件,出现管理工具选项了:

问题4、安装程序配置检查RebootRequiredCheck时失败,问题解决方法

问题描述:  

GlobalRules: 针对规则组“GlobalRules”的 SQL Server 2008 安装程序配置检查

RebootRequiredCheck
检查是否需要挂起计算机重新启动。挂起重新启动会导致安装程序失败。
失败
需要重新启动计算机。必须重新启动计算机才能安装 SQL Server。

其它检查都是“已通过”。

解决方法:

还是用修改注册表的方法

1. 在开始->运行中输入regedit ;
2. 找到 HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager 位置 ;
3. 将右边窗口中名称为PendingFileRenameOperations的项删除,然后确认 ;
4. 重新启用安装或修复程序,即可。

问题5、SQL Server 2008安装失败:Error writing to file:Microsoft.analysisServices.AdomdClient.dll.

问题描述

==========

SQL Server 2008 标准版安装在Windows Server 2008上失败,错误为:

Error writing to file:Microsoft.analysisServices.AdomdClient.dll. Verify that you have access to that directory.

故障排查

==========

根据错误日志,存在以下错误信息:

1.在安装到Install_sql_common_core_Cpu32_Action : InstallFiles. Copying new files时出现以下错误信息:

Error writing to file:Microsoft.analysisServices.AdomdClient.dll. Verify that you have access to that directory.

2.在安装到Install_SqlBrowser_Cpu32_Action时出现以下错误信息:

系统无法从指定的设备上读取(The system cannot read from the specified device.)

3.在Detail.txt中存在以下错误信息:

复制代码 代码如下:

Bootstrap/Log/20110620_153155/Registry_SOFTWARE_Microsoft_MSSQLServer.reg_
2011-06-20 16:07:03 Slp: 系统无法从指定的设备上读取。
2011-06-20 16:07:03 Slp: Watson bucket for Msi based failure has been created
2011-06-20 16:07:03 Slp: InstallPackage: MsiInstallProduct returned the result code 30.
2011-06-20 16:07:03 Slp: Retry-able MSI return code detected: 30
2011-06-20 16:07:03 Slp: Prompting user if they want to retry this action due to the following failure:
2011-06-20 16:07:03 Slp: ----------------------------------------
2011-06-20 16:07:03 Slp: The following is an exception stack listing the exceptions in outermost to innermost order
2011-06-20 16:07:03 Slp: Inner exceptions are being indented
2011-06-20 16:07:03 Slp:
2011-06-20 16:07:03 Slp: Exception type: Microsoft.SqlServer.Configuration.MsiExtension.MsiExtensionException
2011-06-20 16:07:03 Slp:     Message:
2011-06-20 16:07:03 Slp:         SQL Server 安装程序在运行 Windows Installer 文件时遇到错误。
2011-06-20 16:07:03 Slp:       
2011-06-20 16:07:03 Slp:         Windows Installer 错误消息: 系统无法从指定的设备上读取。
2011-06-20 16:07:03 Slp:       
2011-06-20 16:07:03 Slp:         Windows Installer 文件: N:/x86/setup/sqlbrowser.msi
2011-06-20 16:07:03 Slp:         Windows Installer 日志文件: C:/Program Files/Microsoft SQL Server/100/Setup Bootstrap/Log/20110620_153155/SqlBrowser_Cpu32_1.log
2011-06-20 16:07:03 Slp:     Data:
2011-06-20 16:07:03 Slp:       DisableRetry = true
2011-06-20 16:07:03 Slp:     Inner exception type: System.ComponentModel.Win32Exception
2011-06-20 16:07:03 Slp:         Message:
2011-06-20 16:07:03 Slp:                 系统无法从指定的设备上读取。
2011-06-20 16:07:03 Slp:               
2011-06-20 16:07:03 Slp: ----------------------------------------
2011-06-20 16:23:57 Slp: Error result: -2068643839
2011-06-20 16:23:57 Slp: Result facility code: 1203
2011-06-20 16:23:57 Slp: Result error code: 1
2011-06-20 16:23:57 Slp: Sco: Attempting to create base registry key HKEY_LOCAL_MACHINE, machine
2011-06-20 16:23:57 Slp: Sco: Attempting to open registry subkey Software/Microsoft/PCHealth/ErrorReporting/DW/Installed
2011-06-20 16:23:57 Slp: Sco: Attempting to get registry value DW0200
2011-06-20 16:23:58 Slp: Submitted 5 of 5 failures to the Watson data repository
2011-06-20 16:24:05 Slp: Detected localization resources folder: 1033
2011-06-20 16:24:05 Slp: Detected localization resources folder: 2052
4.在SqlBrowser_Cpu32_1.log中存在以下错误信息:
MSI (s) (30:D4) [16:05:48:937]: Note: 1: 1305 2: N:/x86/setup/sqlbrowser.msi 3: 1117
MSI (s) (30:10) [16:07:03:656]: I/O on thread 2992 could not be cancelled. Error: 1168
MSI (s) (30:10) [16:07:03:656]: I/O on thread 796 could not be cancelled. Error: 1168
MSI (s) (30:10) [16:07:03:656]: I/O on thread 2172 could not be cancelled. Error: 1168
MSI (s) (30:10) [16:07:03:656]: I/O on thread 3280 could not be cancelled. Error: 1168
MSI (s) (30:10) [16:07:03:656]: I/O on thread 3796 could not be cancelled. Error: 1168
MSI (s) (30:10) [16:07:03:656]: I/O on thread 812 could not be cancelled. Error: 1168
MSI (s) (30:D4) [16:07:03:656]: MainEngineThread is returning 30
MSI (s) (30:10) [16:07:03:656]: No System Restore sequence number for this installation.

系统无法从指定的设备上读取。

出现以上错误可能是由于系统无法从光驱中读取安装文件。可能有以下几种原因:

1.光驱发生损坏

2.安装光盘中的文件发生损坏。

3.通过远程路径进行安装,并且不具有足够的权限

4.通过远程桌面进行安装

解决办法

==========

1.将光盘中的文件复制粘贴到本地(如果出现错误,请从网站上重新获取正确完好的安装文件)

2.在本地直接安装而不使用远程安装

您可能感兴趣的文章:
  • SQL Server附加数据库报错无法打开物理文件,操作系统错误5的图文解决教程
  • SQL Server附加数据库出错,错误代码5123
  • SQL Server 2005附加数据库时Read-Only错误的解决方案
  • Sqlserver 2005附加数据库时出错提示操作系统错误5(拒绝访问)错误5120的解决办法
  • MSSQL2005在networkservice权限运行附加数据库报(Microsoft SQL Server,错误: 5120)
  • 在与 SQL Server 建立连接时出现与网络相关的或特定于实例的错误。未找到或无法访问服务器
  • SQL Server 2008登录错误:无法连接到(local)解决方法
  • MySQL错误ERROR 2002 (HY000): Can''t connect to local MySQL server through socket
  • SQL Server错误代码大全及解释(留着备用)
  • SQL Server数据库附加失败的解决办法

标签:湖南 铜川 仙桃 崇左 兰州 湘潭 黄山 衡水

巨人网络通讯声明:本文标题《安装sql server 2008时的4个常见错误和解决方法》,本文关键词  ;如发现本文内容存在版权问题,烦请提供相关信息告之我们,我们将及时沟通与处理。本站内容系统采集于网络,涉及言论、版权与本站无关。
  • 相关文章
  • 收缩
    • 微信客服
    • 微信二维码
    • 电话咨询

    • 400-1100-266