Link to home
Start Free TrialLog in
Avatar of PKFIOM
PKFIOM

asked on

Note Item Not Found Error

We have had this error 'Note Item not found' pop up for a given user for a number of years now and we never have got to grips with it

Everytime the user or anybody else goes to access the mailbox/calendar the error message pops up

The error was around when we ran Domino 4.6 / Domino 5 and now Domino 6.5.3

I have tried to refresh the design on the mailbox, ran the usual admin programs -fixup etc, assigned new names.nsf, notes.ini file etc. and still the error occurs

Apart from recreating the user and copying the information back is there anything else I can do?
Avatar of Sjef Bosman
Sjef Bosman
Flag of France image

More info needed:
- when opening one particular mail database? or others as well?
- by one particular user? or others as well?
- you already tried the debugger to find out what happens? (seems unlikely to work)
- what are the Database launch settings? (Database Properties, 5th tab?
Does this happen on all server replicas ?

Does it happen on a local replica ?

If you have a slightly corrupted mail DB, then replicating locally to see if the problem is resolved may help.

Then you can replicate the local back to the server.

How much data is there ?

Have you tries archiving old mail to clean up the database ?

I hope this helps !
Avatar of PKFIOM
PKFIOM

ASKER

"when opening one particular mail database? or others as well?"

Just the one database

"by one particular user? or others as well?"

The user gets it when logs into lotus notes, everyone else gets when opens his calendar

 "you already tried the debugger to find out what happens? (seems unlikely to work)"

Not tried this - how do we go about that?

"what are the Database launch settings? (Database Properties, 5th tab?"

"Open Designated Frameset"
"Mail FS"
"restore as last viewed by user" Ticked - all other options unticked
"Use notes launch option"

hope that helps
Mail is on the server. As SysExpert suggests, making a new local replica might prove that there is a problem with the server's mail database itself. If there are no problems when opening the newly created local replica, you could remove the server's mail database and create a new replica on the server in place of the old one (with same path and filename). Admin permission is required to create new replicas on servers.
Just guessing, but It's probably a fax subform that's missing from the 4.6 version, or a subform that actually has a reference somewhere.  If you check the local client's log.nsf, it might actually list which subform it's looking for, or the status bar message will display it, too.  Once you figure out which note item is missing you can use Notes Peek to find out which documents or design elements (folders, probably, or stationary) are holding onto the reference (because they were private elements created using an old version of Notes and never updated)  and either update or delete them.  Easier to replace the design :) Or create a new replica, compact it, and replace the copy on the server with the new replica.

for instance, folders created from the 4.6 inbox have the 4.6. buttons and button references.. just updating those folders (there's an action that does this) might get rid of the error.
Avatar of PKFIOM

ASKER

Created a local replica of the database in question - during the copying phase to the local replica it successfully copied the design elements and then the documents themselves. At the end of the copy the same error message came up again - Note Item not found

Opened the local replica and the error message is still displayed (obviosuly did not then copy this database back onto the server)

Downloaded NotesPeek and had a look at the database - not sure what to look for exactly but there was nothing that jumped out at you

 
A new copy of the database, does that work? Probably not. Then we have to use more brutal measures:
- if you can stop the Domino-server for a few minutes, go to the mail-directory and make a filesystem copy of that database (is in fact a replica database).
- if you cannot stop it, go to the server console, type "dbcache flush" and make a filecopy immediately afterwards.
- take that file to your PC (Notes not running, Designer required)
- start Notes and choose the Island location, so it won't replicate
- View/Design to open the design of this database
- then remove all design elements you can find!
- cose the Designer, and open the Database Properties
- make sure that, on the 4th tab, the template StdR6Mail is used as template for the database
- then File/Database/Refresh design to put everything back in the database.

Now try to open it.

If this works, and you dont get an error anymore, we're almost there. You removed all folders the user created, you might try the whole process again, and the only design elements you leave are the personal folders (those marked with Do not replace). Or you tell the user to do that for himself.
.
PKFIOM, when you get the error message, would you click on the STATUS bar at the bottom of notes and read the messages to see the NAME of the form it's trying to find.  It would narrow down what design element is missing.. this would show up in the STATUS BAR or in the LOG.nsf on the client machine.  

Before you do sjef's thing, let's see if it's the design or the documents....

Using the NEW local replica, create a copy (this way so we don't replicate by accident) using  the File>>Database>>New Copy>>DESIGN ONLY.
When the new copy is done, open it.

No error>> then the error is in one of the saved documents
ERROR>> then the error is in the design, and you can follow sjef's steps to see what design element is causing havoc.



10 to 1 it's the design...
Well, more than likely its a save doc with a reference to a design element that no longer exists, i.e. fax form.  6 of 1 :)
*grin*

I'd love to have a copy of that database, but we'd better not do that.

About your save doc and the design element: would that error message pop up when only OPENING the database??

And please define "more than likely"... Is that a synonym for "certain"?

:-D
Yup, every time I've seen the error it fires when you open the database, writes a message to the status bar (about which element it's trying to find) and then posts the same error in the log.nsf on the client.

