private void StartWebDeployServiceOnRemoteServer() { string port = "80"; string listenUrl = "http://+:" + port + "/" + RemoteServerGuid + "/"; AgentUrl = "http://" + _server.Name + ":" + port + "/" + RemoteServerGuid; _server.WebDeployAgentUrl = AgentUrl; _executor = new RemoteExecutor(_server.Name, _server.DeploymentUser.UserName, _server.DeploymentUser.Password); _executor.StartProcess(Path.Combine(RemotePath, "MsDepSvc.exe"), "-listenUrl:" + listenUrl); }