Error 1722. There Is A Problem With This Windows Installer Package. A Program Run As Part Of The Setup Did Not Finish As Expected

Version 3

    Symptoms

     

    Protect 9.1 Patch 3 upgrade fails with the following error:

    Product: Shavlik Protect -- Error 1722. There is a problem with this Windows Installer package. A program run as part of the setup did not finish as expected. Contact your support personnel or package vendor. Action SetupDatabaseAction, location: C:\Program Files\LANDesk\Shavlik Protect\ST.DatabaseConfiguration.exe, command: -quiet -upgrade -consoleId 355702d6-33f5-4ca7-9853-202534b4bcd8 -timeout 30


    The ST.DatabaseConfiguration.log located in the %temp% directory contains the following line:

    2015-04-16T12:23:25.2319578Z 0004 E DatabaseState.cs:77|System.Data.SqlClient.SqlException (0x80131904): Database state cannot be changed while other users are using the database 'Protect'

     

    Cause

     

    The Protect database has existing connections from other users.  This frequently occurs when other Shavlik Protect Consoles share the same database.

     

    Resolution

     

    Stop the Protect Console Service on all Protect Consoles sharing the database and upgrade each console while each has a sole connection to the database.

     

    Additional Information

     

    Error 1722 has also been returned in Protect 9.0 upgrades under the following situations:

    • Shavlik Protect is using a mirrored database
    • Upgrade being performed using an account that does not have the sysadmin role or is not the account that originally created the database

     

    Troubleshooting and resolution for the above scenarios are contained in the Shavlik document Protect 9.X Install Failing With 'Error 1722'

     

    Affected Product(s)

     

    Protect 9.X