{"action":"created","issue":{"url":"https://api.github.com/repos/SharpeRAD/Cake.WebDeploy/issues/12","repository_url":"https://api.github.com/repos/SharpeRAD/Cake.WebDeploy","labels_url":"https://api.github.com/repos/SharpeRAD/Cake.WebDeploy/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/SharpeRAD/Cake.WebDeploy/issues/12/comments","events_url":"https://api.github.com/repos/SharpeRAD/Cake.WebDeploy/issues/12/events","html_url":"https://github.com/SharpeRAD/Cake.WebDeploy/issues/12","id":193837531,"number":12,"title":"Problems using WebDeploy with NTLM authentication","user":{"login":"mabreuortega","id":6969135,"avatar_url":"https://avatars.githubusercontent.com/u/6969135?v=3","gravatar_id":"","url":"https://api.github.com/users/mabreuortega","html_url":"https://github.com/mabreuortega","followers_url":"https://api.github.com/users/mabreuortega/followers","following_url":"https://api.github.com/users/mabreuortega/following{/other_user}","gists_url":"https://api.github.com/users/mabreuortega/gists{/gist_id}","starred_url":"https://api.github.com/users/mabreuortega/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mabreuortega/subscriptions","organizations_url":"https://api.github.com/users/mabreuortega/orgs","repos_url":"https://api.github.com/users/mabreuortega/repos","events_url":"https://api.github.com/users/mabreuortega/events{/privacy}","received_events_url":"https://api.github.com/users/mabreuortega/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-12-06T17:41:01Z","updated_at":"2016-12-10T16:41:07Z","closed_at":"2016-12-10T16:41:07Z","body":"I'm trying to deploy an Asp.Net MVC application to IIS. When I use the deployment script of the Publish Profile everything works but from cake I getting this error no matter what I try :-(\r\n\r\n> An error occurred when executing task 'Deploy'.\r\n> Error: Connected to the remote computer (\"miadapp01.lnrproperty.com\") using the Web Management Service, but could not authorize. Make sure that you are using the correct username and password, that the site you are connecting to exists, and that the credentials represent a user who has permissions to access the site.  Learn more at: http://go.microsoft.com/fwlink/?LinkId=221672#ERROR_USER_UNAUTHORIZED.\r\n\r\nI'm calling with this parameters:\r\n\r\n```\r\nDeployWebsite(new DeploySettings(){\r\n            SourcePath = \"{path to zip file}\",\r\n            SiteName = \"Default Web Site\",\r\n            ComputerName = \"{host name}\",\r\n            AgentType = RemoteAgent.WMSvc,\r\n            AllowUntrusted = true,\r\n            NTLM = true\r\n});\r\n```\r\n\r\nThanks in advance!\r\n"},"comment":{"url":"https://api.github.com/repos/SharpeRAD/Cake.WebDeploy/issues/comments/266221114","html_url":"https://github.com/SharpeRAD/Cake.WebDeploy/issues/12#issuecomment-266221114","issue_url":"https://api.github.com/repos/SharpeRAD/Cake.WebDeploy/issues/12","id":266221114,"user":{"login":"SharpeRAD","id":1775976,"avatar_url":"https://avatars.githubusercontent.com/u/1775976?v=3","gravatar_id":"","url":"https://api.github.com/users/SharpeRAD","html_url":"https://github.com/SharpeRAD","followers_url":"https://api.github.com/users/SharpeRAD/followers","following_url":"https://api.github.com/users/SharpeRAD/following{/other_user}","gists_url":"https://api.github.com/users/SharpeRAD/gists{/gist_id}","starred_url":"https://api.github.com/users/SharpeRAD/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SharpeRAD/subscriptions","organizations_url":"https://api.github.com/users/SharpeRAD/orgs","repos_url":"https://api.github.com/users/SharpeRAD/repos","events_url":"https://api.github.com/users/SharpeRAD/events{/privacy}","received_events_url":"https://api.github.com/users/SharpeRAD/received_events","type":"User","site_admin":false},"created_at":"2016-12-10T16:41:07Z","updated_at":"2016-12-10T16:41:07Z","body":"Your not including any credentials with the request and your getting an unauthorized error message back? \r\n\r\nThe first thing id try is including credentials that exist in IIS on the remote computer, check out the [troubleshooting ](https://github.com/SharpeRAD/Cake.WebDeploy/blob/master/TroubleShooting.md) page for more info or consult [Microsoft's](https://www.iis.net/learn/publish/using-web-deploy) documentation."}}
{"actor":{"display_login":"SharpeRAD"}}