Entry not found in index exception

Hi all,

I realize that this question was asked before but I didn’t find an answer. The problem is as follows.

I am developping a web application. In that application, documents are created that need to inherit information from the document that “creates” it. The sub-document is created by a button with the following content:

@Command([FileSave]);

@Command([Compose];“TestChild”)

This happens all over the application and works fine. Until today. Today I created a new set off related documents. I followed the same procedure as before, but now I am getting the following message in the server console:

HTTP Web Server: Lotus Notes Exception - Entry not found in index[/Joost/dbname.nsf/unid1?OpenForm&ParentUNID=unid2&seq=1]

where unid1 is the unid of the form (I think) and unid2 the unid of the document I’m trying to save before composing the new one.

Removing the FileSave command composes the new document but does not save the document (obviously) and thus does not have a unid yet (in case of a new document). So the problem is with the FileSave command.

Why does this work in the other parts of the application and not with the new one? I could use any suggestion.

Thanks in advance,

Joost