Solved

Help! Entry not found in index problem

Posted on 2004-08-05
15
1,642 Views
Last Modified: 2013-12-18
I transfered a working db from R5 to R6, the a few weeks later it has decided not to work correctly.  It's a web app.

Error:  
08/05/2004 06:00:49 PM  HTTP Web Server: Lotus Notes Exception - Entry not found
 in index [/dbpath/db.nsf/Form?OpenForm&Seq=1&Unique_ID=AEB9659A0AD6493885256E83000AFEAA]

This occurs when I try to click a button with the following code that has been there since day one.

@Command([FileSave]);
URLtoGo:="/dbpath/db.nsf/ChildForm?OpenForm&ParentUNID="+@Text(@DocumentUniqueID);
@URLOpen(URLtoGo)

Any Ideas!!!!
Yoshi
0
Comment
Question by:yoshi78
15 Comments
 
LVL 1

Author Comment

by:yoshi78
ID: 11731228
oh and the child form inherits values from the parent.  Obviously due to ParentUNID
0
 
LVL 24

Accepted Solution

by:
HemanthaKumar earned 400 total points
ID: 11731361
Make sure that u have a default view...Then check to make sure the view is sorted with uniqueids.

Also hit ctrl+shft+F9 to rebuild all the view indexes to make sure that u have a new index and test.

~Hemanth
0
 
LVL 24

Expert Comment

by:HemanthaKumar
ID: 11731366
Also type http:// and full server name in the URLToGO variable
0
3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

 
LVL 1

Author Comment

by:yoshi78
ID: 11731554
A little different now:

Error:
08/05/2004 06:54:10 PM  HTTP Web Server: Corrupt Data Exception [/dbpath/db.nsf/Form?OpenForm&Seq=1&Unique_ID=7555BA4A651DC0390
5256AF7001087CE]

Thanks for the help!
Yoshi
0
 
LVL 1

Author Comment

by:yoshi78
ID: 11731569
that's after I did your suggestion Hemantha
0
 
LVL 24

Expert Comment

by:HemanthaKumar
ID: 11731698
Excuse me.. :-) After which suggestion ??
0
 
LVL 24

Expert Comment

by:HemanthaKumar
ID: 11731703
Do you save the document before inheriting it ?? I believe that is what the corruption error means !
0
 
LVL 24

Expert Comment

by:HemanthaKumar
ID: 11731707
or the document is corrupted ? try with some other doc
0
 
LVL 1

Author Comment

by:yoshi78
ID: 11731713
After doing the update of the index.  

Currently, I'm making a new copy of the db to see if the new copy works.

0
 
LVL 24

Expert Comment

by:HemanthaKumar
ID: 11731933
well then it is sure some corruption. Goto server console and issue this commands

load compact dbname -c

load fixup dbname

0
 
LVL 1

Author Comment

by:yoshi78
ID: 11732299
completed the compact and fixup

still the same error:(

0
 
LVL 24

Expert Comment

by:HemanthaKumar
ID: 11732372
try opening the document using unid

unid?openDocument

and check if the doc opens up

ALso make sure the url doesn't have any spaces

0
 
LVL 46

Expert Comment

by:Sjef Bosman
ID: 11733567
It must be the line with
    @Command([FileSave])
the error occurs on. If you only save a document from the web, which means that the document stays open, Notes handles this with a Seq=n in the URL. Try removing the last two lines, see if the error is still there.

Nothing else has changed?? The "few weeks later" bothers me...
0
 
LVL 31

Expert Comment

by:qwaletee
ID: 11737482
Corrupt data exception almost always means when you open a Domino web page  in a web browser, THEN modify any structure that contributed to that page (document, shared action, form, view, etc.), and without relaoding the page, try to click on something still open in the web browser.

Domino will detect that you are trying to use an item with specific placement on the page or in the database, and find that the placement has changed due to the change you made, and it is unable to execute the code that is now at the requested location.  So, it issues a corrupt data exception.  WHat it really means is that "you asked me to find a formula at location xyzyz, and when I looked at what was located there, it did not look like a formula," which is true, because teh formula moved!
0
 
LVL 1

Author Comment

by:yoshi78
ID: 11738370
I'm pretty sure this was a case of programmer needing to take a step back, close his yapper and think about things.  

I seems that once I did that everything made sense.  I was first receiving entry not found in index errors.  I rebuit the view index per hemantha...makes sense and then the corrupt data exception occurred because of my changesm, much like qwaletee stated.  I should have pieced it together long before I did.  Thanks for all the help.

Yoshi
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Suggested Solutions

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 shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

773 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