I get this error (in the attachment) when I open my ADO connection.
My code is as follows.
Dim con As ADODB.Connection
'set the connection
Set con = New ADODB.Connection
With con
.Provider = "ADSDSOObject"
.Open "ADs Provider" 'ADSI
End With
The error comes on the .Open line. I've tried:
.Open
.Open "ADSI"
.Open "ADs Provider"
Note that this error does not produce a messagebox, I just noticed it while I was doing some debugging. Also, I think the error is associated with the provider hence the "Provider does not support this property."
My code is as follows.
Dim con As ADODB.Connection
'set the connection
Set con = New ADODB.Connection
With con
.Provider = "ADSDSOObject"
.Open "ADs Provider" 'ADSI
End With
The error comes on the .Open line. I've tried:
.Open
.Open "ADSI"
.Open "ADs Provider"
Note that this error does not produce a messagebox, I just noticed it while I was doing some debugging. Also, I think the error is associated with the provider hence the "Provider does not support this property."
Attachments
Last edited: