System.Invalid Operation Exception unrecognized attribute multipleSiteBindingsEnabled

Symptom

When you click ‘OK’ after adding a new connection in the SAP Business One Connector global configuration (or you refresh an existing connection) you may get the following error message:

System.InvalidOperationException unrecognized attribute multipleSiteBindingsEnabled

Cause

The SAP Business One Connector web service does not expect an attribute named ‘multipleSiteBindingsEnabled’ to present resulting in the error.

The issue occurs where the web service is installed as an application under an existing top level web site and inherits this attribute from the parent web site’s web.config file.

Resolution

Installing the SAP Business One Connector web service as a top level web site will resolve the issue. This is because top level web sites do not have a parent web site from which to inherit attributes from.

If it is not possible to install the SAP Business One Connector web service as a top level web site, then you can override the setting by adding a remove element in the web.config file as follows:

<remove name=”multipleSiteBindingsEnabled” />
SAP Business One Integration Brochure

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