Solved

Error status code question ASP.Net ??

Posted on 2004-08-16
7
224 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
  • 3
  • 2
  • 2
7 Comments
 
LVL 9

Expert Comment

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

Expert Comment

by:crescendo
Comment Utility
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
Comment Utility
What I meant was..

Under what cases the error 500 is generated??
0
6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

 
LVL 8

Accepted Solution

by:
daffodils earned 300 total points
Comment Utility
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
Comment Utility
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
Comment Utility
Thanks daffodils,
That makes things pretty clear.
0
 
LVL 8

Expert Comment

by:daffodils
Comment Utility
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

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

I have developed many web applications with asp & asp.net and to add and use a dropdownlist was always a very simple task, but with the new asp.net, setting the value is a bit tricky and its not similar to the old traditional method. So in this a…
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…
This video discusses moving either the default database or any database to a new volume.
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

762 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now