Thursday 1 September 2016

Content deployment failed, client response text/html expected text/xml

Content deployment job 'NonEng' failed.The remote Web service request failed with this message: 'Exception from HRESULT: 0x80131904'; Details: '<detail><errorstring xmlns="http://schemas.microsoft.com/CmsPublishing/soap/">Exception from HRESULT: 0x80131904</errorstring><errorcode xmlns="http://schemas.microsoft.com/CmsPublishing/soap/">-2146232060</errorcode></detail>'.

Content deployment job 'Eng' failed.The remote Web service request failed with this message : 'Client found response content type of 'text/html; charset=utf-8', but expected 'text/xml'. '.

If you got these errors in your Content Deployment and wondering what changed, probably the target server is restarted by one of the Admins, and it might have caused this, for me at least it did.

All we have to do is to do a good old IISRESET on the target server and then run the job.