2

When trying to deploy solution, facing 'Remote SharePoint site connection not support' error occurred. How to fix this?

"Error : Error occurred in deployment step 'Recycle IIS Application Pool': Remote SharePoint site connections are not supported.

4

The problem is that Visual Studio thinks your local site collection is remote,

the solution is to

  • Edit your HOSTS file at C:\Windows\System32\Drivers\etc
  • Place your site collections (sharepoint@asds.com) in there pointing at 127.0.0.1 (your machine ID).
  • Save and close , Try again.

enter image description here

Ref : Remote SharePoint Site Connections Not Supported

2

I think given site URL for your project is not your local site collection's URL. You can change it from below steps.

  1. Go to Visual Studio
  2. Select Project (not solution)
  3. Press F4
  4. You will Site URL
  5. Give your local site collection's URL here
  • This solved the problem for me, after I had already added hosts entries without any luck. – kwill Jul 31 '17 at 20:35

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.