srtindall
asked on
Active Directory Error
Below is an error message while trying to create an account in Active Directory through .Net code.
We are seeing the error very intermittently, only about 5% of the time.
Any ideas? What to try?
ErrorMessage:
Exception from HRESULT: 0x80005009
__________________________ __________ ____
InnerException:
System.Runtime.InteropServ ices.COMEx ception (0x80005009): Exception from HRESULT: 0x80005009
__________________________ __________ ____
StackTrace:
at System.DirectoryServices.A ccountMana gement.ADS toreCtx.In sert(Princ ipal p) at System.DirectoryServices.A ccountMana gement.Pri ncipal.Sav e() at ADMethodsAccountManagement .CreateNew User(Strin g sOU, String sUserName, String sPassword, String sGivenName, String sSurname, Boolean& sExists) in C:\VSS_CODE\StBarnabas\StB arnabas\Ap p_Code\ADM ethodsAcco untManagem ent.cs:lin e 309 at Login_NewAccount2.Register UserInActi veDirector y(String strOU, String strActiveDirectoryGroup, String strFirstName, String strLastName, String strLoginUsrname, String strLoginUsrpwd, String strMail, String strqualcareUserUniqueID, String strqualcareUserDOB, String strqualcareUserHealthplanG roupNum, String strqualcareUserHealthplanS ubscriberN umber, String strqualcareUserLegalTermsA cceptedDat e, String strqualcareUserLoginSecuri tyQn, String strqualcareUserLoginSecuri tyAns) in C:\VSS_CODE\StBarnabas\StB arnabas\Lo gin\NewAcc ount2.aspx .cs:line 456 at Login_NewAccount2.btnSubmi t_Click(Ob ject sender, EventArgs e) in C:\VSS_CODE\StBarnabas\StB arnabas\Lo gin\NewAcc ount2.aspx .cs:line 213
__________________________ __________ ____
We are seeing the error very intermittently, only about 5% of the time.
Any ideas? What to try?
ErrorMessage:
Exception from HRESULT: 0x80005009
__________________________
InnerException:
System.Runtime.InteropServ
__________________________
StackTrace:
at System.DirectoryServices.A
__________________________
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Soooo...am i missing something, what was the solution for the initial submitter?