Deploy Error after appveyor deploy agent update

mark.garcia's Avatar

mark.garcia

05 Feb, 2015 08:37 AM

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)'.

  1. Support Staff 1 Posted by Feodor Fitsner on 05 Feb, 2015 11:00 AM

    Feodor Fitsner's Avatar

    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. 2 Posted by mark.garcia on 05 Feb, 2015 05:24 PM

    mark.garcia's Avatar

    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

  3. Support Staff 3 Posted by Feodor Fitsner on 05 Feb, 2015 05:27 PM

    Feodor Fitsner's Avatar

    I can look into that. Is it 2008 or 2008 R2? Do you have HTTPS bindings setup?

    -Feodor

  4. 4 Posted by mark.garcia on 05 Feb, 2015 05:56 PM

    mark.garcia's Avatar

    It's 2008 R2, Https is allowed for that server because our domain has https.

  5. Support Staff 5 Posted by Feodor Fitsner on 05 Feb, 2015 05:58 PM

    Feodor Fitsner's Avatar

    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

  6. Support Staff 6 Posted by Feodor Fitsner on 05 Feb, 2015 10:29 PM

    Feodor Fitsner's Avatar

    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 with Error 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. 7 Posted by mark.garcia on 06 Feb, 2015 02:19 AM

    mark.garcia's Avatar

    Here's the log file.
    OS: Server 2008 R2 Datacenter

  8. Support Staff 8 Posted by Feodor Fitsner on 06 Feb, 2015 02:52 AM

    Feodor Fitsner's Avatar

    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. 9 Posted by mark.garcia on 06 Feb, 2015 03:11 AM

    mark.garcia's Avatar

    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.

  10. Support Staff 10 Posted by Feodor Fitsner on 06 Feb, 2015 04:36 AM

    Feodor Fitsner's Avatar

    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. 11 Posted by mark.garcia on 06 Feb, 2015 04:44 AM

    mark.garcia's Avatar

    Nice, I'll try this in a bit. You guys have the best customer response rate.

    Thanks

  12. 12 Posted by mark.garcia on 06 Feb, 2015 06:34 AM

    mark.garcia's Avatar

    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.

  13. Support Staff 13 Posted by Feodor Fitsner on 06 Feb, 2015 06:41 AM

    Feodor Fitsner's Avatar

    Great, thanks for update!

  14. Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 01:53 AM.

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