次の方法で共有


CRM published through ISA/TMG : Save and new button on the form does not work properly, need to click twice on the links in the CRM page

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.

Troubleshooting
After 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 analysis

In 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 https://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.

Resolution

 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, after this we had  only one value for http-Vary header in the response on the CRM client.

Comments

  • Anonymous
    January 01, 2003
    @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  :)

  • Anonymous
    January 01, 2003
    Good information.

  • Anonymous
    January 01, 2003
    Dan Please share it with your team, just in case if they see similar issue.

  • Anonymous
    January 25, 2012
    Very nice and helpful blog.

  • Anonymous
    January 30, 2012
    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.

  • Anonymous
    March 28, 2012
    Why force compression? This should work without compression, MSFT should fix it.

  • Anonymous
    April 03, 2012
    Agree, you guys should work on a fix instead of a workaround.

  • Anonymous
    May 30, 2012
    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.

  • Anonymous
    February 15, 2013
    Nice article...

  • Anonymous
    November 10, 2014
    Very good article, works as well... CRM2013 SP1 + TMG