有关SQL SERVER的那些文件夹删除干净没?
注册表也需要清理一下。

解决方案 »

  1.   

    我之前安装也出现类似问题,但是我又下了一个SQL SERVER2008安装文件,安装好了(安装前删掉所有东西,注册码之类的网上应该有的)
      

  2.   

    Overall summary:
      Final result:                  SQL Server 安装失败。若要继续操作,请调查失败原因,更正问题,卸载 SQL Server,然后重新运行 SQL Server 安装程序。
      Exit code (Decimal):           -2068052377
      Exit facility code:            1212
      Exit error code:               1639
      Exit message:                  SQL Server 安装失败。若要继续操作,请调查失败原因,更正问题,卸载 SQL Server,然后重新运行 SQL Server 安装程序。
      Start time:                    2014-06-15 22:22:54
      End time:                      2014-06-15 22:39:52
      Requested action:              Install
      Log with failure:              C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20140615_222053\sql_engine_core_inst_Cpu64_1.log
      Exception help link:           http://go.microsoft.com/fwlink?LinkId=20476&ProdName=Microsoft+SQL+Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=10.50.1600.1Machine Properties:
      Machine name:                  TEER-PC
      Machine processor count:       4
      OS version:                    Windows 7
      OS service pack:               Service Pack 1
      OS region:                     中华人民共和国
      OS language:                   中文(中华人民共和国)
      OS architecture:               x64
      Process architecture:          64 位
      OS clustered:                  否Product features discovered:
      Product              Instance             Instance ID                    Feature                                  Language             Edition              Version         Clustered Package properties:
      Description:                   SQL Server Database Services 2008 R2
      ProductName:                   SQL Server 2008 R2
      Type:                          RTM
      Version:                       10
      SPLevel:                       0
      Installation location:         D:\Install\cn_sql_server_2008_r2_developer_x86_x64_ia64_dvd_522724\x64\setup\
      Installation edition:          DEVELOPER用户输入设置:
      ACTION:                        Install
      ADDCURRENTUSERASSQLADMIN:      False
      AGTSVCACCOUNT:                 NT AUTHORITY\NETWORK SERVICE
      AGTSVCPASSWORD:                *****
      AGTSVCSTARTUPTYPE:             Manual
      ASBACKUPDIR:                   C:\Program Files\Microsoft SQL Server\MSAS10_50.TEER\OLAP\Backup
      ASCOLLATION:                   Chinese_PRC_CI_AS
      ASCONFIGDIR:                   C:\Program Files\Microsoft SQL Server\MSAS10_50.TEER\OLAP\Config
      ASDATADIR:                     C:\Program Files\Microsoft SQL Server\MSAS10_50.TEER\OLAP\Data
      ASDOMAINGROUP:                 <空>
      ASLOGDIR:                      C:\Program Files\Microsoft SQL Server\MSAS10_50.TEER\OLAP\Log
      ASPROVIDERMSOLAP:              1
      ASSVCACCOUNT:                  NT AUTHORITY\NETWORK SERVICE
      ASSVCPASSWORD:                 *****
      ASSVCSTARTUPTYPE:              Automatic
      ASSYSADMINACCOUNTS:            Teer-PC\Teer
      ASTEMPDIR:                     C:\Program Files\Microsoft SQL Server\MSAS10_50.TEER\OLAP\Temp
      BROWSERSVCSTARTUPTYPE:         Automatic
      CONFIGURATIONFILE:             C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20140615_222053\ConfigurationFile.ini
      CUSOURCE:                      
      ENABLERANU:                    False
      ENU:                           False
      ERRORREPORTING:                False
      FARMACCOUNT:                   <空>
      FARMADMINPORT:                 0
      FARMPASSWORD:                  *****
      FEATURES:                      SQLENGINE,REPLICATION,FULLTEXT,AS,RS,BIDS,CONN,IS,BC,SDK,BOL,SSMS,ADV_SSMS,SNAC_SDK,OCS
      FILESTREAMLEVEL:               0
      FILESTREAMSHARENAME:           <空>
      FTSVCACCOUNT:                  NT AUTHORITY\LOCAL SERVICE
      FTSVCPASSWORD:                 *****
      HELP:                          False
      IACCEPTSQLSERVERLICENSETERMS:  False
      INDICATEPROGRESS:              False
      INSTALLSHAREDDIR:              C:\Program Files\Microsoft SQL Server\
      INSTALLSHAREDWOWDIR:           C:\Program Files (x86)\Microsoft SQL Server\
      INSTALLSQLDATADIR:             <空>
      INSTANCEDIR:                   C:\Program Files\Microsoft SQL Server\
      INSTANCEID:                    Teer
      INSTANCENAME:                  TEER
      ISSVCACCOUNT:                  NT AUTHORITY\NETWORK SERVICE
      ISSVCPASSWORD:                 *****
      ISSVCSTARTUPTYPE:              Automatic
      NPENABLED:                     0
      PASSPHRASE:                    *****
      PCUSOURCE:                     
      PID:                           *****
      QUIET:                         False
      QUIETSIMPLE:                   False
      ROLE:                          <空>
      RSINSTALLMODE:                 DefaultNativeMode
      RSSVCACCOUNT:                  NT AUTHORITY\NETWORK SERVICE
      RSSVCPASSWORD:                 *****
      RSSVCSTARTUPTYPE:              Automatic
      SAPWD:                         *****
      SECURITYMODE:                  SQL
      SQLBACKUPDIR:                  <空>
      SQLCOLLATION:                  Chinese_PRC_CI_AS
      SQLSVCACCOUNT:                 NT AUTHORITY\NETWORK SERVICE
      SQLSVCPASSWORD:                *****
      SQLSVCSTARTUPTYPE:             Automatic
      SQLSYSADMINACCOUNTS:           Teer-PC\Teer
      SQLTEMPDBDIR:                  <空>
      SQLTEMPDBLOGDIR:               <空>
      SQLUSERDBDIR:                  <空>
      SQLUSERDBLOGDIR:               <空>
      SQMREPORTING:                  False
      TCPENABLED:                    0
      UIMODE:                        Normal
      X86:                           False  Configuration file:            C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20140615_222053\ConfigurationFile.iniDetailed results:
      Feature:                       数据库引擎服务
      Status:                        失败: 请查看日志了解详细信息
      MSI status:                    失败: 请查看下面的详细信息
      MSI error code:                0x1639
      MSI log file location:         C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20140615_222053\sql_engine_core_inst_Cpu64_1.log
      MSI error description:         
      Configuration status:          已通过  Feature:                       SQL 客户端连接 SDK
      Status:                        已通过
      MSI status:                    已通过
      Configuration status:          已通过  Feature:                       SQL Server 复制
      Status:                        失败: 请查看日志了解详细信息
      MSI status:                    失败: 请查看下面的详细信息
      MSI error code:                0x1639
      MSI log file location:         C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20140615_222053\sql_engine_core_inst_Cpu64_1.log
      MSI error description:         
      Configuration status:          已通过  Feature:                       全文搜索
      Status:                        失败: 请查看日志了解详细信息
      MSI status:                    失败: 请查看下面的详细信息
      MSI error code:                0x1639
      MSI log file location:         C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20140615_222053\sql_engine_core_inst_Cpu64_1.log
      MSI error description:         
      Configuration status:          已通过  Feature:                       Analysis Services
      Status:                        失败: 请查看日志了解详细信息
      MSI status:                    失败: 请查看下面的详细信息
      MSI error code:                0x1639
      MSI log file location:         C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20140615_222053\sql_as_Cpu64_1.log
      MSI error description:         
      MSI status:                    失败: 请查看下面的详细信息
      MSI error code:                0x1639
      MSI log file location:         C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20140615_222053\sql_engine_core_inst_Cpu64_1.log
      MSI error description:         
      Configuration status:          已通过  Feature:                       Reporting Services
      Status:                        失败: 请查看日志了解详细信息
      MSI status:                    失败: 请查看下面的详细信息
      MSI error code:                0x1639
      MSI log file location:         C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20140615_222053\sql_engine_core_inst_Cpu64_1.log
      MSI error description:         
      Configuration status:          已通过  Feature:                       Integration Services
      Status:                        已通过
      MSI status:                    已通过
      Configuration status:          已通过  Feature:                       客户端工具连接
      Status:                        已通过
      MSI status:                    已通过
      Configuration status:          已通过  Feature:                       管理工具 - 完整
      Status:                        已通过
      MSI status:                    已通过
      Configuration status:          已通过  Feature:                       管理工具 - 基本
      Status:                        已通过
      MSI status:                    已通过
      Configuration status:          已通过  Feature:                       客户端工具 SDK
      Status:                        已通过
      MSI status:                    已通过
      Configuration status:          已通过  Feature:                       客户端工具向后兼容性
      Status:                        已通过
      MSI status:                    已通过
      Configuration status:          已通过  Feature:                       Business Intelligence Development Studio
      Status:                        已通过
      MSI status:                    已通过
      Configuration status:          已通过  Feature:                       SQL Server 联机丛书
      Status:                        已通过
      MSI status:                    已通过
      Configuration status:          已通过  Feature:                       Microsoft Sync Framework
      Status:                        已通过
      MSI status:                    已通过
      Configuration status:          已通过Rules with failures:Global rules:Scenario specific rules:Rules report file:               C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20140615_222053\SystemConfigurationCheck_Report.htm
      

  3.   

    在这里找日志贴出来看看:%Program Files%\Microsoft SQL Server\100\Setup Bootstrap\Log
      

  4.   

    你发的提示中有个错误日志 C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20140615_222053\sql_engine_core_inst_Cpu64_1.log,看看有什么信息可以提供
      

  5.   

    === Verbose logging started: 2014/6/15  23:34:04  Build type: SHIP UNICODE 5.00.7601.00  Calling process: C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\SQLServer2008R2\x64\setup100.exe ===
    MSI (c) (EC:F8) [23:34:04:679]: Resetting cached policy values
    MSI (c) (EC:F8) [23:34:04:679]: Machine policy value 'Debug' is 0
    MSI (c) (EC:F8) [23:34:04:679]: ******* RunEngine:
               ******* Product: D:\Install\cn_sql_server_2008_r2_developer_x86_x64_ia64_dvd_522724\x64\setup\sql_engine_core_inst_msi\sql_engine_core_inst.msi
               ******* Action: 
               ******* CommandLine: **********
    MSI (c) (EC:F8) [23:34:04:680]: Client-side and UI is none or basic: Running entire install on the server.
    MSI (c) (EC:F8) [23:34:04:680]: Grabbed execution mutex.
    MSI (c) (EC:F8) [23:34:04:681]: Cloaking enabled.
    MSI (c) (EC:F8) [23:34:04:681]: Attempting to enable all disabled privileges before calling Install on Server
    MSI (c) (EC:F8) [23:34:04:681]: Incrementing counter to disable shutdown. Counter after increment: 0
    MSI (s) (60:C0) [23:34:04:684]: Running installation inside multi-package transaction D:\Install\cn_sql_server_2008_r2_developer_x86_x64_ia64_dvd_522724\x64\setup\sql_engine_core_inst_msi\sql_engine_core_inst.msi
    MSI (s) (60:C0) [23:34:04:684]: Grabbed execution mutex.
    MSI (s) (60:3C) [23:34:04:685]: Resetting cached policy values
    MSI (s) (60:3C) [23:34:04:685]: Machine policy value 'Debug' is 0
    MSI (s) (60:3C) [23:34:04:685]: ******* RunEngine:
               ******* Product: D:\Install\cn_sql_server_2008_r2_developer_x86_x64_ia64_dvd_522724\x64\setup\sql_engine_core_inst_msi\sql_engine_core_inst.msi
               ******* Action: 
               ******* CommandLine: **********
    MSI (s) (60:3C) [23:34:04:685]: Machine policy value 'TransformsSecure' is 0
    MSI (s) (60:3C) [23:34:04:685]: User policy value 'TransformsAtSource' is 0
    MSI (s) (60:3C) [23:34:04:686]: Machine policy value 'DisableUserInstalls' is 0
    MSI (s) (60:3C) [23:34:04:686]: Specified instance {9FFAE13C-6160-4DD0-A67A-DAC5994F81BD} via transform :InstID02.mst;:InstName02.mst is already installed. MSINEWINSTANCE requires a new instance that is not installed.
    MSI (s) (60:3C) [23:34:04:686]: MainEngineThread is returning 1639
    MSI (s) (60:C0) [23:34:04:687]: User policy value 'DisableRollback' is 0
    MSI (s) (60:C0) [23:34:04:687]: Machine policy value 'DisableRollback' is 0
    MSI (s) (60:C0) [23:34:04:687]: Incrementing counter to disable shutdown. Counter after increment: 0
    MSI (s) (60:C0) [23:34:04:687]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts 3: 2 
    MSI (s) (60:C0) [23:34:04:687]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts 3: 2 
    MSI (s) (60:C0) [23:34:04:687]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\InProgress 3: 2 
    MSI (s) (60:C0) [23:34:04:687]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\InProgress 3: 2 
    MSI (s) (60:C0) [23:34:04:687]: Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied.  Counter after decrement: -1
    MSI (s) (60:C0) [23:34:04:687]: Restoring environment variables
    MSI (c) (EC:F8) [23:34:04:688]: Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied.  Counter after decrement: -1
    MSI (c) (EC:F8) [23:34:04:688]: MainEngineThread is returning 1639
    === Verbose logging stopped: 2014/6/15  23:34:04 ===