Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium


Problem with emails with  "Invalid or non existent document"

Posted on 2004-11-11
Medium Priority
Last Modified: 2013-12-18
When this error occurs "Invalid or non existent document" with  a notes client's email. The email cannot be deleted unless by doing a Shift/F9 (repair of the index) this will get rid of the email. Is there a way to restore the email without needing to restore from a tape backup or having the sender re-send the email? I would like to avoid even doing a SHIFT/F9 to get any email fixed.
Question by:twizted_teck
  • 3
  • 2
LVL 31

Expert Comment

ID: 12557719
That error usually occurs with an out of date or corruptindex (which shift-f9 usually fixes permanently).  The document, in all cases, was already deleted, it was just still showing in the view.  The document could have been deleted automatically if it was corrupt (fixup will do this -- it actually purges the document without leaving a deletion stub, which is what normal deletion would leave). Or, the user could have simply deleted the document, though this usually results in Document has been deleted, not in Invalid or nonexistent document.

If this error occirs repeatedly, I have two suggestions:
1) hunt down what is causing the document to get deleted in teh first place, check your logs
2) if shift-f9 fixes the problem but t returns for the same view, doa complete replace design of the user mailbox, because it sounds as if the design source has become corrupted

It also can't hurt to do a full compact/fixup/reindex

LVL 31

Accepted Solution

qwaletee earned 500 total points
ID: 12557722
FYI, this really elongs in the Lotus DOmino Administration topic area.

Author Comment

ID: 12557926
So after the email has become corrupt, it is impossible to fix the email other than to restore from tape media or having the email re-sent?
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

LVL 31

Expert Comment

ID: 12558731
The email has not become corrupt, only the view index.  However, it is possible that a "deeper" case is that some of the messages became corrupt and were purged (since a corrupt document is not permitted).  Docs unexpectdly purged might cause the index to fail to update (so it leaves an entry for the purged doc, with no actual document behind it).  View rebuild causes complete initialization of view index, so only valid docs are added back in.

Does that clarify?

If you did lose a corrupt doc, thn yes, the only way to get it back is from a separate copy (which could be tape, or could be a replicated/clustered mail file copy).

Author Comment

ID: 12559769
Thanks for your help qualetee!!!

Expert Comment

ID: 23793502
I am using C to render the note. I am stucked when I come to the point CompoundTextAddRenderedNote(params..........)
It is giving ERROR code 551->"Invalid or nonexistent document".
How to get rid of from this issue...? Please help me.

Below is the attaced NSF.

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Problem "Can you help me recover my changes?  I double-clicked the attachment, made changes, and then hit Save before closing it.  But when I try to re-open it, my changes are missing!"    Solution This solution opens the Outlook Secure Temp Fold…
Article by: Rob
Notes 8.5 Archiving Steps and Tips This article covers setting up a Notes archive, and helps understand some of the menu choices making setting up and maintaining a Notes archive file easier.
this video summaries big data hadoop online training demo (http://onlineitguru.com/big-data-hadoop-online-training-placement.html) , and covers basics in big data hadoop .
As many of you are aware about Scanpst.exe utility which is owned by Microsoft itself to repair inaccessible or damaged PST files, but the question is do you really think Scanpst.exe is capable to repair all sorts of PST related corruption issues?
Suggested Courses

571 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question