Insufficient rights when deploying a SP2010 project from Visual Studio
this time just a quick tip for some of you getting an error when deploying a SharePoint 2010 project from Visual Studio:
Error occurred in deployment step ‘Recycle IIS Application Pool’: Cannot connect to the SharePoint site. If you moved this project to a new computer or if the URL of the SharePoint site has changed since you created the project, update the Site URL property of the project.
In my case, the Site URL property of the project was empty but still the need was to deploy the project globally into the environment.
Furthermore, this message can be somewhat misleading, as it may occur when the user account with which you are deploying the project with, has insufficient rights to do so (e.g. is not the member of the farm’s administrators group).
Hope this helps,