1

I receive this error when trying to create a new Visual Studio 2013(update 4) Sharepoint app.

After I select "Provider Hosted" and enter the URL, I get this popup message: enter image description here

  • SharePoint Server is a on a Windows Server 2012 R2 machine.
  • Developing from a Windows 7 machine.
  • Both machines internal to the office network.

I did not install the SharePoint server myself, but I have gone and created the App Catalog and followed numerous articles online about developing apps for SharePoint on visual studio and run a lot of powershell statements.

I am new to SharePoint development, and realise that this could potentially be one of a million things, but perhaps there is someone out there that can help narrow it down for me.

I have seen that there are similar posts but none of them that I have read have the same error message(which gives me hope that this is a specific error someone knows the solution to.)

Any help would be appreciated.

This may also help: If, I do continue with the project creation after the popup error, I click ok. Then change the target back to "SharePoint 2013", instead of "SharePoint Online"(which Visual Studio changed it to after the initial error), choose certificate authentication, enter my certificate details, select MVC site...Visual Studio goes and creates the site.... After that, if I try to Debug,F5, the project, I get the error:

"The remote server returned an error: (417) Expectation Failed."

1
  • Apologies, pretty much a duplicate of this question. However there is still no accepted answer. Commented Jul 7, 2015 at 9:21

1 Answer 1

0

Edit your hostfile under C:\Windows\System32\drivers\etc

Add a line with 127.0.0.1 your.sharepointsite.local

Btw, It's not the same problem as in the other thread - this is a on-prem problem.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.