HTTP Error 400.0 – Bad Request ASP.NET detected invalid characters in the URL from ampersand

To resolve the error of HTTP Error 400.0 – Bad Request ASP.NET detected invalid characters in the URL , whether you are using Helicon Ape for url rewrites or not, is to make the following registry additions:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ASP.NET]
"VerificationCompatibility"=dword:00000001

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\HTTP\Parameters]
"AllowRestrictedChars"=dword:00000001

This will allow you to continue to use the & character the same as you had in IIS6.


Posted

in

by

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *