400 bad request when POSTing WebService or WCF request from IE

Symptom   Let’s suppose such a scenario:   Ø  You have a website which enables NTLM authentication. Ø  There’s a virtual directory under this website, which enables Anonymous authentication. Ø  There’s a Web Service or WCF Service in this virtual directory. Ø  You have a web page in the root directory of the website, and…

0

How to write chunked transfer encoding web response

Recently I worked on a performance issue caused by IIS re-authenticate for every request. From network monitor log, it was due to poor designed of chunked encoding of a CGI and then IIS close HTTP Connection according HTTP 1.1 protocol, details below. This issue was resolved after we fixed customer’s web application which composes HTTP…

0

How to configure "RPC over HTTP" for DCOM communication in Windows 2003

Background RPC-over-HTTP enables client programs to use the Internet to execute procedures provided by server programs on distant networks. RPC over HTTP tunnels its calls through an established HTTP port. Thus, its calls can cross network firewalls on both the client and server networks. RPC over HTTP routes its calls to the RPC proxy located…

1

Troubleshooting IIS: HTTP/FTP

  1. Why private IP address is still revealed on IIS server even after applying fix 834141   2. IIS FTP Service Hang Due to Ports Contention in Passive-Mode   3. FTP client application encounters slow file download performance issue   4. Fail to send PORT command in FTP with NAT   5. Why My…

0

Why My HTTP Service Cannot Be Stopped.

  Symptom: In order to stop listening port 80 of IIS on windows server 2008 on which SQL Server 2008 is installed, we change the port of IIS website to non-80. Unfortunately, we find that the port 80 is still listening by PID 4. When we try to stop HTTP service using command: net stop…

4

HTTP HEAD Requests get 405 HTTP error when access SOAP Web Services

  Most people are familiar with HTTP GET and POST requests. But actually HEAD is another useful verb. HEAD Request and 405 Problem Below is the response from an IIS 6 server using WFetch. Note that the response only contains header information, so it is really a neat way to check site availability. Here comes…

0