I ran into this problem today while migrating a VS2008 solution to VS2010. The problem occurred in either of the following scenarios:
deleting the "program debug database" in "debug" folder worked for me.
This problem happened when I was running the .exe in the debug folder on high priority.