HTTP 500 error message displays instead of ASP error message from 500-100.asp
This article was written about products for which Microsoft no longer offers support. Therefore, this article is offered "as is" and will no longer be updated.
When a .asp file encounters an error, the following standard HTTP 500 error message is displayed instead of an error returned by the 500-100.asp file:
The page cannot be displayed
There is a problem with the page you are trying to reach and it cannot be displayed.
HTTP 500 - Internal server error
The .asp file is located on a nondefault Web site that, by default, does not use the 500-100.asp file for error handling.
Note This behavior is described in the Internet Information Services (IIS) product documentation at http://localhost/iishelp/iis/htm/core/iiprstop.htm.
The 500-100.asp file should not be implemented on production Web sites. The 500-100.asp file may expose custom code to users.
To use the 500-100.asp file for error handling on the nondefault Web site, perform the following steps:
- Start the Internet Service Manager (ISM), which loads the Internet Information Services snap-in for the Microsoft Management Console (MMC).
- Right-click the appropriate Web site, click New, and then click Virtual Directory.
- In the Virtual Directory Creation Wizard, click Next. In the Alias text box, type IISHelp, and then click Next.
- When you are prompted for the path to the content directory, click Browse, select the WINNT\Help\IisHelp folder, and then click Next.
- On the Access Permissions page, accept all the defaults, click Next, and then click Finish.
- Right-click the Web site again, and then click Properties.
- On the Custom Errors tab, select the 500;100 error line, and then click Edit Properties.
- In the Message Type list box, select URL, and then type /iisHelp/common/500-100.asp in the URL text box.
- Click OK twice to return to the ISM.
NOTE: The exact error message displayed by Internet Explorer may vary, depending on whether the Show friendly HTTP error messages setting in Internet Explorer is selected or not.
(c) Microsoft Corporation 2000, All Rights Reserved. Contributions by Kevin Zollman, Microsoft Corporation.
iis 5 500.100 500100 akz
Article ID: 261200 - Last Review: 06/19/2014 07:32:00 - Revision: 3.0