Question

i have a problem, sorry for my english. I have a virtual server where I have installed SharePoint 2013 Enterprise, SQL Server 2012 R2 and Visual Studio 2013. When opening visual studio 2013 and trying to create a sharepoint solution, this one displays me an error box, stating "Can not connect to the target site, this error can occur the specified site not being hosted on the local system." . And I can not find the solution, if you need additional information, I can add it in the question enter image description here

Was it helpful?

Solution

You've got a hypen in your URL (spc-sharepoint**-**:8080). Remove that and try again.

EDIT: You need to modify the hosts file at C:\Windows\System32\drivers\etc\hosts with the line:

127.0.0.1 spc-sharepoint-

Licensed under: CC-BY-SA with attribution
Not affiliated with sharepoint.stackexchange
scroll top