"Object reference not set to an instance of an object" when trying to upgrade database

Version 1


    When upgrading a Management Center database to version 10.1 using the Server Configuration Portal (SCP) you receive the error message "Object reference not set to an instance of an object".


    You can work around this error message by using Powershell to upgrade the database.

    Import-ApsInstanceModule -ProductName "AppSense Management Server"

    If any variances are listed, use the following command to fix them:

    Repair-APSVariance -all

    Next, check for variances again:


    If there are no variances listed you can then upgrade the database:

    Update-ApsDatabase -DatabaseConnection “ConnectionName