I have for example 2 servers: A and B On Server A I created a Lotus Agent in which I select documents from a view and copy that to Server B. When I run this agent manually from Server A then it works. But when I schedule the agent then I get an error on this line of code:
Call toDatabase.Open("CN=B","dasdar.nsf")
14-02-2017 09:20:11 AMgr: 'Administrator/as' is the agent signer of agent 'copyDocumentsToB' in 'dasdar.nsf'
14-02-2017 09:20:11 AMgr: 'Agent 'copyDocumentsToB' in 'dasdar.nsf' will run on behalf of 'Administrator/as'
14-02-2017 09:20:11 AMgr: Agent 'copyDocumentsToB' in database 'dasdar.nsf' signed by 'Administrator/as' is running in Full Administrator mode
14-02-2017 09:20:11 AMgr: Agent ('copyDocumentsToB' in 'dasdar.nsf') error message: Database CN=B!!dasdar.nsf has not been opened yet
Does it has something to do with access rights? My knowledge about IBM Notes administration is not very good. Thanks for helping out.
Add server A to server B's "Trusted servers" field on server document's security tab.