tag:help.appveyor.com,2012-11-13:/discussions/problems/1489-having-problems-with-web-deploy-with-untrusted-serverAppVeyor: Discussion 2018-10-19T08:17:00Ztag:help.appveyor.com,2012-11-13:Comment/359552592015-02-04T03:58:42Z2015-02-04T03:58:42ZHaving problems with Web Deploy with untrusted server<div><p>You can call any command for sure.</p>
<p>Why wouldn't you use built-in deployment provider?</p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/359552592015-02-04T04:00:33Z2015-02-04T04:00:33ZHaving problems with Web Deploy with untrusted server<div><p>because there's no checkbox to do <code>-allowUntrusted</code>
... or is there?</p>
<p>(the build-in <code>MSDeploy</code> provider works 100000% sweet
with our production azure websites. but for our <em>dev</em> sites
(ie. the developers who's forks continuously deploy to their iis
website on a single azure vm) i'm stuck trying to get this to work
:(</p></div>Pure Krometag:help.appveyor.com,2012-11-13:Comment/359552592015-02-04T04:01:09Z2015-02-04T04:01:09ZHaving problems with Web Deploy with untrusted server<div><p>Also - what's the command line if i have to?
<code>msdeploy.exe</code> is the name? or
<code>web.deploy.cmd</code> ... ?</p></div>Pure Krometag:help.appveyor.com,2012-11-13:Comment/359552592015-02-04T04:02:49Z2015-02-04T04:02:49ZHaving problems with Web Deploy with untrusted server<div><p>Built-in Web Deploy provider should allow untrusted
certificates.</p>
<p><code>msdeploy.exe</code> - it's installed on build workers, but
not in <code>PATH</code></p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/359552592015-02-04T04:13:06Z2015-02-04T04:13:06ZHaving problems with Web Deploy with untrusted server<div><blockquote>
<p>Built-in Web Deploy provider should allow untrusted
certificates.</p>
</blockquote>
<p>hmmm. ok. then i must have another issue then if you're already
doing that bit, for us :(</p>
<p>It just hangs here...</p>
<pre>
<code>Uploading artifact Foo.zip (24.3 MB)...OK
Deploying using WebDeploy provider
Synchronizing contents of "Foo.Application.Web" artifact to website Dev-Web on server https://foo.cloudapp.net:8172/msdeploy.axd?site=Dev-Web using WebDeploy
Info: Using ID '3dde7e44-6421-4113-afa5-ef81dbec6a38' for connections to the remote server.</code>
</pre>
<p>Hard to test this stuff :(</p>
<p>Is there any chance u might be able to update the <a href=
"http://www.appveyor.com/docs/deployment/web-deploy">AV MSDeploy
docs</a> to list the actual msdeploy command line that is ran, just
for reference please?</p></div>Pure Krometag:help.appveyor.com,2012-11-13:Comment/359552592015-02-04T04:31:24Z2015-02-04T04:31:24ZHaving problems with Web Deploy with untrusted server<div><p>The trick is that it doesn't use msdeploy.exe command line, but
it uses managed Web Deploy API.</p>
<p>If you manage to deploy this from command line using
msdeploy.exe then you should be able to use the same settings in
AV.</p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/359552592015-02-04T04:53:04Z2015-02-04T04:53:04ZHaving problems with Web Deploy with untrusted server<div><p>Got it working in AV with UI. I'm <em>guessing</em> the problem
was with my Web Management Service. Restarting that and it all
worked.</p>
<p><a href="http://i.imgur.com/caKlTXz.png"></a></p>
<p>Sorry for wasting your time :(</p></div>Pure Krometag:help.appveyor.com,2012-11-13:Comment/359552592015-02-04T04:53:24Z2015-02-04T04:53:24ZHaving problems with Web Deploy with untrusted server<div><p>Ref: <img alt="" src="http://i.imgur.com/caKlTXz.png"></p></div>Pure Krome