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
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 Panel - Programs and Features - Turn Windows features on or off - Internet Information Services -World Wide Web Services - Application Development Features - Check ASP.Net option.
Make sure the IIS 6 compatibility is installed: Go to Control Panel - Programs and Features - Turn Windows features on or off - Internet Information Services - Web Management Tools - IIS 6 Management Compatibility - Check all of them.