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.
while deploying the solution using visual studio you may get this 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 the SharePoint farm. "
Solution:
Hint for the solution is in the error message itself. It is not able to connect to sharepoint server means it is not able to communicate to database instance. i.e the instance might have stopped. So goto SQL Server configuration manager. Click on start and search for "SQL Server configuration manager". You should know that the sharepoint installed to which instance? In my case it is sql server(sharepoint). It was stopped. Just start the instance by right click on that and select Start option. Now start deploying the solution from visual studio
Hope this may help someone
thanks
pradeepa achar
Solution:
Hint for the solution is in the error message itself. It is not able to connect to sharepoint server means it is not able to communicate to database instance. i.e the instance might have stopped. So goto SQL Server configuration manager. Click on start and search for "SQL Server configuration manager". You should know that the sharepoint installed to which instance? In my case it is sql server(sharepoint). It was stopped. Just start the instance by right click on that and select Start option. Now start deploying the solution from visual studio
Hope this may help someone
thanks
pradeepa achar
Comments