FIX: Error When You Use Page Object to Navigate URL with Spaces
Article ID: 193999
Article Last Modified on 8/7/2007
APPLIES TO
- Microsoft Visual InterDev 6.0 Standard Edition
This article was previously published under Q193999
SYMPTOMS
When you use a Page Object Design-Time Control (DTC) in a page, and you
insert a
thisPage.navigateURL method call using a URL that contains spaces, you receive the following error message:
HTTP Error 400
400 Bad Request
Due to malformed syntax, the request could not be understood by the
server. The client should not repeat the request without modifications.
RESOLUTION
Use the %20 character instead of spaces. For example, change "ASP Page 1.asp" to "ASP%20Page%201.asp".
STATUS
Microsoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.
This bug was corrected in Microsoft Visual Studio 6.0 Service Pack 5. For additional information about Visual Studio service packs, click the following article numbers to view the articles in the Microsoft Knowledge Base:
194022 INFO: Visual Studio 6.0 Service Packs, What, Where, Why
194295 HOWTO: Tell That a Visual Studio Service Pack Is Installed
To download the latest Visual Studio service pack, visit the following Microsoft Web site:
Keywords: kbbug kbctrl kberrmsg kbfix kbremoteprog kbscript KB193999