I have an old COM+ object that we've used to create AD user accounts with information from our HR system. This process has been broken since a recent upgrade, so I'm attempting to modify the object to point to a new DC and a new inforamtion store during mailbox creation. After modifying the code I am unable to get an account to be crated and the following error appears:
error '8007202f' Automation error A constraint violation occurred
I am not a developer and I know that this is a long shot but if anyone has any insight into if this is an AD issue or one with VB 6, any help at all would be greatly appreciated. I think this is the relevent code but again, I'm an admin not a developer:
thenewuser.SetInfo thenewuser.SetPassword "NewBie!!!" thenewuser.AccountDisabled = False Set objMailbox = thenewuser objMailbox.CreateMailbox "LDAP://MyDCCN=Mailbox Store (MyExchServer),CN=First Storage Group,CN=InformationStore,CN=MARLEY,CN=Servers,CN=MyStuff,CN=Administrative Groups,CN=MyStuff,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=MyDomain,DC=com"thenewuser.SetInfo
Thanks in advance for any help.
View Complete Post