Solution: Unable to load frame's content: Error rebuilding the view. Invalid data

The solution to the problem when opening a mail database or trying to view the calendar of another user when you receive the error “Unable to load frame’s content: Error rebuilding the view. Invalid data.”

run Compact -D

which discards any view indexes.

Then you should be able to open the database.

For good measure, you can run Updall -R to rebuild all view indexes.