MY Domino server version is 6.5.3 for windows/32 and the OS is win2000 server. My agent connects to an LDAP server, looks up an email address and returns with the results. This LotusScript searches the LDAP Server using Microsoft ActiveX Data Objects (ADO) and Active Directory Service Interface (ADSI) provider. The program constructs an SQL statement for the search and passes it to the "execute" method of the "ADODB.Connection" class.
The agent runs fine from the Notes client. However, when the agent runs per a schedule it throws the error:
"Operation is disallowed on this session".
The "Set" line of the following code causes the error:
Dim adoConn As Variant
Set adoConn = CreateObject("ADODB.Connection")
adoConn.Provider = "ADSDSOObject"
adoConn.Open "ADs Provider"
suggestions? thanks in advance