PSIcapture Troubleshooting: Licensing issues due to WMI directory failure


When attempting to license PSIcapture, you may experience an error message indicating:

"Cannot connect to PSIcapture License Server". 

Alternatively, if you try to perform an offline license request, you get an error message similar to the following:


Error generating offline licensing request:  System.TypeInitializationsException: The type initializer for 'PSIGEN.Capture.Licensing.License' threw an exception. --- PSIGEN.Capture.Licensing.LicensingException: Error in static License() constructor. --- PSIGEN.Capture.Licensing.LicensingException: An error occured in ReadMachineData. 

[9/17/2014 10:27:01 AM - Error - v5.0.2.7]
The type initializer for 'PSIGEN.Capture.Licensing.License' threw an exception.
at PSIGEN.Capture.Licensing.License.GetLicenseManagerServiceUrl()
at PSIGEN.Capture.Licensing.ApplicationLicensing.ConnectLicenseManager()
at PSIGEN.Capture.Licensing.LicenseServer.LicenseServerService.ConnectLicenseManager()
Error in static License() constructor.
at PSIGEN.Capture.Licensing.License..cctor()
An error occured in ReadMachineData. Machine Data:
ComputerName: AMBROMA-998ZH02
Primary MAC: C8:D7:19:BD:A4:B6;C8:1F:66:3B:4F:1F;
System Volume Serial BAE6EB57

at PSIGEN.Capture.Licensing.License.ReadMachineData()
at PSIGEN.Capture.Licensing.License..cctor()
One or more errors occurred.
at PSIGEN.Capture.Licensing.License.ReadMachineData()
Invalid class
at System.Management.ManagementException.ThrowWithExtendedInfo(ManagementStatus errorCode)
at System.Management.ManagementObjectCollection.ManagementObjectEnumerator.MoveNext()
at System.Linq.Enumerable.d__b1`1.MoveNext()
at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source)
at PSIGEN.Capture.Licensing.Fingerprint.BIOSIdentifier()
at PSIGEN.Capture.Licensing.Fingerprint.Generate()
at PSIGEN.Capture.Licensing.License.ThreadReadMachineData(ReadMachineDataInfo data)

[9/17/2014 10:27:01 AM - Error - v5.0.2.7]
The following exception(s) occurred loading the service manager.
The following error(s) occurred:
One or more errors occurred.
at PSIGEN.Capture.Licensing.LicenseServer.LicenseServerService.ConnectLicenseManager()
at PSIGEN.Capture.Licensing.LicenseServer.LicenseServerService.PSIGEN.Capture.Services.ICaptureServiceFactory.Initialize(Dictionary`2 properties)
at PSIGEN.Capture.Services.ServiceManager.LoadService(XElement serviceNode)
at System.Threading.Tasks.Parallel.<>c__DisplayClass32`2.b__30()
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.InnerInvokeWithArg(Task childTask)
at System.Threading.Tasks.Task.<>c__DisplayClass11.b__10(Object param0)



This usually indicates that the WMI subsystem of the OS is corrupt or damaged.  This can be verified by opening Command Prompt and typing the command 'getmac'.   If Generic Failure is produced, or other errors, WMI is damaged or corrupt.  

PSIcapture uses WMI to collect hardware information in order to license.  If WMI is damaged, PSIcapture will not be able to license.  The end user will need to repair WMI.  This can be attempted via System Restore, OS Repair/Upgrade, system file checker (sfc /scannow) or ultimately a wipe/reload.


Was this article helpful?
0 out of 0 found this helpful



Please sign in to leave a comment.