Agent accessing calendars on remote servers

Hi folks,

can’t find the solution:

We have a database running a Lotusscript Agent that accesses calendars and creates calendar entries.

now, when we run that agent manually via the “Run”-Action it works fine on all servers, both remote and the server the database is lying on.

but when the agents does its scheduled run once in an hour, it only creates calendar entries on the local server. on any remote server, all in the same domain as the local server, the calendar entries are not being made. error message according to log is “database has not been opened yet”.

up to now we checked:

  • ACL is fine, must be, because using the agent manually it works.

  • Signer and all servers have access to databases, other servers and are also allowed to both run restricted and unrestrictes agents.

  • all servers are added to “trusted server” field on any other server within the domain.

What else can we do? I dont find why that agend does not run on schedule…

Help please…

Thanks

Marco

Subject: Agent accessing calendars on remote servers

Check either the sequencing of when you are instantiating and assigning the database object or if you are using front end classes when you should be using back end classes. If you try to do something with the database object before it is assigned, you typically get the “database not opened” message.

Perhaps you can post some of your code (at least the part that leads up to instantiating and assigning the database object)? I also find it useful to throw in some logging statements (I use OpenLog on OpenNTF.org) to verify that the code is going where I want it to go. I also put in some error handling along with OpenLog’s LogError() function.

Mike Miller

http://www.groupcollaborationservices.com