tag:help.appveyor.com,2012-11-13:/discussions/problems/1976-webdeployAppVeyor: Discussion 2018-08-25T01:55:35Ztag:help.appveyor.com,2012-11-13:Comment/365849582015-04-15T13:35:58Z2015-04-15T13:35:58ZWebDeploy<div><p>What was the reason you specified "application_name"? It's s
virtual directory - if you don't need deploying it under virtual
directory try removing that setting.</p>
<ul>
<li>Feodor</li>
</ul></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/365849582015-04-15T18:29:06Z2015-04-15T18:29:06ZWebDeploy<div><p>The reason was that i got that error message... So i get the
same error both with and without application_name.</p></div>Thomas Dahlbergtag:help.appveyor.com,2012-11-13:Comment/365849582015-04-15T18:43:11Z2015-04-15T18:43:11ZWebDeploy<div><p>How do you build <code>Portal.Web.zip</code> artifact? What IIS
version (or OS) is that? Also, there is discrepancy in settings and
the log: <code>portal.test.se</code> and
<code>portal.testzedcom.se</code>. Have you tried deleting that
site?</p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/365849582015-04-16T06:25:17Z2015-04-16T06:25:17ZWebDeploy<div><p>I attached my appveyor.yml file for the project.</p>
<p>I've changed from portal.testzedcom.se to portal.test.se and
back again. Removed the site between.</p>
<p>I am trying to deploy to windows 2012 and IIS 8.5.9600.16384</p></div>Thomas Dahlbergtag:help.appveyor.com,2012-11-13:Comment/365849582015-04-16T08:54:47Z2015-04-16T08:54:47ZWebDeploy<div><p>I think i solved it. New yml-file attached if anyone else has
the same problem.</p></div>Thomas Dahlbergtag:help.appveyor.com,2012-11-13:Comment/365849582015-04-16T16:47:05Z2015-04-16T16:47:05ZWebDeploy<div><p>By marking artifact as <code>WebDeployPackage</code> you won't
change its internal structure - it's still what it is - zip file.
If you want to deploy from zip then remove <code>type:
WebDeployPackage</code> from artifacts definition. Otherwise, if
you need to have Web Deploy package you may try using automatic WAP
packaging in build section:</p>
<pre>
<code>build:
project: src\Portal.sln
verbosity: minimal
publish_wap: true</code>
</pre></div>Feodor Fitsner