Resolve issue after installing Portrait Interaction Optimizer, the DatasourceDefExporter tool does not work and returns an error

Product Feature: Repository exporter


After installing Portrait Interaction Optimizer (IO), the DatasourceDefExporter (now called the 'Customer Metadata Tool') tool does not work and throws a number of errors in the command window and the Application Event Log. The WCF Web Service logs also show errors, but none are conclusive as to the actual cause.
The error text in the Event Log may include the following:
"System.TimeoutException: The request channel timed out while waiting for a reply after 00:01:00. Increase the timeout value passed to the call to Request or increase the SendTimeout value on the Binding. The time allotted to this operation may have been a portion of a longer timeout. ---> System.TimeoutException: The HTTP request to 'http://localhost/DecisionsWCFWebService/DecisionsWebService.svc' has exceeded the allotted timeout of 00:01:00. The time allotted to this operation may have been a portion of a longer timeout. ---> System.Net.WebException: The operation has timed out "
Which suggests that the issue could be related to a Web Service time out.


The actual cause was discovered to be as a result of the SQL Server Native Client not being correctly installed prior to installing IO. This pre-requisite is mentioned in the Interaction Optimizer documentation, but the installer does not check for or enforce its existence.


UPDATED: April 21, 2017
Please read the relevant Portrait Interaction Optimizer installation documentation and check whether the correct version of the SQL Server Native Client has been installed on your server.