VS 2005 not loading project on IIS 7 and Vista

From here

If you get this error when loading a Web Application project on Visual Studio 2005 running on Vista and IIS 7 –

“Unable to read the project file ‘xxx.csproj’. The Web Application Project xxx is configured to use IIS. To access local IIS Web sites, you must install all of the following components:

Internet Information Services.

IIS 6 Metabase and IIS 6 Configuration Compatibility

ASP.Net

In addition, you must run Visual Studio in the context of an administrator account……..”

Do the following –

  • Run VS.Net 2005 as Administrator – On the VS.Net 2005 shortcut, right click, Properties-Compatability and check the Run as administrator box is checked.
  • Check if ASP.NET is installed: Go to Control PanelPrograms and Features Turn Windows features on or offInternet Information ServicesWorld Wide Web ServicesApplication Development Features – Check ASP.Net option.
  • Make sure the IIS 6 compatibility is installed: Go to Control PanelPrograms and Features Turn Windows features on or offInternet Information Services – Web Management ToolsIIS 6 Management Compatibility – Check all of them.
  • Works for me!