Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying IISExpress 7 in Windows XP to servr requests from internet for ASP .NET MVC2 applicaton

I changed line in iisexpress 7 applicationhost.config from

<binding protocol="http" bindingInformation=":8080:localhost" />


<binding protocol="http" bindingInformation=":80:" />


Cookie: active=1; .EevaAuth=CF57FC098F341A1230626D5E339C9E94FE2D77157AAE54402DC2AB5F1AE1E079A9CB93B88B5479B4E926D3C6CDFF7D994E8FA1381CA32D20245A2A9C493B992F2E8863EA6C8E080886EDA103926096CB83B033490552F3CB9BFF62ABD5CFBA5181F378888BFF96D51400319AF8955B556D50A866

from internet causes Bad Request error:

HTTP/1.1 400 Bad Request
Cache-Control: private, s-maxage=0
Content-Type: text/html
Server: Microsoft-IIS/7.5
X-AspNetMvc-Version: 2.0
X-AspNet-Version: 2.0.50727
X-Powered-By: Eeva ERP
Date: Thu, 24 Nov 2011 11:52:30 GMT
Content-Length: 11

Bad Request

If request is issed form localhost, this exception does not occur. All solutions which I have found describe that this is caused by ad characters in url. URL if this request (ip addres changed) does not contain invalid characters.

How to allow this request form internet to be processed?

share|improve this question
For those having this problem; check this:… – Massood Khaari Jul 14 '14 at 9:57
up vote 0 down vote accepted

Check the IIS logs at C:\inetpub\logs\wmsvc#. Your request might be coming in with HTML encoded characters instead of URL encoded like this:;_entity=RidO&amp;Toode=ooooo

If that's not the case, this Microsoft KnowledgeBase article might help you (it states windows server 2003 but if I remember correctly it could also apply to XP).

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.