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

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


Resetting your "publish profile" also works :) You can reset it from the Azure Portal at your web app. enter image description here


try to run Visual Studio as admin. This solved my problem.


When you are trying to publish your web application from VS2010 to Windows Azure Websites, the publish process connect to Windows Azure Websites on specific port which is enabled for Web Deploy service. In VS 2010 if the connection to this service port is failed then VS return error as "Web Deploy is installed........ on remote server. The fact is that the WebDeploy service is already running and other machines could connect to the same server and deploy the problem is specific to your network and your machine.

There are two main place to look for 1) your deployment machine firewall 2) Proxy server if you are behind proxy. Try to change the network related settings locally so you can get it working.