Hi there,
today I had an agent which was working on several databases on different servers. It was intended to run both as a normal agent and as a server agent. Starting it from the client it worked as expected. But on the server it produced an incomplete result.
Searching several hours I found an inconsistency of the implementation of the Notesdatabase.Server property. Usually it delivers the servername in abbreviated form, but the server agent gets for a database on the same server the server name in canonical form and for other databases which reside on other servers, again, as usual, it gets the abbreviated form.
My agent was, of course, not prepared to handle different versions of servernames.