Enabling compression in IIS for an IIS hosted WCF service results in error

SCENARIO=========We have two WCF services hosted in an IIS virtual directory. One acts as a router(Intermediary.svc) and the other as the destination(primary.svc). For this scenario, we have both of these hosted in the same virtual directory but in deployment they may be on the same machine or different machines. The error only occurs when we have  dynamic…

1