Active Directory Connection Error

DaryllE's picture

Hi All,

I am trying to use the Workflow Components from "Incendio Technology" specifically the "Get Domain Controllers" component as a test of connectivity however, when I run the project I get the following error:

---- Start Error -----
Log Message :

Exception Type : System.Exception
Message: (Get Domain Controllers GetDomainControllers) - Current security context is not associated with an Active Directory domain or forest.
Stack Trace
(inner exception)
Current security context is not associated with an Active Directory domain or forest. at System.DirectoryServices.ActiveDirectory.DirectoryContext.GetLoggedOnDomain()
at System.DirectoryServices.ActiveDirectory.DirectoryContext.IsContextValid(DirectoryContext context, DirectoryContextType contextType)
at System.DirectoryServices.ActiveDirectory.DirectoryContext.isDomain()
at System.DirectoryServices.ActiveDirectory.Domain.GetDomain(DirectoryContext context)
at System.DirectoryServices.ActiveDirectory.Domain.GetCurrentDomain()
at Inc.AdLib.AdHelper.GetDomainControllers()
at IncendioTechnology.Components.ActiveDirectory.GetDomainControllers.Run(IData data)
at LogicBase.Core.ExecutionEngine.MultiPathProcessComponentExecutionDelegate.Execute(IData data, IOrchestrationComponent comp, String& outputPath, IExecutionEngine engine, TLExecutionContext context)
at LogicBase.Core.ExecutionEngine.AbstractExecutionEngine.DoRunComp(IOrchestrationComponent comp, IData data, TLExecutionContext context)

---- End Error ---

I am ruuning this from a computer that is a member of my domain and the Domain Function Level is set to Windows 2003

Can anybody point me in the direction or a resolution?

Kind Regards
Daryll

Dalceon's picture

I tried the component and it

I tried the component and it worked for me.
are you by chance logged into the computer using a local account instead of a domain account?

Dalceon's picture

I tried the component and it

I tried the component and it worked for me.
are you by chance logged into the computer using a local account instead of a domain account?

DaryllE's picture

Login Account

Hi, no logged in with a Domain account

rhamner's picture

RE: Active Directory Connection Error

Hi Daryll,

Does this work in the debugger but not IIS, or neither? If neither, did you change your tool preferences to use IIS for debugging?