When moving a Domino 4.6.7 timesheet app database onto our new 6.0.1 server, users are now getting the following error when trying to “create” a timesheet:
Server error: Entry not found in index.
Copying a timesheet is not a problem. In addition, I have manager rights to the database and I “can” create a new timesheet. To test, I gave another user the same manager rights and still got the error message, so I am not confident it is a rights issue.
I have run fixup with no improvement. Also, it is not a full indexed database. Any ideas how to fix this??? Thanks.
Subject: Server error: Entry not found in index
What this means is that the code is looking into a view for a specific document, and not finding it, or not finding any documents for the first column ‘key’ that it is looking for. What I would suggest is turn on the debugger (file, Tools)and watch where the script dies. You can then find out what view it is looking in, and probably what key it is using to try to find something there. Possibly a document is missing that it expects to be there, like a configuration document. I sometimes put msgbox statements throughout the script to tell me if a document or view computes to ‘nothing’. You can also put this code in any script, it makes life easier:(just under sub initialize)
on error goto oops
(just above end sub)
exit sub ’ this prevents a normal run from executing the error code
oops:
msgbox "An error has occured: " & ERROR$ & " on line " & erl()
If it is a scheduled agent, the message will appear in the logs and on the server console.
Steve
Subject: RE: Server error: Entry not found in index
Thanks for the reply Stephen. I have now found 2 people that are able to create new timesheets… everyone else is unable to. I have looked at the forms (with designer rights) and cannot even find where the “create” button resides. I have inherited someone else’s custom (cr)app… Do I need designer access to enable the debugger? Thanks. Mike