2011-03-28 113 views
0
C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Release>Setup.exe /QUI 
ET /ACTION=REBUILDDATABASE /INSTANCENAME=SQL2008 /SQLSYSADMINACCOUNTS=sa /SA 
PWD=xxx /SQLCOLLATION=SQL_Latin1_General_CP1_CI_AS 

Microsoft (R) SQL Server 2008 Setup 10.00.2731.00 
Copyright (c) Microsoft Corporation. All rights reserved. 

The following error occurred: 
The state of your SQL Server installation was not changed after the setup execut 
ion. Please review the summary.txt logs for further details. 

Error result: -2068643838 
Result facility code: 1203 
Result error code: 2 

Please review the summary.txt log for further details 

username,passwd和insatnce是coreect。我尝试用本手册:不区分大小写MS SQL Server

http://v-reality.info/2010/10/vcenter-server-and-microsoft-sql-server-collation-conflicts/

日志:

Overall summary: 
    Final result:     Failed: see details below 
    Exit code (Decimal):   -2068643838 
    Exit facility code:   1203 
    Exit error code:    2 
    Exit message:     The state of your SQL Server installation was not changed after the setup execution. Please review the summary.txt logs for further details. 
    Start time:     2011-03-28 20:15:39 
    End time:      2011-03-28 20:16:11 
    Requested action:    RebuildDatabase 

Machine Properties: 
    Machine name:     MITJAB-NOTEBOK 
    Machine processor count:  2 
    OS version:     Windows Vista 
    OS service pack:    
    OS region:      Slovenija 
    OS language:     English (United States) 
    OS architecture:    x64 
    Process architecture:   64 Bit 
    OS clustered:     No 

Product features discovered: 
    Product    Instance    Instance ID     Feature         Language    Edition    Version   Clustered 
    Sql Server 2008               Management Tools - Basic     1033     Standard Edition  10.50.1600.1 No   
    Sql Server 2008               Management Tools - Complete    1033     Standard Edition  10.50.1600.1 No   
    Sql Server 2008               Client Tools Connectivity    1033     Standard Edition  10.50.1600.1 No   
    Sql Server 2008               Client Tools Backwards Compatibility  1033     Standard Edition  10.50.1600.1 No   
    Sql Server 2008               Client Tools SDK       1033     Standard Edition  10.50.1600.1 No   
    Sql Server 2008               Integration Services      1033     Standard Edition  10.50.1600.1 No   

Package properties: 
    Description:     SQL Server Database Services 2008 
    SQLProductFamilyCode:   {628F8F38-600E-493D-9946-F4178F20A8A9} 
    ProductName:     SQL2008 
    Type:       RTM 
    Version:      10 
    SPLevel:      0 
    Installation edition:   EVAL 

User Input Settings: 
    ACTION:      RebuildDatabase 
    CONFIGURATIONFILE:    
    HELP:       False 
    INDICATEPROGRESS:    False 
    INSTANCENAME:     SQL2008 
    QUIET:       True 
    QUIETSIMPLE:     False 
    SAPWD:       ***** 
    SQLCOLLATION:     SQL_Latin1_General_CP1_CI_AS 
    SQLSYSADMINACCOUNTS:   sa 
    X86:       False 

    Configuration file:   C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20110328_201509\ConfigurationFile.ini 

Detailed results: 

Rules with failures: 

Global rules: 

There are no scenario-specific rules. 

Rules report file:    C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20110328_201509\SystemConfigurationCheck_Report.htm 

Exception summary: 
The following is an exception stack listing the exceptions in outermost to innermost order 
Inner exceptions are being indented 

Exception type: Microsoft.SqlServer.Setup.Chainer.Workflow.NoopWorkflowException 
    Message: 
     The state of your SQL Server installation was not changed after the setup execution. Please review the summary.txt logs for further details 

+0

看起来你打相同的问题在这里海报http://social.msdn.microsoft.com/Forums/en/sqlsetupandupgrade/thread/738f5c3e-733c-4560-bbd3-22b78ead03aa – 2011-03-28 19:05:35

+0

这是不是演示版本,它是生产vesrion。 sql 2008标准版 – senzacionale 2011-03-28 19:20:21

+0

它在日志文件中显示“安装版本:EVAL”。 – 2011-03-28 19:22:05

回答

5

如果你使用SQL Server 2008 R2,请尝试从运行setup.exe:

\ Program Files文件\ Microsoft SQL Server的\ 100 \ SETUP 引导\ SQLServer2008R2

你如果命令行中的版本与正在运行的SQL Server的版本不匹配,则可以确定可能存在问题/不匹配 - 例如,Management Studio说它的版本是10.50.1600,而运行的是错误的setup.exe显示10.00.2731.00的版本。

1

我今天在这个上浪费了很多时间,尝试正常的命令提示符,提升的命令提示符,SQL Server CD上的setup.exe,Bootstrap文件夹中的setup.exe等等。最后它证明是一个简单的答案:/ InstanceName参数实际上只是实例名称。

即:使用SSMS时,如果你连接到DevServer \ DevInstance,2433则参数就是/实例名= DevInstance

我从两个Setup.exe的CD版本测试了这个(微软(R)SQL Server 2008安装程序10.00.1600.22)和C:\ Program Files \ Microsoft SQL Server \ 100 \ Setup Bootstrap \ Release(Microsoft(R)SQL Server 2008安装程序10.00.5500.00)中的setup.exe。从两个地方

我的完整的命令行是:

setup.exe /QUIET /ACTION=REBUILDDATABASE /INSTANCENAME=DevInstance /SQLSYSADMINACCOUNTS=BUILTIN\Administrators /SAPWD="..." /SQLCOLLATION=SQL_Latin1_General_Pref_CP1_CI_AS