CommunicationObjectFaultedException with Azure SDK 1.3 Full IIS

This is a particularly bizarre bug in the SDK. If you are using the Full IIS features with multiple sites defined in your ServiceDefinition.csdef, then you will get this exception thrown when you start debugging if any of the web.config files are read-only. This really caught me out for ages. All was working well until I checked-in my files and then the deplyoment started throwing this error. I’m using TFS which sets files to read-only on check-in. I don’t understand why this occurs as the config files are not being modified. So now I have a post build script that searches for all web.config files and sets them to be writable. Please sort this out Microsoft.

Advertisements