Lotus Archive settings "Document Has Been Deleted"

Posted on 2006-03-30
Last Modified: 2013-12-18

Notes 6.5.4  Windows XP SP2

Out of several hundred people 1 person is having this Archiving problem.
 I did a complete uninstall and reinstall and it fixed it for a few days now it is doing it again, what is he doing to it?

The Problem:  Archive File folder is where it should be    (C:\lotus\notes\data\archive)

If I click on the archive file it self, it will open notes and open the archive. But if I try to open it from within notes it doesn't even see the Archive.

Then if I go to  Actions>Archive>Settings>  (as if I was going to enable archiving) it throws up the following error   "Document Has Heen Deleted"

What could be the problem?

Question by:dalettco
    LVL 63

    Expert Comment

    That is strange.
    WHat hapens if yo try the File open option ?

    As long as the Icon apears on the desktop r bookmark, it should work.

    I hope this helps !

    Author Comment

    Not sure I follow you with the File Open Option.

    There is no option to open a file (under the file option)
    LVL 18

    Expert Comment

    Hi dalettco,
    > "Document Has Heen Deleted"

    Means the archive profile has been deleted, or has a different name than the user name who originally saved it.

    If an archive database exists, try this first but use a different archive database name (just in case Notes wants to recreate the database of the same name with no documents in it.)

    With the mail file open, select Actions>>Archive>>Settings.

    This will open the Archive Profile, enter a new database name, you can use the archive path, and log file name.  Press OK, then check to be sure that Notes created the new archive.  Test by selecting ONE document to archive manually.  And then verify that the document was copied and then deleted from the Notes DAtabase.

    If you haven't refreshed the design of the user's mail file, you might want to either refresh or replace the design before you embark on the solution.

    LVL 63

    Expert Comment

    From the workspace choose - File-database-open. Navigate to the exisiting archive and open it.

    LVL 18

    Expert Comment

    I believe SysExpert is still responding to the part of your question: File Open Option,   and that will confirm that you do have an archive database, and will put the icon on the workspace, or a bookmark in your bookmark folders.

    >> Actions>Archive>Settings>  (as if I was going to enable archiving) it throws up the following error   "Document Has Heen Deleted"<<  means the archive profile is missing or deleted in the mailfile, doesn't it?  

    If you are unable to open and configure the Archive Settings.. then try compacting the database, then replace the design.  


    Author Comment

      When I do this >> (With the mail file open, select Actions>>Archive>>Settings.)
                     It gives me the "Docunment Has been Deleted" error

       When I do this>>( From the workspace choose - File-database-open)

                      It says that Archiving is not set in the policy.

    So it has to be a setting in his profile right? This will have to be fixed within Lotus Admin and not his client?

    LVL 18

    Expert Comment

    Try running an agent to delete the archive profile in the mail database.  

    Go to Create>>Agent
    Give it a Name: Delete Archive Profile
    Set Target to NONE
    Set it to Shared
    Change the Run to LotusScript

    Paste this into the Intialize section:

    'Sub Initialize
    Dim session As New NotesSession
    Dim db As NotesDatabase
    Set db = session.CurrentDatabase
    Dim profile As NotesDocument
    Set profile=db.GetProfileDocument("Archive Profile")
    Call profile.remove(True)
    msgbox "Archive Profile Removed"
    'End Sub

    Also change the Properties (second tab) to #2- allow restricted operations.

    Save and Close the agent, and return to the inbox.

    Now select the agent from the Actions menu,  Actions>>Delete Archive Profile

    The messagebox will appear.

    Now try Archive>>Settings and see if you can configure the settings.

    Solution from:

    Author Comment

    Will try it Monday 04/3/2006 thanks!

    Author Comment

    Ok I tried it,

     It gave me the MSGBOX "Archive Profile Has Been Deleted"

    But when I go to  Archive>>Settings

    It still says "Document Has been Deleted" .

    LVL 18

    Expert Comment


    Let's see, did you:  Compact the mail file on the server and on local.
    Is the archive agent running on the server or on local?
    Did you replace the design of the server mail file and then replicate with the local?
    Is the mail file FT indexed either on the server or on local?

    Is there a local copy?  If not, throw a new local replica, compact that, then try to archive from the local copy.

    If there is a local copy and you've been using the local copy, then move the local replica out of the Notes Data directory, or do File>>Database>>New Copy and name it mailfilebu.nsf.

    Then delete the local replica and throw a new local replica.
    Try the archive from that new replica.

    Accepted Solution

    OK,  I blew it all away, deleted the subfolders out of the program files and reinstalled.

    It let me set up the Archive folder but would not let me access it.

    Then it started doing the "Document Has been Deleted" thing  again.

    So I removed it again, deleted all the folders , and cleaned the registry of all "Lotus" entries and rebooted.

    Then I reinstalled it fresh.

    It is now working like it should.  Thanks guys for all of your help!

    I guess sometimes you just have to whip out the regedit !!!!!
    LVL 18

    Expert Comment

    My goodness!  So sorry you had to go through all of that.  It would seem the uninstall didn't really uninstall everything.  I had that happen with a migration from 4.6 to 5.  Glad you got it solved.

    You can request a refund of your points by posting a note in customer service.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Highfive Gives IT Their Time Back

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    For users on the Lotus Notes 8 Standard client, this article provides information on checking the Java Heap size and adjusting it to half of your system RAM in attempt to get the Lotus Notes 8.x Standard client to run faster.  I've had to exercise t…
    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…
    This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor ( If you're looking for how to monitor bandwidth using netflow or packet s…
    In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor ( If you're interested in additional methods for monitoring bandwidt…

    737 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

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now