Last post Jul 10, 2012 03:45 AM by gnoix
Mar 30, 2012 09:19 AM|Noel Abrahams|LINK
I've installed Framework 4.5 Beta and MVC 4 Beta on a development server.
Try as I might I have not been able to get the server to return details of the error.
There is nothing in the event log of the server. The failed request tracing only mentions the error occured during processing of the request, but no other details. All variations of suggested changes to the config (http://stackoverflow.com/questions/2640526)
failed to provide details of the actual error.
I eventually debugged the issue by commenting out sections of the code and repeatedly deploying.
The services deployed on the remote server still do not return details when an exception is thrown.
If anyone has deployed .Net 4.5 and MVC 4 Beta and are able to retrieve error details then I'll be very keen to hear from them.
Otherwise I believe this is a significant issue that needs to be looked into.
Mar 30, 2012 10:25 AM|d4daud|LINK
You can get the error details by setting web.config:
<httpErrors errorMode="Detailed" />
Mar 30, 2012 10:55 AM|Noel Abrahams|LINK
As I said above "All variations of suggested changes to the config (http://stackoverflow.com/questions/2640526) failed to provide details of the actual error."
Are you able to get error details back from a remote server for an Asp.Net 4.5 applciation?
Apr 25, 2012 06:48 PM|kranthireddyr1|LINK
Error 500 is a configuration error.
There might be some errors in your config file.
try replacing the old config and it might work.
Jul 10, 2012 03:45 AM|gnoix|LINK
May I know if you had the access to this server IIS.
If yes, then you can click on your site -> Error Pages -> Edit Features Setting -> choose Detailed Error.
For ASP Classic, to enable the detailed error message can be done by clicking your site in IIS -> ASP -> Debugging Properties -> Send Errors to Browser -> TRUE