IT Community - Software Programming, Web Development and Technical Support

Server Error in '/appname' Application.

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 ...


Go Back   IT Community - Software Programming, Web Development and Technical Support > Web Development > ASP and ASP.NET Programming

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 08-24-2007, 11:50 PM
KiruthikaSambandam KiruthikaSambandam is offline
D-Web Analyst
 
Join Date: Aug 2007
Posts: 332
KiruthikaSambandam is on a distinguished road
Default Server Error in '/appname' Application.

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
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
  #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..
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


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


All times are GMT -7. The time now is 01:25 PM.


Copyright ©2004 - 2007, DiscussWeb. All Rights Reserved.

SEO by vBSEO 3.0.0