Notes error: Requesting system's ID is the same as the server's ID. You cannot use the same ID on two systems

I have this agent running triggered when before new mail arrives to forward messages arriving to the account:

Sub Initialize

Dim session As New NotesSession

Dim note As NotesDocument

Dim db As NotesDatabase

Dim it As NotesItem

Dim subj, subj1, subj2, subj3, subj4 As Variant

Set session = New NotesSession

Set sourcedb = session.CurrentDatabase

Set db = session.CurrentDatabase

Set note = session.DocumentContext

subj1 = note.from(0) & " / "

subj2 = note.Subject(0) & " / "

sbj3 = note.sendto(0) & “/”

subj4= note.copyto(0)

Call note.ReplaceItemValue ( “CopyTo”, “”)

no.Subject = subj2 & subj1 & subj3 & subj4

Call note.Send(False, "xxxxx)

End If

End Sub

This agent was running perfectly on domino 5.

But after upgraded the server to release 6.5.3. the following error appeared:

Agent ‘xxxxx’ error: Notes error: Requesting system’s ID is the same as the server’s ID. You cannot use the same ID on two systems.

I tried also to sign the agent with the server id and then with the user id but no changes, always the same error.

Can anyone give me a suggestion?

Thanks in advance

Subject: Notes error: Requesting system’s ID is the same as the server’s ID. You cannot use the same ID on two systems.

Do you get this same error if you run this agent by hand? Can you debug it to see if this error is thrown on a certain line?

Subject: RE: Notes error: Requesting system’s ID is the same as the server’s ID. You cannot use the same ID on two systems.

I get the error at the line:call note.send(False, “xxxx”)

Is this sufficient or I should do something else?

Thanks