maoyuan121 / elmah

Automatically exported from code.google.com/p/elmah
Apache License 2.0
0 stars 0 forks source link

Capture .NET Framework and ASP.NET version numbers #219

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What new or enhanced feature are you proposing?

Capture the .NET Framework and ASP.NET version numbers. When an error occurs in 
ASP.NET and the user is sent to the standard error page (custom errors off), at 
the bottom of the page the version information is shown. For example:

--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.4322.2470; ASP.NET 
Version:1.1.4322.2470

It does not appear that this information is captured in elmah.

What goal would this enhancement help you achieve?

The .NET Framework and ASP.NET version information can be very useful when 
debugging certain problems (for example, user agent string maximum length 
issues). Many clients that I deal with have no idea what version they have. 
Without these details, I have to step the user through a process to determine 
the current ASP.NET version number. I'd rather have this information right in 
the elmah error report.

Areas where I would like to see this in all formats of the error report, 
including the standard error detail page, the original ASP.NET 
error page, XML, JSON, download, email, etc.

Original issue reported on code.google.com by timothy....@gmail.com on 8 Apr 2011 at 2:49

GoogleCodeExporter commented 9 years ago
I just had another issue reported (not related to elmah) that is caused by a 
bug in an older version of ASP.NET that has since been fixed by Microsoft. 
Having the version number right in the elmah logs would really simplify things 
for these types of issues. I would love to have. Even just including the output 
of the following in the error record would be a big help:
System.Environment.Version.ToString()

Off topic, elmah has been great! It has helped so much already. Time to donate!

Original comment by tim.b...@gmail.com on 11 Jan 2012 at 6:55