I had an issue with calling web services from a Silverlight 2 application within Internet Explorer 6. I was a bit confused to why this was happening. After a quick browse on the web, I found this was quite a known problem. Unfortunately, still a lot of people use Internet Explorer 6, so it had to be supported! There are a few ways to fix the issue, but I found this way to work pretty well.
Switch off dynamic compression within IIS. Fortunately, there is a way to enable/disable dynamic compression for certain directories and pages. You can add the below to the <system.webServer> section in the web.config.
<urlCompression doStaticCompression=”true” doDynamicCompression=”true” />
This will enable compression for the entire application. To switch it off just for the web service you can add a location section like so…
<urlCompression doStaticCompression=”true” doDynamicCompression=”false” />