Unable to view the PC license page with error: “Object reference not set to an instance of an object”

  • KM02048780
  • 07-Jan-2016
  • 26-May-2016

Summary

In the Lab Management site, when trying to open the PC licenses page, the following error is displayed: “Object reference not set to an instance of an object”. This article applies to the following Performance Center versions: 12.20, 12.50, 12.53

Error

In the Lab Management site, when trying to access the PC licenses page, the following error is displayed: “Object reference not set to an instance of an object” (see snapshot below).
No new licenses can be added to PC. However, Test can still be executed using existing license.

 

image text

In PC Server logs the following error messages may be observed:

ERROR HP.PC.Licenses.LicensesManager - Creating an instance of the COM component with CLSID {07BCEDE8-0D0C-4195-BE71-02588ED0C3A2} from the IClassFactory failed due to the following error: 8007000e Not enough storage is available to complete this operation. (Exception from HRESULT: 0x8007000E (E_OUTOFMEMORY))

Cause

This problem is usually the result of component registration issue.

Fix

The solution is to re-register the relevant PC components.
Follow the below step to re-register:

  1. Unzip the attached 'RegFiles.zip' and extract its content to a temporary location.
  2. From the extracted content, choose the file matching the PC version you are using and rename it to 'HP.PC.PCS.MSBuild.RegFiles.proj'.
  3. Login to the PC Server machine and navigate to '<PC Installation folder>\dat\setup\pcs\msbuild'
  4. Copy the 'HP.PC.PCS.MSBuild.RegFiles.proj' from step 2 (replacing the existing one).
  5. Run the Server Configuration Wizard on the PC Server machine by launching it using the “Run as Administrator” right-click menu.
  6. Open the licenses page again and enter the needed licenses.