Webdeploy

Unrecognized argument 'True'. All arguments must begin with "-" (msdeploy.exe)

Are you trying to deploy your application using msdeploy.exe with argument AllowUntrusted set to True and this error occur? Unrecognized argument ‘True’. All arguments must begin with “-”. [08:57:58][Step 1/1] Executing: ../WebDeployPackage/ProjectName.deploy.cmd /Y /M:https://10.10.70.69:8172/MSDeploy.axd /U:srv_Teamcity -AllowUntrusted=True [08:57:59][Step 1/1] SetParameters from: [08:57:59][Step 1/1] "D:\BuildAgent\work\57910644296a4e40\WebDeployPackage\ProjectName.SetParameters.xml" [08:57:59][Step 1/1] You can change IIS Application Name, Physical path, connectionString [08:57:59][Step 1/1] or other deploy parameters in the above file. [08:57:59][Step 1/1] ------------------------------------------------------- [08:57:59][Step 1/1] Start executing msdeploy.
Read more

Connected to the remote computer ("10.0.0.0") using the specified process ("Web Management Service"), but could not verify the server's certificate

If you see error message ERROR_CERTIFICATE_VALIDATION_FAILED Connected to the remote computer ("10.0.0.0") using the specified process ("Web Management Service"), but could not verify the server's certificate. If you trust the server, connect again and allow untrusted certificates. Then you have to allow untrusted certificate, there are two ways how to do it, see below. See full log of issue: [08:38:22][Step 1/1] ======================================== [08:38:22][Step 1/1] Deploy [08:38:22][Step 1/1] ======================================== [08:38:22][Step 1/1] Executing: .
Read more