Solved

Error status code question ASP.Net ??

Posted on 2004-08-16
7
230 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
Industry Leaders: 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!

 
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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

This article discusses the ASP.NET AJAX ModalPopupExtender control. In this article we will show how to use the ModalPopupExtender control, how to display/show/call the ASP.NET AJAX ModalPopupExtender control from javascript, how to show/display/cal…
Introduction This article shows how to use the open source plupload control to upload multiple images. The images are resized on the client side before uploading and the upload is done in chunks. Background I had to provide a way for user…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…

730 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