IN 4.6 to 5 it flashed on the FAX header subform, the pager subform, and custom subforms linked to inbox action buttons that were in the old mail template, but not the new one, so the error cropped up on the folders that weren't converted.  It also flashed when the custom design elements had "do not allow design refresh/replace"...  so the design refresh/replace wouldn't/couldn't replace, or the custom form was saved with the message but the form no longer existed.

Yeah, I hear you about the copy.. I could run it through TS configurator and check the design for missing inheritance, and also uncheck the "do not allow.." stuff.
Oh, another thing.. when it's a design element, it usually just flashes in the status bar. When it's attached to the inbox or other system folders, you get the pop-up message, you also get the popup message if the element is collected during start up.  i.e. a save email, calendar appt
Avatar of PKFIOM

ASKER

I have tried a number of things and I still get the error message -

(a) When I open the mailbox/calendar in question no error message is recorded in the log.nsf or on the status bar

(b) Copied the design only to the new local replica - error message was still displayed so I think it is design related

(c) Opened the database in Designer mode and there was an untitled element in the Views (going back to 2002) - deleted this item and then refresh the design - ran fixup / compact etc/ I thought that this had solved the problem but it was back again this morning

One thing I have noticed is that when I open the mailbox I get the 'Note item not found' message - when I come out of the mailbox (but remain in Notes) and then go back into the same mailbox then the error does not reappear
rent scanEZ for a week, www.ytria.com -  test it first to see if it finds the errant design element..  so a design replace didn't work?

The fact that the errant element is back tends to make me think:  your mail template has the faulty element (if so, then designer would have put it back at midnight - see log.nsf on the server when designer ran) or the copy replicated with a real database that still has the element in it.

If you have your installation CD's, try and grab a vanilla copy of the mail template off of the CD.  You're welcome to send me a copy of the database (email is in my profile), you've got me curious now. :)
Try one last thing before I get just as curious as Marilyn: close your Notes, remove/rename a file Cache.DSK in the Notes data directory, and restart Notes. Error still there?
eesh, you mean after all these posts, we missed suggesting that?  :)  Heading for backdoor now...:)
LOL. In fact, I checked twice before I sent my previous post...
ASKER CERTIFIED SOLUTION
Avatar of marilyng
marilyng

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
It's the design! I won!!

And I was almoste there:
> you might try the whole process again, and the only design elements you leave
> are the personal folders (those marked with Do not replace)

I'd never have suspected the Icon though...
Tee, hee.. when I bookmarked  the database that PKFIOM sent me on the workspace, the image was missing.. and when you went to open it or click on it, boom.. the error message appeared.  Kinda hard not to miss. ;)
Ah, let me restate the last... hard not to miss if you use the classic workspace.  Otherwise, it would be hard to see it if you're accessing in bookmarks.
I never got used to the non-classic workspace... It must be great for a non-developer probably, but I hate the cluttered sidebar and the messy bookmark-approach.