Web deployment task failed

I ran into another issue when publishing my Asp.net web app to a new server.

I would get the following message:

Web deployment task failed. (Could not connect to the remote computer (“<mywebsite>”). 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.)

I found this site from Microsoft that help me get to the problem:

https://www.iis.net/learn/publish/troubleshooting-web-deploy/troubleshooting-web-deploy-problems-with-visual-studio

My issue was simple, after the reboot, Web Deploy didn’t start back.

I went in to IIS Manager → Management → Management Service:

managementservice

Top right, it will show the alerts:

alerts

Click start.

Test it again, it should work if you have everything in this window set up correctly.


I also added some security here to my specific ip address, something you might want to consider once you are publishing, but that’s for another day.

managmentservicesettings

Share

Be the first to comment

Leave a Reply