I was working on updating the TailSpin application to use Windows Azure Access Control Service (ACS) this week and ran into a small problem. I am using a WebClient in the controller to call back to ACS to get a list of the Identity Providers. While testing the implementation, I would constantly get a 500 error when running in the local dev fabric. When I would run the web site in IIS it would work just fine. This was driving me insane. I spent a few hours “boogling” (bing + google) around looking for an answer. I could not find anything.
There was a good reason for this. Most of the rest of the world doesn’t work behind the Microsoft Corporate Network. The problem comes down to the Identity of the AppPool trying to get through our proxy. I had thought that this was network (meaning Microsoft Network) problem, yet I couldn’t remember exactly where I had seen this before. Luckily, I work with some awesome people and Wade Wegner reminded me of the post he did that talks about just this problem. You can either remove the
In the end I just removed the service definition