Save Document - Network name cannot be used

Hi

When i’m trying to save a document (with lotus script) into a another notes database i’m getting the error: “Network name cannot be used”.

Here is my code.

Set db = New NotesDatabase(servername, databasename)

Set doc = New NotesDocument (db)

If Not (doc Is Nothing) Then

… set values to doc fields

Call doc.Save(False,False)

End if

Thanks for any help,

Regards

Virgílio Martins

Teviz

Portugal

Subject: Save Document - Network name cannot be used

do not useSet db = New NotesDatabase(servername, databasename)

but use

Set db = New NotesDatabase(“”, “”)

call db.Open(servername, databasename)

Subject: RE: Save Document - Network name cannot be used

Hi Rob

Thanks for your replay. I change the code and until now its working fine.

Regards,

Virgílio Martins

Teviz

Subject: RE: Save Document - Network name cannot be used

Hi Rob

I’m getting again sometimes the same error. Do you think that can be a netowrk problem?

After the user receive the error he cannot open it’s e-mail database or other database on server until close and open again the Notes Client.

Thanks for your help

Regards

Virgílio Martins

Teviz

Portugal