Link to home
Start Free TrialLog in
Avatar of srtindall
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.InteropServices.COMException (0x80005009): Exception from HRESULT: 0x80005009
________________________________________

StackTrace:
at System.DirectoryServices.AccountManagement.ADStoreCtx.Insert(Principal p) at System.DirectoryServices.AccountManagement.Principal.Save() at ADMethodsAccountManagement.CreateNewUser(String sOU, String sUserName, String sPassword, String sGivenName, String sSurname, Boolean& sExists) in C:\VSS_CODE\StBarnabas\StBarnabas\App_Code\ADMethodsAccountManagement.cs:line 309 at Login_NewAccount2.RegisterUserInActiveDirectory(String strOU, String strActiveDirectoryGroup, String strFirstName, String strLastName, String strLoginUsrname, String strLoginUsrpwd, String strMail, String strqualcareUserUniqueID, String strqualcareUserDOB, String strqualcareUserHealthplanGroupNum, String strqualcareUserHealthplanSubscriberNumber, String strqualcareUserLegalTermsAcceptedDate, String strqualcareUserLoginSecurityQn, String strqualcareUserLoginSecurityAns) in C:\VSS_CODE\StBarnabas\StBarnabas\Login\NewAccount2.aspx.cs:line 456 at Login_NewAccount2.btnSubmit_Click(Object sender, EventArgs e) in C:\VSS_CODE\StBarnabas\StBarnabas\Login\NewAccount2.aspx.cs:line 213
________________________________________
ASKER CERTIFIED SOLUTION
Avatar of Meir Rivkin
Meir Rivkin
Flag of Israel image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Soooo...am i missing something, what was the solution for the initial submitter?