SQL Server 2005安装失败,ERROR:29534

问题描述

==========

SQL Server 2005安装SP4时发生错误

故障排查

==========
在summary.txt存在以下错误信息:

Product                   : Database Services (MSSQLSERVER)

Product Version (Previous): 5000

Product Version (Final)   :

Status                    : Failure

Log File                  : C:/Program Files/Microsoft SQL Server/90/Setup Bootstrap/LOG/Hotfix/SQL9_Hotfix_KB2463332_sqlrun_sql.msp.log

Error Number              : 29534

Error Description         : MSP Error: 29534  Service 'MSSQLSERVER' could not be started. Verify that you have sufficient privileges to start system services. The error code is (1814) The specified resource name cannot be found in the image file

查看SQL9_Hotfix_KB2463332_sqlrun_sql.msp.log后,存在以下错误信息:

Failed to add file 'C:/Program Files/Microsoft SQL Server/MSSQL.1/MSSQL/LOG/ERRORLOG' to datastore in AddFileToFailureHandling

Service MSSQLSERVER with parameters '-r -f' is being started at Thu Mar 10 15:54:46 2011

Failed to start service MSSQLSERVER. Error code 1814

Service failed unexpectedly (1814)

        Error Code: 0x80070716 (1814)

Windows Error Text: The specified resource name cannot be found in the image file.

  Source File Name: sqlsetuplib/service.cpp

Compiler Timestamp: Sat Sep 18 20:51:30 2010

     Function Name: sqls::Service::Start

Source Line Number: 301

找到Mar 10 15:54:46 2011的ERRORLOG,存在如下错误信息

2011-03-10 15:54:51.55 spid6s      Error: 5118, Severity: 16, State: 1.

2011-03-10 15:54:51.55 spid6s      The file "C:/Program Files/Microsoft SQL Server/MSSQL.1/MSSQL/DATA/tempdb.mdf" is compressed but does not reside in a read-only database or filegroup. The file must be decompressed.

2011-03-10 15:54:51.57 spid6s      Error: 5118, Severity: 16, State: 1.

2011-03-10 15:54:51.57 spid6s      The file "C:/Program Files/Microsoft SQL Server/MSSQL.1/MSSQL/DATA/tempdb.mdf" is compressed but does not reside in a read-only database or filegroup. The file must be decompressed.

2011-03-10 15:54:51.63 spid6s      Error: 1802, Severity: 16, State: 4.

2011-03-10 15:54:51.63 spid6s      CREATE DATABASE failed. Some file names listed could not be created. Check related errors.

2011-03-10 15:54:51.63 spid6s      Could not create tempdb. You may not have enough disk space available. Free additional disk space by deleting other files on the tempdb drive and then restart SQL Server. Check for additional errors in the event log that may indicate why the tempdb files could not be initialized.

这表明tempdb.mdf可能设置了压缩选项。

解决办法

==========

1.找到C:/Program Files/Microsoft SQL Server/MSSQL.1/MSSQL/DATA/tempdb.mdf,右键->属性->高级->查看“压缩该磁盘以节省空间”的选项是否被勾选,如果勾选,则取消这个选项。

2.用相同办法查看该活页夹中的其他数据库文件,是否也勾选了这个选项(如果文件名为蓝色,可能该文件选择了压缩选项),并改正。

3.查看C盘的磁盘空间是否不足,如果不足,请确保具有足够的磁盘空间。(不要通过勾选“压缩磁盘”来节省空间,如果确实空间不够,请与我联系,我将帮助您一同将数据文件迁移至其他磁盘。)

4.重新安装SQL Server SP4

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
解决 win8系统安装sql2005时报了服务无法启动问题,具体操作是通过网上搜索过来的 1、正常安装任一版本的SQL Server 2005(最好安装企业版)。 2、安装SqlServer服务的时候提示启动服务失败(提示重试的时候),这里就是关键啦,下载本文的两个附件,里面是SP4(2005.90.5000.0)版本的sqlservr.exe和sqlos.dll。 sqlservr64.rar sqlservr32.rar 3、进入SQL Server 2005安装路径,进入MSSQL文件夹下面的Binn文件夹,在该文件夹里面搜索“sqlservr.exe”文件,并把它复制一份到桌面或其它地方作为备份,然后把上面第2步下载的文件解压出sqlservr.exe和sqlos.dll两个文件,复制到Binn文件夹里面覆盖原文件(即点击替换)。 例如“D:\Program Files\Microsoft SQL Server\MSSQL.2\MSSQL\Binn”。 4、点击“重试”,安装继续,安装程序安装成功。 5、安装完成之后,如果想要打SP4补丁,去任务管理器找到sqlservr.exe进程,把它结束掉,把备份的sqlservr.exe文件还原回去,也就是替换回去(否则SP4安装程序以为你已经应用过SP4),然后就能打上SP4补丁了(即安装已经下载好的SP4更新程序)。(在此之前不要运行SQL任何软件) 6、安装完SP4补丁,SQL Server运行正常。(补丁可以网上下载,是一个exe格式的可执行文件,实际上就是一个更新软件包,也可叫补丁,只是叫法不一样)。 通过以上六个步骤基本可以解决问题。没有解决的可能是当前登录不是超级管理员导致的。

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值