Visual Studio 2008 Freezes in ASPX Source View

I recently installed Office 2010 on my machine and VS 2008 began freezing up when displaying the source code of aspx pages.

VS would lock down when you clicked or when you moved the cursor using the arrow keys on the Source code view of an aspx page. Once it was locked, all mouse clicks would be followed by the Windows beeping sound that you hear when you try to click outside a dialog window.

One other detail that identifies this specific problem is that when Visual Studio hangs it happens to spawn a Setup process that never exits.

This setup.exe is located in the following directory:

C:\Program Files (x86)\Common Files\microsoft shared\OFFICE12\Office Setup Controller\Setup.exe

My problem is extremely similar to the problem this guy was having when he installed Office 2007. He was able to fix his by reinstalling Office 2007. I noticed the setup.exe thing because of his post.

I tried repairing Office 2010 and VS 2008 with no success. So I ended up downgrading to Office 2007. This is the order and weird things I did that worked for me.

1. Uninstall VS 2008

2. Uninstall Office 2010

3. Deleted the following folders:

  • C:\Program Files (x86)\Common Files\microsoft shared\OFFICE11
  • C:\Program Files (x86)\Common Files\microsoft shared\OFFICE12
  • C:\Program Files (x86)\Common Files\microsoft shared\OFFICE14

4. Installed Office 2007

5. Installed VS 2008

6. Ran the windows updates for Office 2007 and VS 2008.

Advertisements

2 thoughts on “Visual Studio 2008 Freezes in ASPX Source View

  1. It’s worth mentioning that Visual Studio 2010 does not have a problem with Office 2010. But I still have some projects in VS 2008; so Office 2007 will remain on my computer.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s