Video Screencast Help
Search Video Help Close Back
to help
New in the Rewards Catalog: Vouchers for "Symantec Technical Specialist" and "Symantec Certified Specialist" exams.

Active Directory Connection Error

Updated: 21 May 2010 | 4 comments
DaryllE's picture
0 0 Votes
Login to vote

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

Comments

Dalceon's picture
07
May
2009
0 Votes 0
Login to vote

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
07
May
2009
0 Votes 0
Login to vote

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
07
May
2009
0 Votes 0
Login to vote

Login Account

Hi, no logged in with a Domain account

rhamner's picture
07
May
2009
0 Votes 0
Login to vote

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?