when any developer encounters the following error
The web Application project " " is configurered to use IIS.To acces local IIS web sites ,you must run Visual Studio in the context of an administartor account
If you have received the error "Unable to create the Website...To access local IIS Websites, you must run Visual Studio in the context of an administrator account.", you must be running Windows Vista and trying to create a website in the local IIS.
In Windows Vista, by default the applications dont run under the admin priveleges even though you are logged in as an administrator.
To elevate the priveleges, you would require to find Visual Studio from the Start - All Programs - Menu, Right click on the Visual Studio icon and select "Run as administrator", Click "Continue" for the UAC prompt and thereafter you would be able to create websites in the local IIS.