No response when browsing to Portrait Interaction Optimizer service endpoint URL

This problem affects all versions of Interaction Optimizer up to and including v5.5.


The browser continues to show an hourglass (for minutes) when browsing to the Interaction Optimizer (IO) service endpoint, e.g. browsing to http://localhost/iowcfwebservice/iowebservice.svc. During this time the Microsoft IIS Worker Process (w3wp.exe) has high CPU usage.
The ConfiguredTypes.dll assembly that is deployed as part of the IO web service (by default to C:\inetpub\wwwroot\IOWCFWebService\bin) is very large, e.g. several megabytes.


There are a very large number of configuration items in the deployed Foundation configuration. When the service is installed this results in a very large number of .NET types being generated (in ConfiguredTypes.dll). When browsing to the web service endpoint, the service attempts to enumerate this very large number of types. This takes a long time.


UPDATED: April 3, 2017
Re-install the IO web service using the GenerateReferencedTypesOnly ServiceMaker switch. This ensures that the types generated for the IO server are only those which the IO service needs.
To do this:
  • Edit the settings file C:\Program Files (x86)\PST\Portrait IO\IOWebServicesInstallation\IOWebService.xml. Add the following line after the GenerateReferencedTypes entry:
  • Repeat the above step for the other settings files in the same folder; DecisionsWebService.xml and IOBridgeWebService.xml
  • Re-run C:\Program Files (x86)\PST\Portrait IO\IOWebServicesInstallation\InstallIoWcfWebServices.exe to regenerate the IO web service.