Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Jul 10, 2012 07:45 AM by gnoix
Mar 30, 2012 01:19 PM|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 02:25 PM|LINK
You can get the error details by setting web.config:
<httpErrors errorMode="Detailed" />
Mar 30, 2012 02:55 PM|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 10:48 PM|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 07:45 AM|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