安装sqlserver时,提示:以前的某个程序安装已在安装计算机上创建挂起的文件操作。运行安装程序之前必须重新启动计算机。
以前没有安过sqlserver,重启还是如此。但是机器里装过sybase12.5,是不是这个问题,如果是的话怎么解决。

解决方案 »

  1.   

    http://community.csdn.net/Expert/topic/4801/4801825.xml?temp=.9258081
      

  2.   

    楼上的文章我看了,是让把sqlserver彻底卸载干净。  
    但是我机器里根本没有sqlserver。注册表里也没有。
    文章里说:
    5。Windows   目录中的   Sqlstp.log   文件,该文件列出了安装程序所执行的操作的详细信息,并包含安装期间遇到的所有错误。通过检查该文件,可以详细了解安装在什么地方失败、为什么失败。
    sqlstp.log文件如下:
    10:40:24 Windows Directory=C:\WINNT\
    10:40:24 Program Files=C:\Program Files\
    10:40:24 TEMPDIR=C:\WINNT\TEMP\
    10:40:24 Begin Action:  SetupInstall
    10:40:24 digpid size : 256
    10:40:25 digpid size : 164
    10:40:25 Begin Action:  CheckFixedRequirements
    10:40:25 Platform ID: 0xf0000000
    10:40:25 Version: 5.0.2195
    10:40:25 File Version - C:\WINNT\system32\shdocvw.dll: 6.0.2800.1106
    10:40:25 End Action:  CheckFixedRequirements
    10:40:25 Begin Action:  ShowDialogs
    10:40:25 Initial Dialog Mask: 0x183000f7, Disable Back=0x1
    10:40:25 Begin Action ShowDialogsHlpr: 0x1
    10:40:25 Begin Action:  DialogShowSdWelcome
    10:40:28 End Action  DialogShowSdWelcome
    10:40:28 Dialog 0x1 returned: 1
    10:40:28 End Action ShowDialogsHlpr
    10:40:28 ShowDialogsGetDialog returned: nCurrent=0x2,index=1
    10:40:28 Begin Action ShowDialogsHlpr: 0x2
    10:40:28 Begin Action:  DialogShowSdMachineName
    10:55:32 ShowDlgMachine returned: -1
    10:55:32 ShowDlgMachine: GetLastError returned: 0
    10:55:32 操作成功完成。10:55:32 End Action  DialogShowSdMachineName
    10:55:32 End Action ShowDialogs
    10:55:32 Action CleanUpInstall:
    10:55:32 StatsGenerate returned: 2
    10:55:32 StatsGenerate (0x0,0x0,0xf0000000,0x0,2052,0,0x0,0x0,0,0,0
    10:55:33 StatsGenerate -1,)
    10:55:33 Installation Failed.
      

  3.   

    我怀疑是sybase和sqlserver冲突,是不是这样?
      

  4.   

    继续关注。。
    此类型问题,是要到注册表里删除相关的SQL SERVER的安装信息
      

  5.   

    首先看安装版本对不对,对的话
    估计是和SYBASE有冲突,建议完全卸载后,再把注册表用超级兔子或者优化大师清理一下
    我也遇到过这样的问题
      

  6.   

    你的问题应该用下面这种方法解决:
    在HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager中找到PendingFileRenameOperations项目,并删除它。这样就可以清除安装暂挂项目。
    就可以继续安装了。