Server agent opening a db on another server problem

I have an agent running on server A opening a notes database on server B. My first problem was the ubiquitous (in the forum) ‘Error 4164: To open database (Server!!db.nsf) on remote machines the server where the agent is running has to be listed by remote machine as trusted server’.

The servers are in the same domain and I added A’s name to B’s Trusted Server field and vice versa. That error is no longer a problem, however, the LotusScript code still doesn’t open the database, but also doesn’t produce an error. I have switched the agent and db (agent on A, db on B, agent on B, db on A)with the same results. The agent is signed by me and I’m in the proper ACL on both servers - I can run the agent from my workstation, accessing the db on either server, with positive results. Help! Any ideas? Thanks.

-Don Lawton