User can not open More–Preferences. Always gets the error message “Variant Does Not Contain a Container on Module PREF_QUERYOPEN” and when they close the error message get “Field JunkMailExpireTime” Special database object cannot be located.
Subject: error message
Hm, haven’t seen that message before. Did they make any specific change in Preferences before receiving the error? Have them make a random change (check or un-check one of the boxes on the Basics tab) and click OK. I’m hoping that this would force a re-save and possibly fix the error.
Subject: Preferences Error
I made some changes and it did not fix the problem. This happened when we did the upgrade to 8.5.1.
Subject: forwarded to development
Subject: Suggestions
Sounds like either a corrupted mail file design or profile note. You can try replacing the design with the mail template from the 8.5.1 kit or deleting the profile note.
Below is a simple button for deleting the profile note (WARNING: All the users calendar profile settings will be lost!!!):
Make sure all replica’s of your mail file are closed except one (this means shutdown all your Notes Clients except one). Also, if you are using a local replica of your mail file make sure you switch to a server replica.
Open your mail file on the one client and press this button => (You should get a message that your Calendar Profile was deleted. If you get multiple messages then that means you had duplicate Calendar profiles. If you get nothing or the message that it could not be removed then we need to do some further investigation).
Close your one open mail file and shutdown the Notes Client.
Restart the Notes Client and check your Calendar Profile (it should now be reset to the default values).
Subject: Problem with suggestion
There is no button on your post. Is there another way to do what you suggested?
Subject: Code for button
Below is the code for the button. Just create a button in the body of a document and send to yourself. The click the button.
Sub Click(Source As Button)
Dim s As New NotesSession
Dim db As NotesDatabase
Dim profColl As NotesDocumentCollection
Dim profdoc As NotesDocument
Set db = s.CurrentDatabase
If Not(db Is Nothing) And (db.IsOpen) Then
Set profColl = db.GetProfileDocCollection("CalendarProfile")
If profColl.Count > 0 Then
Dim i As Integer
For i = 1 To profColl.Count
Set profDoc = profColl.GetNthDocument(i)
If Not(profDoc Is Nothing) Then
If profDoc.Remove(True) Then
Messagebox("Your Calendar Profile was successfully removed.")
Else
Messagebox("Your Calendar Profile could not be removed.")
End If
End If
Next
End If
End If
End Sub
Subject: Did not solve the problem
I created the button and ran it on the user’s machine. It removed the calendar profile but did not solve the problem. User still gets the same error message when trying to open More…Preferences.
Subject: Bad Template
The only thing then it could be is a bad template. I would try replacing design with a known good mail template.
Subject: Have already tried replacing template
Replacing design does not work.
Subject: did you replace design using the local mail85.ntf?
Subject: Used server mail85.ntf
Subject: please try using local mail85.ntf and see if that helps
Subject: Local does not work either
Subject: Finally Fixed!!!
I checked application properties and it was set to “restore last view”. I changed it to “Open Designated Frameset” MailFS and everything was back to normal. Thanks for your help.