Solved

Error status code question ASP.Net ??

Posted on 2004-08-16
7
231 Views
Last Modified: 2010-04-07
If I type in the following in the web.config, under what cases will the servererror.htm will be display??

Can someone send me a list of error codes?
<customErrors mode="RemoteOnly" defaultRedirect="Error.htm" >
            <error statusCode="500" redirect="ServerError.htm"/>
      </customErrors>      
      

Thanks      
0
Comment
Question by:wilkersons
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
  • 2
7 Comments
 
LVL 9

Expert Comment

by:crescendo
ID: 11813933
Only when someone browsing on a machine other than the server gets error code 500.
0
 
LVL 9

Expert Comment

by:crescendo
ID: 11813946
Someone on the local machine will see the standard stack trace for all errors. Remote users will see error.htm for all errors except 500.
0
 

Author Comment

by:wilkersons
ID: 11814325
What I meant was..

Under what cases the error 500 is generated??
0
SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

 
LVL 8

Accepted Solution

by:
daffodils earned 300 total points
ID: 11814643
Error 500 - Internal server error

Your Web server encountered an unexpected condition that prevented it from fulfilling the request by the client (e.g. your Web browser) for access to the requested URL.

This is a 'catch-all' error generated by your Web server. Basically something has gone wrong, but the server can not be more specific about the error condition in its response to the client.
0
 
LVL 8

Expert Comment

by:daffodils
ID: 11814795
And sometimes... this "Error 500" also hides usefull stuff.

One work around is to disable friendly HTTP errors by
By Unchecking [Show Friendly HTTP Error messages]
In [tools\internet options\advanced ... "browsing" category]

By this more specific errors are displayed by the IIS... but sometimes, even by setting this option off (as above), IIS can display Error 500 for any unhandled error, which does not belong to any other pre-defined error types in IIS.
0
 

Author Comment

by:wilkersons
ID: 11815078
Thanks daffodils,
That makes things pretty clear.
0
 
LVL 8

Expert Comment

by:daffodils
ID: 11815162
sure wilkersons.. glad to help.
Error 500 isn't a very clear error.. but one make does with what one's got :) ..good luck !
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

One of the pain points with developing AJAX, JavaScript, JQuery, and other client-side behaviors is that JavaScript doesn’t allow for cross domain request for pulling content. For example, JavaScript code on www.johnchapman.name could not pull conte…
I recently went through the process of creating a Calendar Control of events with the basis of using a database to keep track of the dates that are selectable, one requirement was to have the selected date pop-up in a simple lightbox.  At first this…
Come and listen to Percona CEO Peter Zaitsev discuss what’s new in Percona open source software, including Percona Server for MySQL (https://www.percona.com/software/mysql-database/percona-server) and MongoDB (https://www.percona.com/software/mongo-…
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…

691 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question