richie6700 0 Posted June 20, 2011 Hy!!! (sorry for my bad English) Why I have error ???? $objConnection = ObjCreate("ADODB.Connection") $objConnection.Open ("Provider=ADsDSOObject") $objCommand = ObjCreate("ADODB.Command") $objCommand.ActiveConnection = $objConnection $objCommand.CommandText = "<ldap://ldap.domain.fr:389/ou=people,o=domain.fr>;(objectclass=person);cn;subtree" $rs = $objCommand.execute I have this error : The requested action with this object has failed.: $rs = $objCommand.execute $rs = $objCommand.execute^ ERROR Thx Share this post Link to post Share on other sites
Joon 1 Posted June 20, 2011 (edited) I know this works.$objConnection.Provider = "ADsDSOObject" $objConnection.Open ("Active Directory Provider") Edited June 20, 2011 by Joon Share this post Link to post Share on other sites
richie6700 0 Posted June 20, 2011 No it's same error.... Share this post Link to post Share on other sites