Enable Exceptions / Log Entries to be published even if WMI errors occur when determining machine / operating system characteristics.


On some machines, possibly due to device driver limitations, exceptions are not logged because the WMI infrastructure is unable to determine some information that is required according to existing database constraints. Although this information is highly desirable, the exception / log entry must be published regardless of the ability of WMI to determine extended information.
Closed Sep 28, 2007 at 5:23 AM by DougHolland


wrote Sep 26, 2007 at 7:30 AM

Associated with changeset 27222.

wrote Sep 26, 2007 at 7:36 AM

Associated with changeset 27223.

wrote Sep 26, 2007 at 4:54 PM

It appears that the problem occurs on Windows XP and Windows 2003 which do not support the NumberOfCores WMI property on the Win32_Processor class. Therefore before this property is read the Environment.OSVersion.Version is compared to version 6.0 (e.g. Windows Vista) to see if the code is executing on Windows Vista or Windows Server 2008, otherwise this value is null.

wrote Sep 26, 2007 at 4:55 PM

Future releases will now be tested on Windows XP 32-bit and 64-bit, Windows Vista 32-bit and 64-bit, Windows Server 2003 32-bit and 64-bit, and once RTM Windows Server 2008 32-bit and 64-bit.

wrote Sep 28, 2007 at 5:23 AM

wrote Sep 28, 2007 at 5:23 AM

wrote Feb 1, 2013 at 4:41 AM

wrote May 14, 2013 at 2:56 AM