Got this error:
error : The Web Application Project is configured to use IIS. Unable to access the IIS metabase. You do not have sufficient privilege to access IIS web sites on your machine.
Resolution:
Restart Visual Studio 2011 and run as administrator.