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



The information in this article applies to:

  • Microsoft ASP.NET (included with the .NET Framework 1.1)
  • Microsoft ASP.NET (included with the .NET Framework) 1.0

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

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.

RESOLUTION

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

STATUS

This behavior is by design.

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


Modification Type:MajorLast Reviewed:1/23/2006
Keywords:kbprb KB910433 kbAudDeveloper