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 the SharePoint farm
Though you are administrator or site collection administrator for the site collection if you get this error message “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 the SharePoint farm”,Here is the resolution for you.
1.Make sure that you have access to content database. Add yourself as sys_admin to the content database.
2. Go to Central Administration site and click on he Manage Web Applications page
3. Click on the web application that you are trying to deploy to
4.Click the User Policy on the ribbon .
5.Add your windows account to the list of users with the Full Control permission.
6.Make sure you deploy the Solution(WSP) with admin account in the visual studio. You should be a part of Farm administrators groups as well.
Hope the above 6 points helps to resolve the issue. If not please let me know ,I will add it above for the benefit for the others.
You can check the resolution for the error message A Web Part or Web Form Control on this Page cannot be displayed or imported. The type could not be found or it is not registered as safe
Happy Share Pointing Folks!! Hope it helps someone!!