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:
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
Post a Comment