I have to wait now… It always run fine when the server is first loaded… it is only after I let the server site idle for a time that the problem appears.. I will post back latter
Here is my agent :
Dim session As New NotesSession<br/>
<br/>
Dim db As NotesDatabase<br/>
Dim doc As NotesDocument<br/>
<br/>
Dim ts As New TriggerSession<br/>
<br/>
Set db = New notesdatabase("","slnlog.nsf")<br/>
Set doc = New NotesDocument(db)<br/>
<br/>
doc.date = Date$ <br/>
doc.time = Time$()<br/>
doc.username = ts.username<br/>
doc.dbpath = session.CurrentDatabase.FilePath<br/>
doc.DocUNID = session.DocumentContext.UniversalID<br/>
doc.form="slnlog"<br/>
Call doc.Save(True,False)<br/>
Print |A document with a subject of "| & session.DocumentContext.Subject(0) & |" is being saved.|