Error occurred in deployment step ‘Recycle IIS Application Pool’: The local SharePoint server is not available.
I installed the RTM bits of SharePoint 2010 during the weekend. When I was good to go! I started building my first SharePoint Project. Once I tried to deploy, all I got was “Error occurred in deployment step ‘Recycle IIS Application Pool’: The local SharePoint server is not available.”. It took quite a while to figure out what went wrong, and mainly thanks to this blog post I managed to get my stuff working. I personally don’t like to have to change the rights for every content database I create. Therefor, if you do not wish to dive into your SQL every time you want to deploy your solution on a different content database, give your user in SQL Server sysadmin rights. That way it will work for every content database.
NOTE: I got this behavior from installing SharePoint the way you should install it under a different domain account(DOMAINNAME\InstallAccount) and then using “my own account” (DOMAINNAME\Koen) to develop.