IIS 5.0 Continues to Return 500;100 Error Page with Response.Buffer Set to False (241271)
The information in this article applies to:
- Microsoft Internet Information Services 5.0
This article was previously published under Q241271 SYMPTOMS
When you set Response.Buffer to False on an ASP page, the "500;100" error message is still returned when an error occurs. However, when you set Response.Buffer to False for debugging purposes, a static error message should be returned, as it does in IIS 4.0 .
CAUSE
The ASP page sends no data to the client before the error occurs. IIS 5.0
returns the custom error page because no data is provided by the static error message when there is no data written to the
client.
WORKAROUND
For IIS 5.0 to return static error messages, you must disable the ASP dynamic error page. To do this, perform the following steps:
- In the Internet Service Manager MMC, right-click the Web site, and then select Properties.
- Click the Custom Errors tab.
- Choose the 500;100 HTTP error.
- Change the Message Type to Default.
- Click OK, and then click Apply.
IIS 5.0 will now return static messages when an error is
received from all pages served from this Web site.
Modification Type: | Major | Last Reviewed: | 6/24/2004 |
---|
Keywords: | kbhttp500100 kbpending kbprb kbProd2Web KB241271 |
---|
|