| Author |
Message |
Uniwares_AS
Joined: 11 Oct 2007 Posts: 132
|
Posted: Wed Mar 23, 2011 2:58 pm Post subject: Exception reports OS version wrong |
|
|
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 |
|
| Back to top |
|
 |
Simon C
Joined: 26 Feb 2008 Posts: 140 Location: Red Gate Software
|
Posted: Wed Mar 23, 2011 3:25 pm Post subject: |
|
|
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. |
|
| Back to top |
|
 |
|
|
All times are GMT + 1 Hour
|
| Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group