I recently worked on a case where CRM was published through TMG server. Users on the internet after logging to CRM website when they try to click a link he needs to click twice to open that link , apart from that in the user edit form there is a save and new button on which if user click to save and new, this form greys out.TroubleshootingAfter checking the basic settings and publishing rule to be correct on TMG we collected data using TMG data packager on TMG and network monitor traces on CRM server and network traces and fiddler on the client machine.Data analysisIn network traces on the CRM server found following in the response coming from the CRM server. There is a Http header : Vary which has value "*"
now if we look at the Network traces on the CRMclient, we see following for the same header i.e. Vary header appears twice one with value "*" and then "Accept-Encoding."
There are instance when CRM server sends Vary header with value "Accept-Encoding" and on CRM client machine we See Vary haeder with value "*".
As perf RFC http://www.ietf.org/rfc/rfc2616.txt ,A Vary field value of "*" signals that unspecified parameters not limited to the request-headers (e.g., the network address of the client), play a role in the selection of the response representation. The "*" value MUST NOT be generated by a proxy server; it may only be generated by an origin server.
Hence we see this wierd behavior on the browser, where user has to double click on the links and save and new button does not work as expected.
We enabled the compression between ISA/TMG and the CRM Server as shown below i.e. in general Global http policy settings
Define the HTTP Compression preferences, and select the “Request compressed data” Tab and add computer object for the CRM server. Save and apply the settings.
Same settings can be configured on TMG at following location.
After we configured these settings issue got resolved, Now if we look at the response on the CRM client we could see only one value for http-Vary header i.e. Accept-encoding as shown below in the fiddler.
Very nice and helpful blog.
I agree Kaustubh. Very helpful blog. There are very few blog post regarding CRM and ISA/TMG, so this blog is going to help lot of people.
Dan Please share it with your team, just in case if they see similar issue.
Why force compression? This should work without compression, MSFT should fix it.
Agree, you guys should work on a fix instead of a workaround.
This description does not solve the problem of double click.
modifies only data compression that is needed but the answer is a different problem than the assignment. I do not agree with the solution.
@lichtenPtak..i m not sure what exactly was your scenario.. but I have resolved similar issues using this and idea was to share it with others for their benifit. You can put your query at ISA/TMG technet forums and we will answer it there else you can ask here as well or open a case with MS Support :)
Very good article, works as well... CRM2013 SP1 + TMG