Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio 2008 freezing when editing aspx/master pages

Visual Studio freezes up continually when I'm editing master pages or aspx files. Here's what I've tried that have not helped:

  • restarting VS
  • only working with few files open at a time
  • Disabled all addins (resharper etc.)
  • deleted .suo and .user files
  • changed default editor from Web Form Editor and Master Page Editor to HTML Editor
  • installed SP1

I don't have tons of files - 3 Master pages and maybe 30 aspx files. It is a asp.net mvc project. All I have to do to get VS to freeze is type a little text or even just paste. The freezing lasts a good 5-10 seconds. My machine has 4GB of RAM and fast disks.

Could it have anything to do with asp.net mvc? Would the amount and size of other projects in the solution affect the editor?

like image 700
JeremyWeir Avatar asked May 07 '09 20:05

JeremyWeir


2 Answers

I Solved this problem by uninstalling 'Microsoft Visual Studio Web Authoring Component' from my machine. It can be uninstalled from 'Add/Remove Programs' option in Control Panel. What a nightmare!

Now everything works just like its supposed to. I'm surprised Microsoft couldn't figure out what the problem and solution is. How much do they spend on R&D and Q/A again?????

Hope this helps others.

like image 162
Amit Avatar answered Nov 03 '22 18:11

Amit


I had a similar issue and found an article about the problem, rather than reinstall Office to check, I simply renamed the setup.exe to setup.exe.old and that resolved it.

like image 9
Robert MacLean Avatar answered Nov 03 '22 17:11

Robert MacLean