Se ti capita questo errore quando configuri una nuova farm solution di SharePoint 2013[tag] in [tag=visual-studio]Visual Studio 2012:
Cannot connect to the targeted site. This error occurs if the specified site is not hosted on the local system. SharePoint solutions work only with locally-installed versions of SharePoint Foundation or SharePoint Server. Remote developments is suppoted only for apps for SharePoint 2013
controlla:
  • che l'utente corrente sia nel gruppo Administrators locale della macchina
  • che il sito sia raggiungibile via browser
  • che il proxy sia settato correttamente o prova a disabilitarlo
  • che Visual Studio 2012 sia sulla stessa macchina in cui hai SharePoint 2013
  • che l'utente corrente abbia accesso al sito
  • che l'UAC sia disabilitato
se anche questi controlli non danno esito positivo, aggiungi nel file host della macchina

DOS / Batch file

C:\Windows\System32\Drivers\etc
la mappatura tra l'host name e l'IP, tipo:

Text

127.0.0.1 sharepoint2013.sgart.local
Tags:
Errori120 SharePoint497 SharePoint 2013136 SharePoint Foundation11 Visual Studio37
Potrebbe interessarti anche: