The browser produces an error after I have published my ASP.NET C# program

The browser produces an error after I have published my ASP.NET C# program that is not produced in my local host in debug mode.

I get this error often and it seems to be a generic error. By this, i mean that if I do what the error suggests and change the configuration file by setting the customErrors to “off”, I still get this error. The frusturating thnig is that this error does not happen in local host when running in debug mode. Is there any way to modify the configuration file so that the error message is more descriptive?


I saw this error occur when I was running a Microsoft Outlook web page. Could it be a serious problem with Microsoft?

http://www.gelsana.com/Recording.avi
http://www.gelsana.com/Recording.flv59temp44.avi
http://www.gelsana.com/Recording2.flv59temp44.avi

There is something going wrong and you are not seeing the error. Change your web.config and upload it to the server. Then if you refresh that page, you should see the proper error message. Or if it is set to RemoteOnly, you can RDP into the server where it is hosted if it is a dedicated server and browse the site from a browser on that machine.

I would assume the error has something to do with the website configuration on the server

If you want to see the real error (with a stack trace to see where the code is failing) you can either change the customErrors element to be off, which will show the issue. You can also debug by attaching w3wp.exe in Visual Studio and going to the page where it fails, or by visiting the page on the server you are calling this error from (i.e. if this error is on your web server, visit the page on that server).

If possible, can you post the code that is causing this error?