WebDeploy
I'm trying to publish a web package to an iis but i get this error:
Deployment job started
Found 1 deployable artifacts.
Deploying Web application Portal.Web
Downloading artifact package Portal.Web.zip (10 695 597 bytes)
Website 'Portal-Web' already exists.
- Application pool: Portal-Web
- Website root directory: C:\appveyor\projects\portal\applications\Portal.Web
Application path with expanded environment variables: C:\appveyor\projects\portal\applications\Portal.Web
Updating website bindings to:
- http *:80:portal.testzedcom.se
Updating web site Portal-Web/Portal-Web contents from WebDeploy package C:\Windows\TEMP\w0rz421p.2kg\Portal.Web.zip
Info: Adding MSDeploy.contentPath (MSDeploy.contentPath).
Info: Adding virtual path (.)
Site '.' does not exist. Learn more at: http://go.microsoft.com/fwlink/?LinkId=221672#ERROR_SITE_DOES_NOT_EXIST.
The settings is as folows:
Portal.Web.deploy_website: true
Portal.Web.site_name: Portal-Web
Portal.Web.application_name: Portal-Web
Portal.Web.hostname: portal.test.se
Portal.Web.Port: 80
Portal.Web.protocol: http
Am I doing something wrong?
Comments are currently closed for this discussion. You can start a new one.
Keyboard shortcuts
Generic
| ? | Show this help |
|---|---|
| ESC | Blurs the current field |
Comment Form
| r | Focus the comment reply box |
|---|---|
| ^ + ↩ | Submit the comment |
You can use Command ⌘ instead of Control ^ on Mac

Support Staff 1 Posted by Feodor Fitsner on 15 Apr, 2015 01:35 PM
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.
- Feodor
2 Posted by Thomas Dahlberg on 15 Apr, 2015 06:29 PM
The reason was that i got that error message... So i get the same error both with and without application_name.
Support Staff 3 Posted by Feodor Fitsner on 15 Apr, 2015 06:43 PM
How do you build
Portal.Web.zipartifact? What IIS version (or OS) is that? Also, there is discrepancy in settings and the log:portal.test.seandportal.testzedcom.se. Have you tried deleting that site?4 Posted by Thomas Dahlberg on 16 Apr, 2015 06:25 AM
I attached my appveyor.yml file for the project.
I've changed from portal.testzedcom.se to portal.test.se and back again. Removed the site between.
I am trying to deploy to windows 2012 and IIS 8.5.9600.16384
5 Posted by Thomas Dahlberg on 16 Apr, 2015 08:54 AM
I think i solved it. New yml-file attached if anyone else has the same problem.
Support Staff 6 Posted by Feodor Fitsner on 16 Apr, 2015 04:47 PM
By marking artifact as
WebDeployPackageyou won't change its internal structure - it's still what it is - zip file. If you want to deploy from zip then removetype: WebDeployPackagefrom artifacts definition. Otherwise, if you need to have Web Deploy package you may try using automatic WAP packaging in build section:Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 01:55 AM.