title: Service Bus for Windows Server - The API Version is not Supported
body: <p>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:</p>
  
  <ol>
  <li>My corporate network is blocking access to my Azure endpoint so I can't use my genuine Azure Service Bus.</li>
  <li>I can't use WindowsAzure.ServiceBus version 2.2.7.0 against my Windows Server Service bus.</li>
  </ol>
  
  <p>I get the following whenever I try using the Windows Server Service Bus (e.g. NamespaceManager.QueueExists):</p>
  
  <blockquote>
    <p>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...</p>
  </blockquote>
  
  <p>I suspect I need to add api-version to NamespaceManager.CreateFromConnectionString but I just can't seem to find how :(</p>
  
  <p>My current connection string is:</p>
  
  <blockquote>
    <p>Endpoint=sb://[my machine]/ServiceBusDefaultNamespace;StsEndpoint=https://[my machine]:9355/ServiceBusDefaultNamespace;RuntimePort=9354;ManagementPort=9355</p>
  </blockquote>
  
  <p>No matter where I stuff api-version=2013-07 it doesn't like it.</p>
  
  <p>MTIA<br/>
  Andy</p>