troubleshooting Question

Undead profile documents -- can't delete

Avatar of Barry Tice
Barry TiceFlag for United States of America asked on
Lotus IBM
16 Comments1 Solution583 ViewsLast Modified:
A profile-document mishap has left me with some "undead" profile documents that I can't get rid of. The problem is, one of these documents seems to be "attached" to a user, preventing him from performing a funciton in the database.

I've created a LotusScript agent that gathers all the profile documents in a doc collection (with Set dc = db.GetProfileDocCollection) and cycles through them. I've stepped through it in debug mode to take a look at these two rogue documents. Both seem to be entirely empty.

The UniversalID and NoteID are both empty. There are no items. The size is 0 (zero). The IsDeleted property is True.

I've tried removing the "good" profile docs from the doc collection and then cycling through calling dc.DeleteDocument(doc) and then doc.Remove(True), but that doesn't delete these zombies. I've also tried using dc.RemoveAll(true), but that crashes Notes, saying that some line of code has referenced memory location 0x0000000000.

All this is in Notes 5.08, by the way.

Any ideas how to exorcise these two documents?


-- b.r.t.
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 16 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 16 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros