SharePoint development Training

[Solved] The local SharePoint server is not available. Check that the server is running and connected to the SharePoint farm.

The local SharePoint server is not available. Check that the server is running and connected to the SharePoint farm.

This SharePoint Add-in or apps tutorial explains how to solve “Error occurred in deployment step “Installed app for SharePoint”: The local SharePoint server is not available. Check that the server is running and connected to the SharePoint Farm”. The error was coming while I was developing SharePoint hosted apps or add-in using Visual Studio 2017/2015 for SharePoint 2013/2016 On-premise.

While developing first I got this error. Error occurred in deployment step ‘Install app for SharePoint’: The System Account cannot perform this action.  To resolve that error, you can check: Error occurred in deployment step ‘Install app for SharePoint’: The System Account cannot perform this action.


Solution [The local SharePoint server is not available check that the server is running and connected]:

The solution for this is to give db_owner permissions to the account which you are using to deploy the SharePoint hosted App or Add-in for all the SharePoint related databases.

For this Open the DataBase, expand Security -> Logins -> right click on the account and go to properties. Then in the properties window, click on User Mappings from the left side. Then you can select the database and slect the permission as db_owner as shown in the fig below and click on OK.

The local SharePoint server is not available. Check that the server is running and connected to the SharePoint farm.
The local SharePoint server is not available. Check that the server is running and connected to the SharePoint farm.

You may like following SharePoint Add-in tutorials:

Once you give the permission in SQL Server, the error occurred in deployment step the local SharePoint server is not available will not come.

Check out Best Alternative to InfoPath -> Try Now

free sharepoint training

SharePoint Online FREE Training

JOIN a FREE SharePoint Video Course (3 Part Video Series)

envelope
envelope

About Bijay Kumar

I am Bijay from Odisha, India. Currently working in my own venture TSInfo Technologies in Bangalore, India. I am Microsoft Office Servers and Services (SharePoint) MVP (5 times). I works in SharePoint 2016/2013/2010, SharePoint Online Office 365 etc. Check out My MVP Profile.. I also run popular SharePoint web site SharePointSky.com

View all posts by Bijay Kumar →