Agent:- error message: Cannot open databases on machines other than the server running your program
Posted on 2003-03-26
I'm fresh using the lotus script.
I want to using Agent (by schedule) to automatic copying the data from current database to another server database. Below are my script. But I try to open the "ABL.NSF" file and it return "CANNOT OPEN DATABASES ON MACHINES OTHER THAN THE SERVER RUNNING YOUR PROGRAM". Can anyone help me to solve this problem or give me suggest to do this job.
Dim session As New NotesSession
Dim db As NotesDatabase
Dim view As NotesView
Dim doc As NotesDocument
' Open Archived DATABASE
Dim arcdb00 As New NotesDatabase("DominoDB","ABL.NSF")
Dim arcdoc00 As New NotesDocument(arcdb00)