Quantcast
Channel: SharePoint 2013 - Development and Programming forum
Viewing all articles
Browse latest Browse all 7589

setting up dev. environment: can't connect to sharepoint server

$
0
0

Dear all,

Newbee here. My goal is to develop a small app/add-in for a sharepoint 2013 server. I do not have an MSDN subscription and no budget for expensive tooling. I'm running into some problems and could really use some help.

I'm following this tutorial: https://msdn.microsoft.com/en-us/library/office/fp142379.aspx

My situation: we have a sharepoint 2013 server running at my university.
I want to set up a test server so I can build and test an add-in which I can later deploy on the university's server.

I installed visual studio, I set up a development site on "https://<mysite>.sharepoint.com/sites/testsite/" and now I want to start developing in studio and deploy it on that site. I created this site by adding a new site collection, and developer site template. I have also installed the office developer tools and basically everything I could install.
What I have not done is install azure and a virtual server with a Windows server running sharepoint. From what I understand from the article this is not needed.

Right, so I'm following the steps in the tutorial, only visual studio cannot seem to connect to the sharepoint. When created a new sharepoint add-in project, it gives the message: "Visual Studio can't connect to your SharePoint site to determine its version. Please choose the version of SharePoint you want to target from the options above."

When I select that manually, and start a new project, and a add a new list for example, I get the error: "Sharepoint connection error. Cannot connect to sharepoint site <etc.> Addition information: "Could not load file or assembly 'microsoft.sharepoint.client.runtime, version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c'or one of its dependencies. Teh system cannot find the file specified."

Also I get errors in my project, mainly that it cannot find stuff like 'placeHolderMain' or unhandled exception occured while calling method 'projectService_ProjectInitialized' because the system cannot find the file specified.

Thank you in advance,

Martin

//edit: Whenever I click Tools->Add sharepoint connection I get the error: "The required version of SharePoint Foundation or Sharepoint Server is not installed on this system." (which makes sense).
I'm starting to think there's no way around installing a sharepoint server locally on a virtualized MS server, or is there? I'm running out of Disk space on my main partition and would really like to prevent having to do this.


Viewing all articles
Browse latest Browse all 7589

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>