I have been publishing to 4 different sites for nearly 6 months successfully on app services in AZURE.
Today I went to do a normal deploy and followed my normal steps.
- Clean Project, delete extra folders.
- Publish from right clicking the project name in solution explorer.
- Choose my deployment from the drop down, click "Preview Changes"
- Review files that will be updated/added/deleted
- Click Publish.
Then I get an error:
Could not connect to the remote computer ("http://www.redacted.net") using the specified process ("Web Management Service") because the server did not respond. Make sure that the process ("Web Management Service") is started on the remote computer. Learn more at: https://go.microsoft.com/fwlink/?LinkId=221672#ERROR_COULD_NOT_CONNECT_TO_REMOTESVC.
The remote server returned an error: (400) Bad Request.
If I had a connection problem or the service wasn't running, wouldn't the "Preview Changes" fail also? I had always assumed that they used the same services.
Also I tried adding "WEBSITE_WEBDEPLOY_USE_SCM" = false to config and re-deploy and still nothing. Also tried refreshing the publish profile and using the new one and still same thing.
I published on Friday, It's now Monday. No idea what happened over the weekend. If there is anyone out there with some insight that would be great.
P.S. I did get an FTP option, but there seems to be no preview option, and I like to validate the files first before sending an update. Gives me a little piece of mind seeing the list.