Not able to publish website on Windows Azure using publish through VS2010

user1679318 picture user1679318 · Sep 18, 2012 · Viewed 28k times · Source

I am facing this problem when I try to publish my web application on Windows Azure via Visual Studio 2010. I am trying by right click on project and select publish and importing publish profile downloaded from Windows Azure platform.

I am getting this error:

Error 1 Web deployment task failed. (Could not connect to the remote computer ("waws-prod-am2-001.publish.azurewebsites.windows.net"). On the remote computer, make sure that Web Deploy is installed and that the required process ("Web Management Service") is started. Learn more at: http://go.microsoft.com/fwlink/?LinkId=221672#ERROR_DESTINATION_NOT_REACHABLE.) 0 0 MeraSungard

Answer

Patrick McCurley picture Patrick McCurley · Apr 4, 2015

For those that the answer didn't work for (like me). Alternatively you can set an app setting in your Azure Website:

  1. Set WEBSITE_WEBDEPLOY_USE_SCM = false in Azure Management Portal settings (under Website → Configuration → Application Settings). Make sure false is in the value field.

  2. Download the publish settings again in VS or whatever you use to deploy.

  3. Deploy successfully.

Taken from:

https://social.msdn.microsoft.com/Forums/en-US/efa56eb2-a8b2-4690-92d0-33d97946ed29/cant-deploy-could-not-connect-to-the-remote-computer-xxxscmazurewebsitesnet-using-the?forum=windowsazurewebsitespreview