Article ID: 810836 - Last Review: December 20, 2002 - Revision: 1.0

Membership Forms Authentication Does Not Redirect Properly When Directory Name Contains a Space

Expand all | Collapse all

SYMPTOMS

When you you try to log on to Site Server 3.0 Personalization and Membership with membership authentication on a computer that is running Microsoft Windows 2000, redirection to the requested URL may be unsuccessful if the requested URL contains a directory name that contains a space. The requested URL will contain "%2520" instead of "%20" for a space. You may also receive a 404 error message from Internet Information Services (IIS).

CAUSE

The URL encoding with the Active Server Pages (ASP) Response.Redirect object in IIS 4.0 (on Microsoft Windows NT 4.0) is different from the URL encoding with the ASP Response.Redirect object in IIS 5.0 (on Windows 2000).
If you are using the out-of-box form logon pages (or similar logon pages), locate the Verifpwd.asp file, and then change the following line of code
Response.Redirect (strRequestedURLVariable)  
to:
Response.Redirect (unescape(strRequestedURLVariable))
For additional information about this ASP change, click the following article number to view the article in the Microsoft Knowledge Base:
267883  (http://support.microsoft.com/kb/267883/EN-US/ ) PRB: IIS 5.0 URLEncodes URLs Passed to Response.Redirect

APPLIES TO
  • Microsoft Site Server 3.0 Standard Edition
Keywords: 
kbhowto KB810836
Retired KB ArticleRetired KB Content Disclaimer
This article was written about products for which Microsoft no longer offers support. Therefore, this article is offered "as is" and will no longer be updated.
 

Article Translations