VS.net 2005 RTM - Lost ability to create new websites
I am repairing VS.net 2005 as I type this. I am no longer able to create websites with VS.net 2005 RTM
:-(
Screen Capture (Flickr)
Failed attempts at fixing the problem:
- devenv /ResetSettings in normal mode
- Restarted Windows XP SP2 in safe mode and ran devenv
- Changed MSCONFIG to Diagnostic startup and ran devenv
- Verified that the template files were not missing
- Reset my VS profile
- devenv /installvstemplates
Update
I got the following helpful tips from the ASP.net team
- Open an existing web site (any folder will do) and try to add a new item. Is that dialog propulated? If it is, the registry settings should be correct.
- Check to see if the templates are installed. Look in c:\program files\Microsoft Visual Studio 8\Common7\IDE\ProjectTemplates\Web. Are there .zip files installed below this folder?
- Since expanding the zips is expensive, visual studio only does this once and caches the results in a parallel folder structure c:\program files\Microsoft Visual Studio 8\Common7\IDE\ProjectTemplatesCache. Is there a Web subfolder containing files? Note that there are actually a number of subfolders under the Web folder.
- Next check the application event log. Visual Studio logs errors if it fails to unzip templates or the templates are invalide. Are there entries in the event log?
In my case, the first three questions were all "Yes". I then looked in the event log and saw multiple occurrences of the following two entries:
- One or more Visual Studio templates do not match any installed project packages.
- .NET Runtime Optimization Service (clr_optimization_v2.0.50727_32) - Failed to compile: Microsoft.ReportingServices.QueryDesigners, Version=9.0.242.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91 . Error code = 0x80070002
So, I uninstalled SQL 2005, repaired VS.NET RTM and reinstalled SQL 2005 which fixed the problem.