2011-03-28 98 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