What are the challenges you face when working across database platforms? Take the survey

Exception reports OS version wrong

Uniwares_ASUniwares_AS Posts: 168
edited March 23, 2011 10:25AM in SmartAssembly
Exceptions from a Windows Server 2008 SP2 system are reported as Windows Vista SP2. :?

Any way to get that right?

Oh, and: the report was filed with SA5 but viewed with SA6


  • Options
    Exception reports obtain the windows version using the unmanaged GetVersionEx function in kernel32.dll. However, the values returned from that function are identical between XP 64-bit and 2003, Vista and 2008, and Windows 7 and 2008 R2.

    To differentiate between these requires a couple of extra unmanaged function calls, which were added in 6.0. Unfortunately, exception reports created by previous SA versions won't have this extra data in the exception report, so will display as the lowest possible version (as you are seeing).

    The windows version is correctly reported from assemblies processed by SA 6.0, and is only an issue when viewing reports generated by previous versions. Unfortunately, as the data we need to differentiate the versions simply does not exist in old exception reports, there is no way to fix the behaviour you are seeing.
Sign In or Register to comment.