Home  >  Article  >  Database  >  如何解决微软sqlserver 2005 数据库重装不上的各种问题

如何解决微软sqlserver 2005 数据库重装不上的各种问题

WBOY
WBOYOriginal
2016-06-07 15:51:221567browse

1、安装过程中提示系统内已经存在实例名的解决办法 卸载SQL2005后再重新安装发现卸载不彻底,提示我还占用着我的默认实例名,让我再给一个唯一的实例名 1.用微软自己的删除工具卸载 Windows Install Clean up.下载地址:http://support.microsoft.com/defaul


1、安装过程中提示系统内已经存在实例名的解决办法

卸载SQL2005后再重新安装发现卸载不彻底,提示我还占用着我的默认实例名,让我再给一个唯一的实例名

1.用微软自己的删除工具卸载
Windows Install Clean up.下载地址:http://support.microsoft.com/default.aspx?kbid=290301

2.删除其安装目录

3.注册表中删相关键值
删除C:\Program Files\Microsoft SQL Server这整个文件夹,regedit打开注册表
删除[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server]主键
删除[HKEY_CURRENT_USER\Software\Microsoft\Microsoft SQL Server]主键

重新启动计算机即


2、如果卸载干净系统内的SQL2005


1)添加/删除程序中彻底删除sql server。 

2)将没有删除的sql server目录也删除掉。 

3)打开注册表编辑器,在     HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager中找到PendingFileRenameOperations项目,并删除它。这样就可以清除安装暂挂项目

删除完 不要马上重启 安装完SQL 在重新启动 否则 挂起文件有可能恢复


再遇到安装的问题会继续补充该文章 欢迎大家拍砖




Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn