This is a discussion on Server Error in '/appname' Application. within the ASP and ASP.NET Programming forums, part of the Web Development category; Hi Why do I not see detailed error messages when I have an error in my ASP.NET page? I ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
| |||
| Hi Why do I not see detailed error messages when I have an error in my ASP.NET page? I only see information about a generic runtime error like the following: Server Error in '/appname' Application. Runtime Error. ---------------------------------------------------- thanks Kirthika |
| Sponsored Links |
| |||
| Hi, You won't be able to view the detailed error messages on your local machine as this is one of the preventive measures taken by the ASP.Net application for security reasons. You can use the Web.config's customErrors section to define how to handle particular error codes. You may change the following option from your application's web.config file as per your requirement: Which will look something to the sort of : <!--CUSTOM ERROR MESSAGES--> <customErrors mode="Off" /> What do they mean: <customErrors mode="Off" /> "Off" Always display detailed ASP.NET error information. <customErrors mode="On" /> "On" Always display custom (friendly) messages. <customErrors mode="RemoteOnly" /> "RemoteOnly" Display custom (friendly) messages only to users not running on the local Web server. Using this option displays detailed error messages only on the server where the web application is running on. This setting is recommended for security purposes, so that you do not display application detail information to remote clients.
__________________ H2O Without us, no one can survive.. |
![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| difference between client server application testing & web application testing | vigneshgets | Software Testing | 1 | 07-27-2007 05:28 AM |
| How to catch the 404 error in my web application IN ASP.NET? | kingmaker | ASP and ASP.NET Programming | 1 | 07-26-2007 01:05 AM |
| How far Python Application server on WEB | vivekanandan | Python | 0 | 07-20-2007 05:55 AM |
| Desktop,Web & client server application | vadivelanvaidyanathan | Software Testing | 1 | 04-13-2007 04:12 AM |
| PAT SERVER - Chat Application | Karpagarajan | PHP Programming | 2 | 04-13-2007 03:07 AM |