View Single Post
  #2 (permalink)  
Old 08-25-2007, 02:34 AM
H2o H2o is offline
D-Web Analyst
 
Join Date: Jul 2007
Posts: 246
H2o is on a distinguished road
Default Re: Server Error in '/appname' Application.

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..
Reply With Quote