Scroll To Top

Enter a query to search our site. Note that you can use "*" and "?" as wildcards. Enclosing more than one word in double quotes ("CSS Layout") will search for the exact phrase.

PVII Knowledge Base

1. Select a product ...
2. Select category ...
3. Search the Knowledge Base...

Question #53

I created some new dynamic ASP page links and now I am getting the HTTP Error 400 Bad Request Due to malformed syntax. What went wrong?

The Answer

Prepared Jul. 2001 by Gerry Jacobsen, PVII

HTTP Error 400 Bad Request Due to malformed syntax:

The 400 error is due to illegal characters in the url parameters of your link string. This cannot contain spaces, etc. You can fix that by using the Server.URLencode method. After you build the strLink, UrlEncode the finished strLink like:

strLink = Server.URLencode(strLink)

That will convert all of the spaces and other illegal characters.

Back to the questions list