0
votes

When I recycle my website with IIS I get this error until the recycling process is finish (so for about 5 seconds).

The content type text/html; charset=utf-8 of the response message does not match the >content type of the binding (text/xml; charset=utf-8). If using a custom encoder, be sure >that the IsContentTypeSupported method is implemented properly. The first 1024 bytes of >the response were: '

Thanks

1
this is better suited for serverfault.comFlavorScape

1 Answers

0
votes

Your request expected a mime type of text/html. Since your response is blank, it has no content type header.

Why IIS even responds in this case is a mystery. It should (in IIS 7) have no response or be queued until the app pool is restored. Perhaps this server is behind a load balancer, and it is returning the blank response due to an internal 503 error.