Friday, March 9, 2012

Error occurred in deployment step 'Recycle IIS Application Pool' SharePoint

I got this error while trying to deploy sharepoint solution. The error message is: 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.

You can also follow the forum posts here: Error occurred in deployment step 'Recycle IIS Application Pool'

There can be a lots of reason for this error. I got this error while trying to deploy web part to my SharePoint 2010 site from my Visual Studio 2010.

I will suggest to open the web site and check whether it is opening in the browser or not. In my case it was not opening and I got the error as Cannot connect to the configuration database.

The reason I got this error because I have changed my network password but i have not updated in SQLServer service.

So I followed the below article and changed my SQLServer Service password.
http://www.sharepointdotnet.com/2012/03/service-did-not-start-due-to-logon.html

And after that I started the the MSSQLSERVER service from Services list and it worked for me.

Also you can check out:

- Build hyperlink inside email in SharePoint 2010 designer workflow

- Create Apps using Office 365 development tools Napa

- ECMAScript Object Model SharePoint 2010