Select the product you need help with
How To Configure Custom Error Messaging for Your Web Site in IISArticle ID: 302570 This article was previously published under Q302570 On This PageSUMMARY
This step-by-step guide describes how to configure Internet Information Services (IIS) to send custom error messages instead of the default Hypertext Transfer Protocol (HTTP) error messages. RequirementsThe following items describe the recommended hardware, software, network infrastructure, skills and knowledge, and service packs that you need:
Configure Custom Error MessagesWhen a user attempts to connect to a Web site and an HTTP error occurs, a generic message is sent back to the client browser with a brief description of what happened during the attempt to establish a connection. You can configure IIS to send custom error messages instead of the default error messages by mapping to a file or by mapping to a URL.Adding Custom Error Messages by Mapping to a FileTo add a custom error message by mapping to a file, follow these steps:
Adding Custom Error Messages by Mapping to a URLTo add a custom error message by mapping to a URL, follow these steps:
Enable Detailed Custom Error MessagesIIS features its own set of custom errors that provide more informative or "friendly" feedback than default HTTP 1.1 error messages. These detailed custom error messages are set by default in the Default Web Site in the IIS snap-in.Configuring Detailed Error Messages
Note This is a "FAST PUBLISH" article created directly from within the Microsoft support organization. The information contained herein is provided as-is in response to emerging issues. As a result of the speed in making it available, the materials may include typographical errors and may be revised at any time without notice. See Terms of Use
(http://go.microsoft.com/fwlink/?LinkId=151500)
for other considerations.PropertiesArticle ID: 302570 - Last Review: July 2, 2010 - Revision: 3.0
| Article Translations
|



Back to the top








