an ASP.NET Open Source CMS & eCommerce platform
Search:
Skip Navigation LinksHome > DotShoppingCart Blog > ASP.NET Tips and Tricks > Enable Ampersand & in URL in IIS7
Enable Ampersand & in URL in IIS7
If you use & as part of URL e.g. use & in category name, you will get message "HTTP Error 400.0 - Bad Request ASP.NET detected invalid characters in the URL" from IIS7 server. This is because IIS 7 implements UrlScan 2.5 and disallows the ampersand (&) in the request for security reasons. As discussed here, you will need to do the following two in order to fix this.
 
the ampersand in the latter will generate a “400 Bad Request” response with the default settings in IIS 7 because the ampersand (&) is not acceptable in the request for security reasons.
Did you do #1 first to allow restrictedChars first?
Recent Comments
danny jones said ...
Hi... I am inexperiance to build up ECommenrce type sites.I have a little bits knowladge ...
molakaj said ...
What a great approach to the subject, I was looking for. Thanks for these tips http://www ...
jane said ...
Thank you for this useful information.
furnace parts said ...
Congrats on V4.0.....It is so easy to use  
Travis said ...
I just bought DSC Suite V4.5 and it is more solid then ever. I hope I am #1 buyer of this ...