Sunday, December 13, 2015

Dynamics CRM report viewer problem in a load balanced (f5) environment

This is just a post which might help people who have deployed Dynamics CRM in a load balanced environment.

In our case, it was 3 front -ends and a report server also load balanced. CRM web site was up and running but when we tried to run any report we would get the following error. 404 WebResource.axd and ScriptResource.axd not found. On the CRM front end we received the error ": An error occurred processing a web or script resource request. The resource identifier failed to decrypt. "

The reason this was happening was that the CRM front end was not using sticky sessions and the request was not going to the same server every time.

To fix it on the F5 Big-IP we had to configure Persistance-type = Cookie which is aka sticky session.