SharePoint user unable to deploy custom solutions
Free article submittion
Fady Soliman

Fixing the Issue with a 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 became 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.

HostGator Web Hosting

About The Author

Fady Soliman

An experienced, resourceful and highly motivated IT professional, with a proven record of success in both Stack Development and Software Architecture. Possesses a wealth of transferable skills, including outstanding interpersonal, problem solving and staff management abilities. A capable organizer, quick to grasp – and make good use of – new ideas and information, and reliable and conscientious in all he takes on.

Did you find this helpful?

Leave your Comment

Sponsored Posts
Create a Sponsored Blog Post
Free domain with hosting
Free SSL
Cheap hosting bundles
Gator Website Builder
Cheap SEO Backlink