Since yesterday I’ve been having weird issue with Visual Studio 2008 SP1 locking up whenever I edit HTML files. Basically, the interface stops responding and any click anywhere within Visual Studio (e.g. Solution Explorer, within the HTML file itself, the menus) causes a system beep – ding!
It’s really annoying obviously and the only workaround is to kill Visual Studio in Task Manager.
Then when you restart Visual Studio it’ll load up the HTML file you were working on, and if you’re not careful it locks up again.
This started happening yesterday, when I uninstalled the Beta of Office 2010 and installed the RC.
Update: I found the solution, thanks to this blog post.
When Visual Studio hangs it spawns a setup process that never exits. The setup.exe is located at:
C:\Program Files (x86)\Common Files\microsoft shared\OFFICE12\Office Setup Controller\Setup.exe
All I did was run that setup.exe, and chose Repair. It repaired “Microsoft Visual Studio Web Authoring Component”, and once it was done Visual Studio stopped locking up.
I got the same problem after installing Office 2010 RTM (uninstalled 2007 32-bit and installed 2010 64-bit).
After reading your post I decided to try first by starting Visual Studio as administrator. Maybe that spawned setup.exe didn’t have the necessary rights, but that didn’t seem to be it. No visible response, setup.exe just sitting there in task manager without any sign of activity.
Then tried your solution, and that fixed it. Thanks.
It could be I just didn’t wait long enough for it to finish the first time, the repair process did take a while.
Thanks a lot
Also been using office 2010 rc 64bit and visual studio 2008 locked up all the time.
The repair thing did the job
Looked all over the place these days to fix it!
Great job
I hope that this post climbs Google ranking, it’s very useful! Microsoft hasn’t write about this bug.
Great thanks! I was running into the same issue for a few days, but I had no clue what caused it (I did not link it to me installing Office 2010 rtm a few days ago). :)
Great You save me !
Also been using office 2010 64bit and visual studio 2008 locked up all the time.
Same problem exists with the release of Office 2010. This issue was driving me crazy and thankfully I found this fix. Worked like a charm!
Thanks!!!
I too am having this problem … just found this article after nearly two days of searching for the problem. I originally thought it was related to my recent installation of VS2010 (about the same time as Office 2010). I uninstalled VS2010 … uninstalled VS2008 — same problem existed.
Very glad to find this article. I installed the release of Office 2010 and and this issue (not RC) so as more people install Office 2010 I’d imagine this issue will be more common.
I’ve been running for about 15 minutes without it locking up — so I think it’s working for me too.
Thanks Matt! Your solution worked for me and restored my sanity.
This problem has been driving me nuts the past few days! Solved now thanks to your post!