Quantcast
Channel: Service Bus forum
Viewing all articles
Browse latest Browse all 1916

Cannot connect to my local service bus instance on a single box (non-domain-joined) server

$
0
0

Hello all,

I have a Virtual Machine, deployed on Windows Azure.  This machine runs Windows Server 2012 and has SQL Server 2012, Service Bus and Workflow Manager all installed on the single box.  The machine is not joined in a domain.

Service Bus Explorer

When I want to connect to the service bus namespace with Service Bus Explorer, I get the following exception:

Exception: The remote server returned an error: (401) Unauthorized. InvalidAudience: Invalid token audience: 'WorkflowDefaultNamespace'..TrackingId:aec936b6-26c6-4bd3-a4a1-88ee82172361_G wfmgrlab,T

Visual Studio Server Explorer

When I connect in Visual Studio through Server Explorer, I don't get an exception, but I don't see any error.  But if I want to create a new topic/queue, I get the following exception:

The remote server returned an error: (404) Not Found. No service is hosted at the specified address..TrackingId:d5d82552-7e86-476c-bede-772ae2a66913_Gwfmgrlab,TimeStamp:2/5/2014 11:57:13 AM

Event viewer

In the event viewer, I see that service bus is trying to connect/search for a Domain Controller.  This is the warning that gets thrown there:

Security Token Service warning: System.DirectoryServices.AccountManagement.PrincipalServerDownException: The server could not be contacted. ---> System.DirectoryServices.Protocols.LdapException: The LDAP server is unavailable.
   at System.DirectoryServices.Protocols.LdapConnection.Connect()
   at System.DirectoryServices.Protocols.LdapConnection.SendRequestHelper(DirectoryRequest request, Int32& messageID)
   at System.DirectoryServices.Protocols.LdapConnection.SendRequest(DirectoryRequest request, TimeSpan requestTimeout)
   at System.DirectoryServices.AccountManagement.PrincipalContext.ReadServerConfig(String serverName, ServerProperties& properties)
   --- End of inner exception stack trace ---
   at System.DirectoryServices.AccountManagement.PrincipalContext.ReadServerConfig(String serverName, ServerProperties& properties)
   at System.DirectoryServices.AccountManagement.PrincipalContext.DoServerVerifyAndPropRetrieval()
   at System.DirectoryServices.AccountManagement.PrincipalContext..ctor(ContextType contextType, String name, String container, ContextOptions options, String userName, String password)
   at System.DirectoryServices.AccountManagement.PrincipalContext..ctor(ContextType contextType)
   at Microsoft.Cloud.ServiceBus.Common.Security.SecurityExtensions.IsDomainController()
   at Microsoft.Cloud.ServiceBus.Common.Security.SecurityExtensions.TryOrDefault[T](Func`1 func, Boolean trace)

What would be the reason for this?  I'm sure there's something I'm overlooking, but cannot find the reason.

Cheers


Sam Vanhoutte - CTO Codit - VTS-P BizTalk - Windows Azure Integration: www.integrationcloud.eu


Viewing all articles
Browse latest Browse all 1916

Trending Articles