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 |
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.
To resolve this behavior, run the ASP.NET application in
IIS 6.0 or in a later version of IIS.
This behavior is by
design.
For more information, click the following article number to view the article in the Microsoft Knowledge Base: