System.InvalidOperationException: Client found response content type of ‘text/html; charset=utf-8’, but expected ‘text/xml’
Table of Contents
Symptom
At task runtime the SAP Business One Connector step fails with error message:
System.InvalidOperationException: Client found response content type of 'text/html; charset=utf-8', but expected 'text/xml'
[ConfigurationErrorsException]: Unrecognized attribute 'targetFramework'
Cause
Occurs where the SAP Business One connector web service application pool has an incorrect .NET framework version.
The SAP Business One v2 connector tool requires .NET framework 4.0.
Applies To
TaskCentre tools for SAP Business One v 2.
Resolution
Ensure that .NET framework 4.0 is installed (The full version, not the client profile) and that the SAP Business One connector web service application pool is configured to use it.

SAP Business One Integration Brochure
Learn how integrating SAP Business One with other business applications or web services will save your company time and money.
Download Brochure