sql sever无法安装的问题的解决方法

今天安装sql sever,竟然无法安装,按照以往的经验,将所有关于sql sever的东东删掉,重启还是无法安装,错误日志如下:
22:31:14 Begin Setup
22:31:14 8.00.194
22:31:14 Mode = Normal
22:31:14 ModeType = NORMAL
22:31:14 GetDefinitionEx returned: 0, Extended: 0x0
22:31:14 ValueFTS returned: 1
22:31:14 ValuePID returned: 1
22:31:14 ValueLic returned: 1
22:31:14 System: Windows NT Enterprise Server
22:31:14 SQL Server ProductType: Enterprise Edition [0x3]
22:31:14 IsNTCluster returned: 0
22:31:14 Begin Action: SetupInitialize
22:31:14 End Action SetupInitialize
22:31:14 Begin Action:  SetupInstall
22:31:14 Reading Software\Microsoft\Windows\CurrentVersion\CommonFilesDir ...
22:31:14 CommonFilesDir=C:\Program Files\Common Files
22:31:14 Windows Directory=C:\WINDOWS\
22:31:14 Program Files=C:\Program Files\
22:31:14 TEMPDIR=C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\
22:31:14 Begin Action:  SetupInstall
22:31:14 digpid size : 256
22:31:15 digpid size : 164
22:31:15 Begin Action:  CheckFixedRequirements
22:31:15 Platform ID: 0xf00000
22:31:15 Version: 5.2.3790
22:31:15 File Version - C:\WINDOWS\system32\shdocvw.dll: 6.0.3790.1830
22:31:15 End Action:  CheckFixedRequirements
22:31:15 Begin Action:  ShowDialogs
22:31:15 Initial Dialog Mask: 0x183000f7, Disable Back=0x1
22:31:15 Begin Action ShowDialogsHlpr: 0x1
22:31:15 Begin Action:  DialogShowSdWelcome
22:31:15 End Action  DialogShowSdWelcome
22:31:15 Dialog 0x1 returned: 1
22:31:15 End Action ShowDialogsHlpr
22:31:15 ShowDialogsGetDialog returned: nCurrent=0x2,index=1
22:31:15 Begin Action ShowDialogsHlpr: 0x2
22:31:15 Begin Action:  DialogShowSdMachineName
22:31:34 ShowDlgMachine returned: -1
22:31:34 ShowDlgMachine: GetLastError returned: 0
22:31:34 操作成功完成。

22:31:34 End Action  DialogShowSdMachineName
22:31:34 End Action ShowDialogs
22:31:34 Action CleanUpInstall:
22:31:34 StatsGenerate returned: 2
22:31:34 StatsGenerate (0x0,0x0,0xf00000,0x0,2052,0,0x0,0x0,0,0,0
22:31:34 StatsGenerate -1,)
22:31:34 Installation Failed.

    打开注册表编辑器,在HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager中找到PendingFileRenameOperations项目,并删除它,将所有的随系统启动的项去掉,重新启动,进安全模式下安装,终于看到希望,只不过竟然要输入序列号,又是百年难遇的问题,汗。重启进系统,重复刚才的操作,ok,sql server总于安装成功。。。
    用微软的东西多了,开始有点厌倦了,有些东西总是莫名其妙的,只不过它就是强,大树地下好乘凉。。。

你可能感兴趣的:(sql)