chuckster1
MIS
Hi There,
I'm trying to create a connection to Active Dir. with ADO.
The microsoft site tells me to use this syntax but I get an error with the Server.CreateObject. It says that object server is required but without it it does work either.
Any ideas?
Set cnn = Server.CreateObject("ADODB.Connection"
cnn.provider = "ADsDSOObject"
Set cmdCommand = CreateObject("ADODB.Command"
Set cmdCommand.ActiveConnection = cnn
I'm trying to create a connection to Active Dir. with ADO.
The microsoft site tells me to use this syntax but I get an error with the Server.CreateObject. It says that object server is required but without it it does work either.
Any ideas?
Set cnn = Server.CreateObject("ADODB.Connection"
cnn.provider = "ADsDSOObject"
Set cmdCommand = CreateObject("ADODB.Command"
Set cmdCommand.ActiveConnection = cnn