"The service is not serviced at the specified address" when accessing the service bus for Windows Server 1.1

[Cross reference to Azure forums because I didn't get any response there]

Hello,

I installed Service Bus for Windows Server 1.1 Preview on my Windows 8 Pro computer using SQL Express. My account is a local administrator.

Although checking that a queue exists seems to work (at least without generating any errors), I got an exception when trying to create a queue, saying: "The service is not hosted at the specified address."

Any help would be appreciated.

Thank you Thomas

UPDATE: Thus, the lack of a domain is certainly not a problem, as I followed these instructions . I am also sure that my authentication data is correct, as the call .QueueExists()fails if, for example, I change my password.

However, I get the following exception on call .CreateQueue():

A first chance exception of type 'Microsoft.ServiceBus.Messaging.MessagingEntityNotFoundException' occurred in Microsoft.ServiceBus.dll
System.Transactions Critical: 0 : 
<TraceRecord xmlns="http://schemas.microsoft.com/2004/10/E2ETraceEvent/TraceRecord" Severity="Critical">
  <TraceIdentifier>http://msdn.microsoft.com/TraceCodes/System/ActivityTracing/2004/07/Reliability/Exception/Unhandled</TraceIdentifier>
  <Description>Unhandled exception</Description>
  <AppDomain>ServiceBusTest.vshost.exe</AppDomain>
  <Exception>
    <ExceptionType>Microsoft.ServiceBus.Messaging.MessagingEntityNotFoundException, Microsoft.ServiceBus, Version=2.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35</ExceptionType>
    <Message>The remote server returned an error: (404) Not Found. No service is hosted at the specified address..TrackingId:ab98e78f-5bd0-43df-92dc-5703b9f7f5e1_GAdditive,TimeStamp:10/13/13 8:45:46 AM</Message>
    <StackTrace>   at Microsoft.ServiceBus.Common.AsyncResult.End[TAsyncResult](IAsyncResult result)
      at Microsoft.ServiceBus.Common.AsyncResult`1.End(IAsyncResult asyncResult)
      at Microsoft.ServiceBus.NamespaceManager.OnEndCreateQueue(IAsyncResult result)
      at Microsoft.ServiceBus.NamespaceManager.EndCreateQueue(IAsyncResult result)
      at Microsoft.ServiceBus.NamespaceManager.CreateQueue(QueueDescription description)
      at ServiceBusTest.Program.Main(String[] args) in c:\Users\Thomas\Documents\Visual Studio 2012\Projects\ServiceBusTest\ServiceBusTest\Program.cs:line 40
      at System.AppDomain._nExecuteAssembly(RuntimeAssembly assembly, String[] args)
      at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
      at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
      at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
      at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
      at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
      at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
      at System.Threading.ThreadHelper.ThreadStart()</StackTrace>
    <ExceptionString>The remote server returned an error: (404) Not Found. No service is hosted at the specified address..TrackingId:ab98e78f-5bd0-43df-92dc-5703b9f7f5e1_GAdditive,TimeStamp:10/13/13 8:45:46 AM</ExceptionString>
    <DataItems>
      <Data><Key>DisablePrepareForRethrow</Key><Value></Value></Data>
      <Data><Key>Microsoft.ServiceBus</Key><Value>Microsoft.ServiceBus</Value></Data>
    </DataItems>
    <InnerException>
      <ExceptionType>System.Net.WebException, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</ExceptionType>
      <Message>The remote server returned an error: (404) Not Found.</Message>
      <StackTrace>   at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
        at Microsoft.ServiceBus.Messaging.ServiceBusResourceOperations.CreateOrUpdateAsyncResult`1.&amp;lt;GetAsyncSteps&amp;gt;b__14(CreateOrUpdateAsyncResult`1 thisPtr, IAsyncResult r)
        at Microsoft.ServiceBus.Messaging.IteratorAsyncResult`1.StepCallback(IAsyncResult result)
      </StackTrace>
      <ExceptionString>System.Net.WebException: The remote server returned an error: (404) Not Found.
        at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
        at Microsoft.ServiceBus.Messaging.ServiceBusResourceOperations.CreateOrUpdateAsyncResult`1.&amp;lt;GetAsyncSteps&amp;gt;b__14(CreateOrUpdateAsyncResult`1 thisPtr, IAsyncResult r)
        at Microsoft.ServiceBus.Messaging.IteratorAsyncResult`1.StepCallback(IAsyncResult result)
      </ExceptionString>
    </InnerException>
  </Exception>
</TraceRecord>
+4
source share
2 answers

So, finally, it turned out that the latest version of the Service Bus client library (Microsoft.ServiceBus.dll v2.1.3) is incompatible with Service Bus for Windows Server v1.1 Preview ... Returning to version 2.0 solved the problem.

+3
source

MSDN, . , , , , . , Service Bus 1.0 Nuget, 1.1, . , ,

, MSDN "Windows Azure Pack: Service Bus 1.1", Windows 1.0 Microsoft.ServiceBus.dll 2.1.0.0.

Nuget (ServiceBus 1.1 Windows Server) (ServiceBus 1.0 Windows Server) Microsoft.ServiceBus.dll 1.8.0.0.

(, )

+5

All Articles