I'm considering developing an app to run on-premise and off-premise and was hoping to use the Service Bus to communicate between services. I have 2 problems:
I get the following whenever I try using the Windows Server Service Bus (e.g. NamespaceManager.QueueExists):
System.ArgumentException : The remote server returned an error: (400) Bad Request. The api-version in the query string is not supported. Either remove it from the Uri or use one of 2012-03,2012-08,2013-04,2013-07...
I suspect I need to add api-version to NamespaceManager.CreateFromConnectionString but I just can't seem to find how :(
My current connection string is:
Endpoint=sb://[my machine]/ServiceBusDefaultNamespace;StsEndpoint=https://[my machine]:9355/ServiceBusDefaultNamespace;RuntimePort=9354;ManagementPort=9355
No matter where I stuff api-version=2013-07 it doesn't like it.
MTIA
Andy
Ended up here because I was getting this issue using Service Bus Explorer with Service Bus 1.1 installed locally on my machine.
The issue was due to using the latest version of Service Bus Explorer (currently 2.4.1.1).
The issue was fixed by using Service Bus Explorer 2.1 which is also included in the Service Bus Explorer download.
Using the 2.1.3.0 version the issue went away.
Get it here. http://code.msdn.microsoft.com/windowsazure/Service-Bus-Explorer-f2abca5a
Edited: Above link is broken.Use this instead. https://code.msdn.microsoft.com/windowsapps/Service-Bus-Explorer-f2abca5a
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With