Visual Studio DB "Schema View" throws a ComException

visual-studio-2010

Solution

As a workaround, unload the project (not the entire solution!), then reload it.

Problem

When trying to open an item, such as a stored procedure, in the DB Schema View in Visual Studio 2010 Ultimate, an error dialog box appears with a ComException. What's the cause? How to solve it?

Original source