Last post Aug 25, 2016 02:16 PM by Chris Zhao
Aug 24, 2016 07:51 AM|frank.skfoo|LINK
I have tried on Publish Web -> Publish Method : Web Deploy. It required "Web Management Service" started & Installation of Web Deploy in the Destination Server.
Diagnosis - Web Management Service or Remote Agent is not installed or unreachable on the remote computer.Resolution - Verify that Remote Agent Service or Web Management Service are started on the remote computer, depending on which one you are connecting
to. You can do a "net start wmsvc & net start msdepsvc" on the remote computer to ensure these services are started. Also, ensure that a firewall is not interrupting communications with the destination.
But both net start command returns "The service name is invalid"
1. How can I fix the above issue?
2. Can I use File System or Web Deploy Package methods? Any step by step guide?
3. Do I need to first create IIS virtual directory on the target server or just the physical path in C:\inetpub\wwwroot ?
Aug 25, 2016 02:16 PM|Chris Zhao|LINK
For non-server operating systems (i.e. Windows 7) the Web Deploy publish via Web Management Service is not supported. Instead you will have to use the Remote Agent Service, this is an admin only publishing service. You can find more info at
Download and install Web Deploy(http://www.iis.net/downloads/microsoft/web-deploy) first, and check whether it still has same issue.
Also try these steps
Make sure your firewall allows connections to the service you are using. By default, the Web Deployment Agent Service (MsDepSvc) listens on port 80, and the Web Management Service (WmSvc, also called the "handler") listens on port 8172 by default.
You must run MsDepSvc by using the built-in Administrator account, or from a domain account that has been added to the Administrators group. A local administrator which is not the built-in account will not work with MsDepSvc.
#Installing and Configuring Web Deploy
#ASP.NET Web Deployment using Visual Studio: Deploying to Test
#ASP.NET Web Deployment - Recommended Resources