I am trying to start a new SharePoint 2013 empty project in Visual Studio 2012. When I validate the URL to connect to the server, I get a connection error (see attached) enter image description here. I am a Farm Administrator, and Site Collection Administator, but still can't connect and need to develop some apps.

  • Are you able browse the target site outside in web browser? – Muhammad Zeeshan Tahir Apr 29 '16 at 16:43
  • Also, you really should not need to work on the server to develop a SharePoint App (called Add-in now). – Nisarg Apr 29 '16 at 17:15

If you are developing SharePoint Provider-Hosted Apps, then you don't want to do a SP2013 empty project. That is designed for a server-side WSP solution, which requires you to run Visual Studio on the SharePoint Server itself - so, to create an empty 2013 project you'll need to be on the WFE box.

Do you get the same error if you try to create an "App for SharePoint"?


Added I.P. Address and localhost to the hosts file. Also added to the DBObjects Owner groups in SQL Server.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.