SQL Server Setup unexpectedly failed (again)

I’m running WinXP SP2 with 1GB RAM, dotNET 2.0. and a previous install of SQL Server 2000. I have tried to install SQL Server 2005 Express and it fails early in the installation: "SQL Server Setup unexpectedly failed. For more information, review the Setup summary log file...". The log file is: (!)

Microsoft SQL Server 2005 9.00.1399.06
==============================
OS Version : Microsoft Windows XP Professional Service Pack 2 (Build 2600)
Time : Wed Jun 14 10:27:51 2006

I have tried named instances, reinstall SQL Server 2000, search readme, kb, forums about the problem....nothing

Help, please.



Answer this question

SQL Server Setup unexpectedly failed (again)

  • bdbodger

    There is only one log file:

    Microsoft SQL Server 2005 Setup beginning at Wed Jun 14 15:31:49 2006
    Process ID : 224
    C:\SQLSETUP\setup.exe Version: 2005.90.1399.0
    Running: LoadResourcesAction at: 2006/5/14 15:31:49
    Complete: LoadResourcesAction at: 2006/5/14 15:31:49, returned true
    Running: ParseBootstrapOptionsAction at: 2006/5/14 15:31:49
    Loaded DLL:C:\SQLSETUP\xmlrw.dll Version:2.0.3604.0
    Complete: ParseBootstrapOptionsAction at: 2006/5/14 15:31:49, returned false
    Error: Action "ParseBootstrapOptionsAction" failed during execution. Error information reported during run:
    Could not parse command line due to datastore exception.
    Source File Name: utillib\persisthelpers.cpp
    Compiler Timestamp: Fri Jul 29 01:13:55 2005
    Function Name: writeEncryptedString
    Source Line Number: 124
    ----------------------------------------------------------
    writeEncryptedString() failed
    Source File Name: utillib\persisthelpers.cpp
    Compiler Timestamp: Fri Jul 29 01:13:55 2005
    Function Name: writeEncryptedString
    Source Line Number: 123
    ----------------------------------------------------------
    Error Code: 0x80070002 (2)
    Windows Error Text: O sistema nao pode encontrar o arquivo especificado.

    Source File Name: cryptohelper\cryptsameusersamemachine.cpp
    Compiler Timestamp: Mon Jun 13 14:30:00 2005
    Function Name: sqls::CryptSameUserSameMachine::ProtectData
    Source Line Number: 50

    2
    Could not skip Component update due to datastore exception.
    Source File Name: datastore\cachedpropertycollection.cpp
    Compiler Timestamp: Fri Jul 29 01:13:49 2005
    Function Name: CachedPropertyCollection::findProperty
    Source Line Number: 130
    ----------------------------------------------------------
    Failed to find property "InstallMediaPath" {"SetupBootstrapOptionsScope", "", "224"} in cache
    Source File Name: datastore\propertycollection.cpp
    Compiler Timestamp: Fri Jul 29 01:13:50 2005
    Function Name: SetupBootstrapOptionsScope.InstallMediaPath
    Source Line Number: 44
    ----------------------------------------------------------
    No collector registered for scope: "SetupBootstrapOptionsScope"
    Running: ValidateWinNTAction at: 2006/5/14 15:31:49
    Complete: ValidateWinNTAction at: 2006/5/14 15:31:49, returned true
    Running: ValidateMinOSAction at: 2006/5/14 15:31:49
    Complete: ValidateMinOSAction at: 2006/5/14 15:31:49, returned true
    Running: PerformSCCAction at: 2006/5/14 15:31:49
    Complete: PerformSCCAction at: 2006/5/14 15:31:49, returned true
    Running: ActivateLoggingAction at: 2006/5/14 15:31:49
    Error: Action "ActivateLoggingAction" threw an exception during execution. Error information reported during run:
    Datastore exception while trying to write logging properties.
    Source File Name: datastore\cachedpropertycollection.cpp
    Compiler Timestamp: Fri Jul 29 01:13:49 2005
    Function Name: CachedPropertyCollection::findProperty
    Source Line Number: 130
    ----------------------------------------------------------
    Failed to find property "primaryLogFiles" {"SetupStateScope", "", ""} in cache
    Source File Name: datastore\propertycollection.cpp
    Compiler Timestamp: Fri Jul 29 01:13:50 2005
    Function Name: SetupStateScope.primaryLogFiles
    Source Line Number: 44
    ----------------------------------------------------------
    No collector registered for scope: "SetupStateScope"
    00D2CFC4Unable to proceed with setup, there was a command line parsing error. : 2
    Error Code: 0x80070002 (2)
    Windows Error Text: O sistema nao pode encontrar o arquivo especificado.

    Source File Name: datastore\propertycollection.cpp
    Compiler Timestamp: Fri Jul 29 01:13:50 2005
    Function Name: SetupBootstrapOptionsScope.InstallMediaPath
    Source Line Number: 44

    Class not registered.
    Failed to create CAB file due to datastore exception
    Source File Name: datastore\cachedpropertycollection.cpp
    Compiler Timestamp: Fri Jul 29 01:13:49 2005
    Function Name: CachedPropertyCollection::findProperty
    Source Line Number: 130
    ----------------------------------------------------------
    Failed to find property "HostSetup" {"SetupBootstrapOptionsScope", "", "224"} in cache
    Source File Name: datastore\propertycollection.cpp
    Compiler Timestamp: Fri Jul 29 01:13:50 2005
    Function Name: SetupBootstrapOptionsScope.HostSetup
    Source Line Number: 44
    ----------------------------------------------------------
    No collector registered for scope: "SetupBootstrapOptionsScope"
    Message pump returning: 2


    Thanks a lot


  • AhXue

    The first thing *I* would do is throw out your media and get a copy of the SP1-level Express. This is available out on Microsoft.com. But checking our bug records, I bet your problem is a missing regkey. Here's the somewhat cryptic workaround. Please let us know if it works for you.

    we are looking for two registry entries

    System:

    HKEY_USERS\S-1-5-18\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders

    User:

    HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders

    And its looking for Name "AppData" which was missing our customers case under System , the value for this entry should be "%USERPROFILE%\Application Data"

    Under filemon we could see that it looks for the file \system32\config\systemprofile\Application Data\Microsoft\CryptnetUrlCache folder

    Resolution

    ************

    -Make sure that AppData entry is present under the above registry entries with the value of "%USERPROFILE%\Application Data"

    Just to be clear here: installing the SP1 level version of Express won't solve the problem if it's a missing regkey. SP1 does fix a lot of other issues, and it's a better product. That's why you should use it instead of RTM.

     


  • Flyrod

    Please share out the logs (%ProgramFiles%\Microsoft SQL Server\90\Setup Bootstrap\Log) so we can take a look.

  • SQL Server Setup unexpectedly failed (again)