Manage Learn to apply best practices and optimize your operations.

Profile Document Management.

Have you ever got a Corrupted Profile document that fails to Open ?
Try this Simple solution.
Create another database of the same design and create a profile document in the
new database and write this code in the agent to copy over the profile document
to the destination database on which the profile document was corrupted.

Since only one profile document is allowed the new document overwrites the old
corrupted one.

Dim ss As New NotesSession
Dim db As NotesDatabase
Dim tardb As NotesDatabase
Dim doc As NotesDocument

Set db = ss.CurrentDatabase
server = db.Server
Set tardb = New NotesDatabase(server, "TargetDB.nsf")

Set doc = db.GetProfileDocument("ProfileForm", "Key")

Call doc.CopyToDatabase( tardb )

Dig Deeper on Lotus Notes Domino Administration Tools

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.




  • iSeries tutorials's tutorials provide in-depth information on the iSeries. Our iSeries tutorials address areas you need to know about...

  • V6R1 upgrade planning checklist

    When upgrading to V6R1, make sure your software will be supported, your programs will function and the correct PTFs have been ...

  • Connecting multiple iSeries systems through DDM

    Working with databases over multiple iSeries systems can be simple when remotely connecting logical partitions with distributed ...