j'ai cette erreur: provider 0x80040E37 table does not exist (line 22)
lorsque que j'exécute ma page asp. Voici mon code:
<%
Dim login
Dim WsNet
Set WsNet = Server.CreateObject("WScript.Network")
login = Replace(WsNet.UserName, "IUSR_FRWPM","")
Dim ObjConnection
Dim ObjCommand
Dim ObjRecordset
Set ObjConnection = CreateObject("ADODB.Connection")
Set ObjCommand = CreateObject("ADODB.Command")
ObjConnection.Provider = "ADsDSOObject"
ObjConnection.Open
ObjCommand.ActiveConnection = ObjConnection
ObjCommand.CommandText = "<LDAP://FRSPMDC001/DC=orsypgroup,DC=com>;(&(ObjectCategory=User)"&"(samAccountName="&login&")"&"(UserPassword="&password&"));samAccountName;subtree"
Set ObjRecordset = ObjCommand.Execute '(line22)
'If ObjRecordset.RecordCount = 0 Then
'MsgBox "does not exist"
'Else
'MsgBox "exist"
'End If
%>
Partager