Article ID: 123757, created on Dec 2, 2014, last review on Dec 2, 2014

  • Applies to:
  • H-Sphere 3.6.3

Symptoms

Windows Upgrade failed:

the following error in upgrade log:

    System.Exception: Active package mandatory parameter "PackageName" is not set
       at Psoft.HSphere.Installation.HsDbRepository.GetPackageBasicInfo(String packageName) in c:\build\working_dir\Release_x64_trunk\winbox\.NET\Main\Installation\HsInstallerDb\HsDbRepository.cs:line 84
       at Psoft.HSphere.Installation.HsDbRepository.GetPackages(AllPackCollection packages, PackageInfo& activePackage) in c:\build\working_dir\Release_x64_trunk\winbox\.NET\Main\Installation\HsInstallerDb\HsDbRepository.cs:line 177
       at Psoft.HSphere.Installation.HsInstallerDb..ctor() in c:\build\working_dir\Release_x64_trunk\winbox\.NET\Main\Installation\HsInstallerDb\HsInstallerDb.cs:line 31
       at Psoft.HSphere.Installation.HsInstallerDb.get_Instance() in c:\build\working_dir\Release_x64_trunk\winbox\.NET\Main\Installation\HsInstallerDb\HsInstallerDb.cs:line 22
       at Psoft.HSphere.Services.Installer.InstalledPackages.Retrieve() in c:\build\working_dir\Release_x64_trunk\winbox\.NET\Main\Services\Installer\InstalledPackages.cs:line 152
       at Psoft.HSphere.Services.Installer.InstalledPackages.Get() in c:\build\working_dir\Release_x64_trunk\winbox\.NET\Main\Services\Installer\InstalledPackages.cs:line 141
       at Psoft.HSphere.Services.Installer.Prerequisites.Get(PackageList packageList) in c:\build\working_dir\Release_x64_trunk\winbox\.NET\Main\Services\Installer\Prerequisites.cs:line 212
       at Psoft.HSphere.Services.Installer.PackageListPackagesRetrieval.GetPackages(InstallationContext installationContext) in c:\build\working_dir\Release_x64_trunk\winbox\.NET\Main\Services\Installer\PackageListPackagesRetrieval.cs:line 76
       at Psoft.HSphere.Services.Installer.InstallPackagesSession.GetCommandLine() in c:\build\working_dir\Release_x64_trunk\winbox\.NET\Main\Services\Installer\InstallPackagesSession.cs:line 99
       at Psoft.HSphere.Services.Installer.InstallSession.Install(SessionFinishedHandler handler) in c:\build\working_dir\Release_x64_trunk\winbox\.NET\Main\Services\Installer\InstallSession.cs:line 82

Cause

Update process was incorrectly stopped.

Resolution

Rename HKEY_LOCAL_MACHINE\SOFTWARE\Psoft\Installer\ActivePackage to _ActivePackagekey_ and start upgrade from H-sphere CP.

6b908665c0d1eca5bdd0141a32fd712a 6311ae17c1ee52b36e68aaf4ad066387 f213b9fa8759d57bee5d547445806fe7 2e39a5e5b1423cc126cf735bac076008

Email subscription for changes to this article
Save as PDF