I am trying to access a database on another server in Lotusscript. This script is scheduled in an agent. Whenever the script gets to to code to access the database object it says “database has not yet been opened”.
I have searched this forum and found out that it is not possible to use a scheduled agent to access a database on another server.
Is this true? or is there a way in lotusscript (scheduled) to access a database on another server?
Subject: RE: Using Lotusscript to access a database on another server.
Hi
Thank you for the tip.
So basically this means that if I have a scheduled agent running on server X and that agent tries to acces a database on server Y it will only work if server Y trust server X?
If that is the only way to accomplish an access connection between 2 servers through a scheduled agent then I have a problem. because the company I work for have very strict rules regarding security and they will never trust any server from a particular server.
Subject: RE: Using Lotusscript to access a database on another server.
Well,we are talking about basic security concepts of Lotus Notes here… if you are not allowed to access a database (i.e. because you are not in the ACL or the server can’t even recognise you because you are not listed in its directory), then this is how things should be…
Subject: RE: Using Lotusscript to access a database on another server.
Hi
The thing is that the id that is used to sign the scheduled agent does has right to access the database on the other server. The id is in a group that is in the ACL.
Subject: RE: Using Lotusscript to access a database on another server.
… and that would be great if the user was running the agent, but he/she’s not – the server is. The server needs to be trusted, period, if the agent is scheduled or a web agent or is triggered by a scheduled or web agent.