We have upgraded the design of a folder, and have a function i the database script.QueryClose that removes the old folder. When wew try to fill the folder next time, it should get recreated with the new design, according to many posts here. But, instead I get the error message “Cannot move documents to shared private on first use folder”. The error occurs on the NotesDocumentCollection.PutAllInFolder(foldername, TRUE) line.
Any thought on this? Any help would be appreciated!