Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

以下操作如果没有发现可以删除的内容即可不用管。

首先在控制面板下删除sql程序,然后把安装目录和C:\Program Files下的Microsoft SQL Server文件夹
删了,删除在current_user和local_machine\software\microsoft\ 下有
关 Microsoft sql server 全部信息,然后
1 打开注册表
在"开始"--"运行"键入 "regedit"
2 按下列顺序点击打开
+ HKEY_LOCAL_MACHINE
+ SOFTWARE
+ Microsoft
+ Windows
+ CurrentVersion
+ Setup
+ ExceptionComponents
3 将 ExceptionComponents 下面的文件夹全部删除!
如 {60BFF50D-FB2C-4498-A577-C9548C390BB9}
{60BFF50D-FB2C-4498-A577-C9548C390BB9}
{60BFF50D-FB2C-4498-A577-C9548C390BB9}
{60BFF50D-FB2C-4498-A577-C9548C390BB9}


删除以下注册表路径的项目
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSSQLServer。 HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\MSDTC。

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manage中的PendingFileRenameOperations项目

如果仍然不行,
在Windows/System32目录下有几个脚本文件,可以来完成驱动程序的注册:

 odbcconf.exe /S /Lv odbcconf.log /F %systemroot%\system32\mdaccore.rsp
 odbcconf.exe /S /Lv odbcconf.log /F %systemroot%\system32\sqlclnt.rsp
 odbcconf.exe /S /Lv odbcconf.log /F %systemroot%\system32\odbcconf.rsp
 odbcconf.exe /S /Lv odbcconf.log /F %systemroot%\system32\redist.rsp

在开始——运行中复制以上内容后点确定,完成后重新启动电脑,再重装sql
  • No labels