Exporting and Printing Files from Pyramid Does Not Work
Printing and exporting fails with the following error:
Get Item Error
System.ServiceModel.EndpointNotFoundException: There was no endpoint listening at http://BIOFFICE_URL/Services/ClientRouter.svc that could accept the message...
...No connection could be made because the target machine actively refused it IP_ADDRESS:PORT...
This issue might occur when a load balancer is in use.
The solution for this issue would be to modify the hosts file on the IIS servers so that the virtual name (the web address for the Pyramid website on the load balancer) points to the local IP of the server.
Meaning the pyramid virtual name on each webserver should point to its own local IP, instead of the loadbalancers IP.
To do this, an entry must be added to the host file.
The host file is located here:
In the host file of each web server you should create an entry that has
the local IP of the webserver and then the virtual name.
After making the above changes, do an IISRESET and flush the dns.
This should be done on each Pyramid webserver that is in the Pyramid deployment.