Reverse Proxy (ARR) and ScriptResource.axd Issue

2 posts, 0 answers
  1. Jialin khor
    Jialin khor avatar
    1 posts
    Member since:
    Oct 2012

    Posted 21 Oct 2012 Link to this post

    Hi,
    I'm having issue when I run my website on the Reverse Proxy layer. It will display the following javascript error.

    These error are displayed in the frontend view:
    => Message: 'Sys.WebForms.PageRequestManager' is null or not an object
    => Message: Sys.ArgumentTypeException: Object of type 'Sys._Application' cannot be converted to type 'Sys._Application'.
    Parameter name: instance

    These error are displayed in the backend view:
    => Message: 'Sys.WebForms.PageRequestManager' is null or not an object
    => Message: 'Telerik' is undefined
    => Message: Sys.ArgumentTypeException: Object of type 'Sys._Application' cannot be converted to type 'Sys._Application'.
    Parameter name: instance

    They are all pointing to the "ScriptResource.axd" file and default file (frontend and backend).

    When I run the website on the application layer, there is no error as shown above.

    Is there any configuration need to enable reverse proxy server(ARR) to work?

    Sitefinity verison: 3.6

    Thanks.
  2. Karl Maynard
    Karl Maynard avatar
    19 posts
    Member since:
    Apr 2005

    Posted 26 Oct 2012 Link to this post

    It sounds like you the caching in the proxy is not taking into account the query string on the webresource.axd files.

    This applies to any type of proxy that provides caching, not just Microsoft ARR - I have seen similar issues when the proxy is on the clients side.

    For Microsoft ARR:
    To fix this, select a server farm, then select caching, the last input on the page is "Query string support" - ensure this is set to "Include Query String".
Back to Top