Los Techies : Blogs about software and anything tech!

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
Kick It on DotNetKicks.com
Posted Mar 02 2009, 10:39 PM by erichexter

Comments

Steve Sheldon wrote re: Hot fix available for Visual Studio 2008 SP1 crashing when opening up aspx files (views) on Vista SP1 x64
on 03-03-2009 12:52 AM

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.

Jeffrey Palermo (.com) wrote KB963676 fixes Visual Studio 2008 SP1 crash on Vista x64
on 03-03-2009 2:02 AM

I blogged earlier about VS 2008 SP1 crashing silently when pulling up a web form or master page designer. KB963676 is what I have been waiting for. It was made public just last Thursday on 2/26/2009, and the hotfix fixes the crash for me. The KB description

Reflective Perspective - Chris Alcock » The Morning Brew #298 wrote Reflective Perspective - Chris Alcock » The Morning Brew #298
on 03-03-2009 3:37 AM

Pingback from  Reflective Perspective - Chris Alcock  » The Morning Brew #298

DotNetShoutout wrote Hot fix available for Visual Studio 2008 SP1 crashing when opening up aspx files (views) on Vista SP1 x64 - Eric Hexter
on 03-03-2009 3:43 AM

Thank you for submitting this cool story - Trackback from DotNetShoutout

Steve Smith's Blog wrote Visual Studio Silent Crash with Designer
on 03-03-2009 12:30 PM

If you’re encountered an issue where Visual Studio 2008 SP1 crashes silently whenever you try to open a web form or master page (which by default will open the design view), there is a hotfix that will likely solve the problem.  I ran into this recently

ASP.NET MVC Archived Blog Posts, Page 1 wrote ASP.NET MVC Archived Blog Posts, Page 1
on 03-06-2009 12:06 AM

Pingback from  ASP.NET MVC Archived Blog Posts, Page 1

Copyright Los Techies 2008, 2009. All rights reserved.
Powered by Community Server (Commercial Edition), by Telligent Systems