Deploy Error after appveyor deploy agent update
Deployment job started
Found 1 deployable artifacts.
Deploying Web application xxx.Web.xxx
Downloading artifact package xxx.Web.xxx.zip (18,860,214 bytes)
Method not found: 'Microsoft.Web.Administration.Site Microsoft.Web.Administration.SiteCollection.Add(System.String, System.String, System.String, Byte[], System.String)'.
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 05 Feb, 2015 11:00 AM
What version of OS is on target server? Deployment Agent supports Windows Server 2012 and above: http://www.appveyor.com/docs/deployment/agent#software-requirements
2 Posted by mark.garcia on 05 Feb, 2015 05:24 PM
We are using server 2008 but the old version worked with your deployment agent. Is there a way to make skip directory work with 2008? or any workaround?
thank you
Support Staff 3 Posted by Feodor Fitsner on 05 Feb, 2015 05:27 PM
I can look into that. Is it 2008 or 2008 R2? Do you have HTTPS bindings setup?
-Feodor
4 Posted by mark.garcia on 05 Feb, 2015 05:56 PM
It's 2008 R2, Https is allowed for that server because our domain has https.
Support Staff 5 Posted by Feodor Fitsner on 05 Feb, 2015 05:58 PM
I mean do you have https bindings setup on Agent deployment environment?
Also, I see agent fails on creating a new web site, right?
-Feodor
Support Staff 6 Posted by Feodor Fitsner on 05 Feb, 2015 10:29 PM
The main reason Windows Server 2008 R2 (and below) is not supported is that there is no Web Sockets available when using SignalR client.
I've setup a fresh 2008 R2 server on Azure and indeed, looking at "Deployment Agent" event log, Agent is trying to connect using "serverSentEvents" provider, then it fails after
Registering deployment agent
withError subscribing agent events: The operation was canceled.
Now I'm wondering how your server was able to connect. Could you export "Deployment Agent" event viewer log and send it to me ("Save all events as..." to
.evtx
file)? Where do you host that server?7 Posted by mark.garcia on 06 Feb, 2015 02:19 AM
Here's the log file.
OS: Server 2008 R2 Datacenter
Support Staff 8 Posted by Feodor Fitsner on 06 Feb, 2015 02:52 AM
Amazing, despite there is
Error subscribing agent events: The operation was canceled.
error it's still getting connected to AppVeyor cloud.I'll do some experiments here and let you know about the results.
9 Posted by mark.garcia on 06 Feb, 2015 03:11 AM
Because we will not be changing the OS anytime soon so we just tried it and it worked, it just doesn't work with the new one.
Support Staff 10 Posted by Feodor Fitsner on 06 Feb, 2015 04:36 AM
Mark,
We've updated Deployment Agent to support IIS 7.x. Install the latest: http://www.appveyor.com/downloads/AppveyorDeploymentAgent.msi
Let me know how it worked.
...I'd still prefer to consider Windows Server 2008 support as "unofficial" ;)
11 Posted by mark.garcia on 06 Feb, 2015 04:44 AM
Nice, I'll try this in a bit. You guys have the best customer response rate.
Thanks
12 Posted by mark.garcia on 06 Feb, 2015 06:34 AM
Cool, it works on my end. It deploys my updates and skips the directory. I tried restarting the appveyor service a couple of times though before it started to work.
Support Staff 13 Posted by Feodor Fitsner on 06 Feb, 2015 06:41 AM
Great, thanks for update!
Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 01:53 AM.