Deploying from TFS gives error Web deployment task failed. (Site http: does not exist.)

Deploying from TFS gives error Web deployment task failed. (Site http: does not exist.)

When you’re deploying your Web Application from TFS to an IIS Web Application you might encounter the error Web deployment task failed. (Site http: does not exist.)

Web deployment task failed.

If you got this error, it’s probably because in TFS you set the”/p:DeployIISAppPath” to the URL of a website, for example /p:DeployIISAppPath=”http://vlad.domain.com” . The correct way to specify the parameter is giving the actual name of the website from IIS, for example /p:DeployIISAppPath=”Default Web Site” . Now your error should go away!

Leave  a comment and don’t forget to like us on Facebook here and to follow me on Google+ here and on Twitter here  for the latest news and technical articles on SharePoint.  Also, don’t forget to check out SharePoint Community.Net for more great SharePoint Content

No ratings yet.

Please rate this

 
Comments

No comments yet.

Leave a Reply