lunes, 24 de octubre de 2016

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

When I tried to deploy a SharePoint Solution, I got the following 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.”
2
Cause:
This issue may occur because of one of the following:
  1. The SQL Server service is not running.
  2. The SharePoint web application pool is stopped.
  3. The current logged-in user may not be the “db owner” in the content databases.
Solution:
1-SQL Server service is not running:
To run SQL Server service follow the mentioned steps in this article .
2-Application Pool is stopped:
Try to run IISRESET command, if still stopped so it’s may be occurred after  you change the password of the application pool account so try to reset it.
  • Open IIS Manager
  • Select your application pool of your web application
  • Click advanced settings
  • Under identity click to reset the application pool account
  • Click set to update the user name and password of your account
  • Run IISRESET command.
reset application pool account
3-(The current logged-in user may not be the “db owner” in the content databases.) :
To deploy the solution successfully, you need to map the current logged-in user as db_owner into the 3 databases.
  • SharePoint_Config
  • SharePoint_Admin_[GUID]
  • Your current web application that needs to deploy the Web part

No hay comentarios:

Publicar un comentario