Showing posts with label Deployment Error. Show all posts
Showing posts with label Deployment Error. Show all posts

Thursday, 13 November 2014

Error occurred in deployment step "Recycle IIS Application Pool": The local Sharepoint server is not available.Check that the server is running and connected to sharepoint farm

Error: Error occurred in deployment step "Recycle IIS Application Pool": The local SharePoint server is not available.Check that the server is running and connected to SharePoint farm

The above error clearly states that the user doesn't have permissions to deploy the solution.

The following helped me resolve the same:

  • Visual Studio has to be running as administrator.
  • SQL Server service(MSSQLSERVER) has to be running.
  • User must be added to local administrators group
  • User must be added to WSS_Admin_WPG group[For App pool and IIS operations]
  • User must be added to farm administrator group
  • User must be added to site collection administrator
Provide "db_owner" permissions on the following databases:

  • SharePoint_Config
  • SharePoint_AdminContent_GUID
  • Databases of your web application starting with WSS_Content_*