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:
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
- SharePoint_Config
- SharePoint_AdminContent_GUID
- Databases of your web application starting with WSS_Content_*