Because management wants all user attibutes updated, i have created a script that read the export excel sheet of our helpdesk software. I search in AD for a duplicate email adress (because that's the only thing i have got)
Then when i update the records and on the bottom try to do objUser.SetInfo , i crashes, it seems like it no longer has connection to AD.
If i do a objUser.SetInfo after every entry that i update it works fine.