Firstly, check the Log file and determine if this error is appearing because of Views having been deleted. Yocan run the following command to resolve issue:
load fixup mail********.nsf -l
Also check to see if the Soft Deletions option is checked. This can be done by looking on the “Advanced” tab against the database properties.
Tell me how you go, CIAO