SharePoint user unable to deploy custom solutions

Fixing the Issue with a SharePoint User Unable to Deploy Custom Solutions

A step by step guide fixing SharePoint user unable to deploy custom solutions in deployment step with error "Check server is running and connected to farm"

SharePoint user unable to deploy custom solutions

This topic will be discussed with the following structure.

Building custom solutions for SharePoint is something that no SharePoint site can not have. 

Developing custom features, web parts, event receivers and many other tools has become so important when the out-of-the-box SharePoint features become limited against the site requirements.

This post illustrates a widely faced issue when trying to add a new user to the farm and this user tries to deploy any custom solution to a SharePoint 2010 site using Visual Studio 2010. 

When this user tries to deploy the project, an error shows up with 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."

To fix this error, you need to give some permissions to the failed user on both the server and the database level. Follow these steps to fix this issue.

Server level permissions

  1. Add the user to the Administrators group. If the user is not an administrator, then add him.
  2. Add the user to the SharePoint farm administrators group. To do this, go to central administration, and under the "Security" section click "Manage the farm administrators group". On the "Farm Administrators" group page, click "New" and add the user.
  3. Add the user to site collection administrators. To do this, browse to the SharePoint site that you need to deploy the solution on. Click "Site Actions" then click on "Site Settings". Under "Users and permissions" section, click "Site Collection Administrators". On the "Site Collection Administrators" page, put the new user in the users look up box, click "Check Names" and then click "OK".
  4. Add the user to the same farm administrator groups. Add the user to the following groups: IIS_IUSRS, WSS_ADMIN_WPG, WSS_RESTRICTED_WPG_V4 and WSS_WPG.

Database level permissions

  1. The new user should be given dbowner permission on the SharePoint configuration database.
  2. The new user should be given dbowner permission on the SharePoint administrator database.

After you finish applying the above configurations, do an "iisreset" from the command prompt and try to redeploy the project from Visual Studio 2010.

Did you find this helpful?

Read Next

The following articles are related to sharepoint user unable to deploy custom solutions.

SharePoint user unable to deploy custom solutions
Fady Soliman
Fady SolimanMember since
Jun 22, 2013
Loading...
Contact Us
Share your COMMENT!

Share your thoughts and feedback on SharePoint user unable to deploy custom solutions

Ask any questions directly to Fady Soliman and the community!

By using this channel you approve that you agree on our Terms and Conditions