Could not load file or assembly 'Microsoft.Web.Deployment, Version=9.0.0.0, Culture=Neutral, PubliKeyToken=31bf3856ad364e35 or one of its dependencies. The system can not find the file specified.
- WebDeploy must be installed on the machine your running the build script on: http://www.iis.net/downloads/microsoft/web-deploy
Could not connect to the remote computer
- Make sure the "Web Management Service" and "Web Deployment Agent Service" are installed and running on the remote computer.
- By default WebDeploy will connect on port 8172 so check any firewall restrictions between you and the remote computer.
Connected to the remote computer using Web Manage Service, but could not authorize.
- Check the DeploySettings credentials against the "IIS Manager Users" section in IIS on the remote machine.
- Check the "IIS Manager Permissions" section of IIS for the site your publishing to has an entry for the user your connecting with.