richie6700 Posted June 20, 2011 Share 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 Link to comment Share on other sites More sharing options...
Joon Posted June 20, 2011 Share Posted June 20, 2011 (edited) I know this works.$objConnection.Provider = "ADsDSOObject" $objConnection.Open ("Active Directory Provider") Edited June 20, 2011 by Joon Link to comment Share on other sites More sharing options...
richie6700 Posted June 20, 2011 Author Share Posted June 20, 2011 No it's same error.... Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now