May 2010 Blog Posts
Monday, May 24, 2010 11:33 AM | Comments

Long story short, I have been struggling with a very frustrating Visual Studio 2010 bug since last Monday. All of a sudden, VS was hanging and eventually crashing every time I loaded my solution. After a while, I finally noticed something in the Server Explorer window… If you look closely at the screenshot below, you will notice that every node in my database says “[Expanding…]” after it – but it’s actually worse than that. In fact, every single database connection (I had 8 in my server explorer), is trying to open itself, and expand every single table, column, stored procedure, and view inside of each database… This was issuing thousands and thousands of SQL queries to all my database connections to query their schema, and of course, causing VS2010 to hang itself.   After some research, I found that this bug is only triggered when my solution...