Hot fix available for Visual Studio 2008 SP1 crashing when opening up aspx files (views) on Vista SP1 x64

 

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:

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.

FIX

You can download the hot fix from here:

https://connect.microsoft.com/VisualStudio/Downloads/DownloadDetails.aspx?DownloadID=16827&wa=wsignin1.0

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

 

Work Around

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 :

  1. Right click on a .Aspx file. Select the Open With command
  2. Click on the Html Editor
  3. Select the Set as Default button.
  4. Click OK

Related Articles:

Post Footer automatically generated by Add Post Footer Plugin for wordpress.

About Eric Hexter

I am the CTO for QuarterSpot. I (co)Founded MvcContrib, Should, Solution Factory, and Pstrami open source projects. I have co-authored MVC 2 in Action, MVC3 in Action, and MVC 4 in Action. I co-founded online events like mvcConf, aspConf, and Community for MVC. I am also a Microsoft MVP in ASP.Net.
This entry was posted in Uncategorized. Bookmark the permalink. Follow any comments here with the RSS feed for this post.
  • Steve Sheldon

    Even with this patch I was still having crashes. I think this might be because I installed the VS2008 power tools addon.

    The solution was to go to the native %windir%\assemblies and delete the native image folders.

  • Azadeh592000

    thank u very very very  much ….