Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

The data may be missing or invalid when you try to retrieve values from HTTPRequest members in an ASP.NET application


View products that this article applies to.

Symptoms

When you try to retrieve values from HTTPRequest members in a Microsoft ASP.NET application, the data may be missing or invalid. Some affected members of the HTTPRequest object are the following:
HTTPRequest.Path
HTTPRequest.PathInfo
HTTPRequest.RawURL
HTTPRequest.URL

↑ Back to the top


Cause

This behavior occurs because the HTTPRequest members contain Unicode data and because one of the following conditions is true:
The ASP.NET application is running in Microsoft Internet Information Services (IIS) 5 or in earlier versions of IIS.
The ASP.NET application is running in Microsoft Windows Server 2003 IIS 5 isolation mode.
ASP.NET is implemented by using an ISAPI filter. Therefore, ASP.NET inherits ISAPI limitations. Unicode support for the Request.ServerVariables collection is not included with IIS 5 or in earlier versions of IIS.

Note This problem does not occur when ASP.NET applications are running in IIS 6.0.

↑ Back to the top


Resolution

To resolve this behavior, run the ASP.NET application in IIS 6.0 or in a later version of IIS.

↑ Back to the top


Status

This behavior is by design.

↑ Back to the top


More information

For more information, click the following article number to view the article in the Microsoft Knowledge Base:
142605 Unicode code page not supported in Internet Information Server

↑ Back to the top


Keywords: KB910433, kbprb

↑ Back to the top

Article Info
Article ID : 910433
Revision : 2
Created on : 1/23/2006
Published on : 1/23/2006
Exists online : False
Views : 291