Workflow Soluiton

 View Only

Strange AD Component error

  • 1.  Strange AD Component error

    Posted Feb 20, 2012 09:14 PM

    Hi folks, having a wierd problem with the Symantec AD Components in Workflow 7.1 SP2. I have several projects that use some of the AD components. The projects will work for days, even weeks at a time, then all of a sudden they just stop working. It's the AD components that are casing the problem. I get the error below. Without making any changes to the process, if I just do an IISRESET, the project starts working again.

    I noticed a new setting on the AD components, Directory Searcher Timeout. It's set to 2 by default, I've extended that to 15 just to make sure it's not a time out issues. and this is just not on one project, it's happened on 3 of the most heavily used projects.

    Any ideas?

    thanks,R
    Rob

    Application Name : CAPS
    Process ID : 3720
    Date :2/20/2012 12:54:48 PM
    Log Level :Error
    Log Category :LogicBase.Components.ActiveDirectory.GetUsersWithDetailsComponent
    Machine Name : SYWFHPPNWS0100V
    Message :
    System.DirectoryServices.AccountManagement.PrincipalOperationException: Unknown error (0x80005000) ---> System.Runtime.InteropServices.COMException (0x80005000): Unknown error (0x80005000)
       at System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail)
       at System.DirectoryServices.DirectoryEntry.Bind()
       at System.DirectoryServices.DirectoryEntry.get_SchemaEntry()
       at System.DirectoryServices.AccountManagement.ADStoreCtx.IsContainer(DirectoryEntry de)
       at System.DirectoryServices.AccountManagement.ADStoreCtx..ctor(DirectoryEntry ctxBase, Boolean ownCtxBase, String username, String password, ContextOptions options)
       at System.DirectoryServices.AccountManagement.PrincipalContext.CreateContextFromDirectoryEntry(DirectoryEntry entry)
       at System.DirectoryServices.AccountManagement.PrincipalContext.DoLDAPDirectoryInit()
       --- End of inner exception stack trace ---
       at System.DirectoryServices.AccountManagement.PrincipalContext.DoLDAPDirectoryInit()
       at System.DirectoryServices.AccountManagement.PrincipalContext.DoDomainInit()
       at System.DirectoryServices.AccountManagement.PrincipalContext.Initialize()
       at System.DirectoryServices.AccountManagement.PrincipalContext.get_QueryCtx()
       at System.DirectoryServices.AccountManagement.PrincipalSearcher.SetDefaultPageSizeForContext()
       at LogicBase.Components.ActiveDirectory.AbstractADComponent.FindADUsers(PrincipalContext context, ADUserInfo pattern)
       at LogicBase.Components.ActiveDirectory.AbstractADComponent.FindUsers(PrincipalContext context, ADUserInfo pattern)
       at LogicBase.Components.ActiveDirectory.GetUsersWithDetailsComponent.FindUsersExactMatch(PrincipalContext context, ADUserInfo info)
       at LogicBase.Components.ActiveDirectory.ADUserAbstractComponent.FindUsersFromProperties(IData data, PrincipalContext context)
       at LogicBase.Components.ActiveDirectory.GetUsersWithDetailsComponent.Run(IData data)