NotesDocument.Send in a LotusScript Agent

We have a web application where users create forum documents. When a new document is created on the web it kicks off an agent which creates a new document in the current database. It then sets fields on this document and calls the .Send method of the NotesDocument class.

When I look in the log on the server we get the following as an error.

Agent ‘Notify of New Entry’ error: Notes error: You do not have a mail file/server specified. Use File Mobile Edit Current Location… to set them.

I have created a person document for the ID that I sign the agent with, that has a mail database on the server.

Does anyone know what might be the problem or solution?

Thank you in advance.

Subject: NotesDocument.Send in a LotusScript Agent

Is the agent running with the authority of the ID that signed the agent, or with the web user’s identity?

Subject: NotesDocument.Send in a LotusScript Agent

We had a similar problem once with a Web application that had always worked and, believe it or not, restarting the server solved the problem.

Cheers

Paul

Subject: NotesDocument.Send in a LotusScript Agent

We had a similar problem with various agents (same error in log). Removing the “location=…” line from the server’s notes.ini and restarting Domino fixed for us.