Cannot move documents to shared private on first use

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!

Subject: Cannot move documents to shared private on first use…

I’m seeing the exact same behavior in 6.0.4 (Win32 client & server) from a server-based NSF. The PutAllInFolder() function fails whether the second parameter is absent or explicitly set to True.

Just when I thought things were looking up! :wink: