Handling "System.ServiceModel.AddressAlreadyInUseException: HTTP could not register URL" Exception in Compute Emulator with Windows Azure SDK 1.5

The only other post I found online does not properly explain how to fix this issue:

http://blogs.msdn.com/b/avkashchauhan/archive/2011/10/03/handling-quot-system-servicemodel-addressalreadyinuseexception-http-could-not-register-url-quot-exception-in-compute-emulator-with-windows-azure-sdk-1-5.aspx

Just go to your app.config file, and in the binding tag for all the services, specify:


hostNameComparisonMode="Exact"


For custom bindings, this can be specified as shown below:



<customBinding>
        <binding>
          <httpTransport hostNameComparisonMode="Exact" />
        </binding>
</customBinding>

        

Comments

Popular posts from this blog

Tutorial: Using Google Cloud Storage from C# and .NET

Late 2008 Macbook only giving 1.5 gb/s speed with 6 gb/s Intel SSD?

The ridiculous interview experience