I have been fighting some a crash with visual studio 2008. The IDE would crash without a single dialog box when opening any of the aspx files. This includes pages (aspx), user controls (ascx) and master pages (.master) files.
This problem occurred on my system with the following configuration:
- Vista x64 SP1
- Visual Studio 2008 SP1
- Asp.net MVC RC1
I did not try a regular web forms (Asp.Net Classic) project as I am not working on any but if you are getting crashes after installing Visual Studio sp1 than give this a try.
You can download the hot fix from here:
I installed the following patch from the download set. Windows6.0-KB963676-x64.msu. It did require a reboot but it looks like this fixed my issue.
You can also reference another variation of this which is obviously related: http://blogs.msdn.com/jnak/archive/2009/02/26/fix-available-asp-net-mvc-rc-crash-in-a-windows-azure-cloud-service-project.aspx
If you cannot apply this patch you can work around this problem by changing your default editor to use the Html Editor instead of the Web Forms Editor. You need to make this change to the User Controls and Master pages as well.
To do the workaround :
- Right click on a .Aspx file. Select the Open With command
- Click on the Html Editor
- Select the Set as Default button.
- Click OK