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
Solved

Error status code question ASP.Net ??

Posted on 2004-08-16
7
229 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
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
Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 
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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Obtain cell value using column ID in DataGrid using VB.NET 2 25
Add or delete table rows 10 53
asp.net web application 3 26
ASP.NET (VB) return a record 2 35
Sometimes in DotNetNuke module development you want to swap controls within the same module definition.  In doing this DNN (somewhat annoyingly) swaps the Skin and Container definitions to the default admin selections.  To get around this you need t…
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…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

809 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