signalr Uncaught TypeError: Cannot read property 'client' of undefined iis 7.5 RRS feed

  • Question

  • User-1622234530 posted


    We have developed a chat application in ASP.NET (vs2010) web form.

    The chat works fine when we run the application and local IIS as well, but when we published the chat application on IIS 7.5 and Windows Server 2008 R2(standard) then its gives the below error,

    "Uncaught TypeError: Cannot read property 'client' of undefined".

    After Google this error we found so many solutions where they mentioned that we need to change the reference of signalr hub file as below

    <script src='<%: ResolveClientUrl("~/signalr/hubs") %>'></script>

    And also applied the change suggested in Web.Config (<validation validateIntegratedModeConfiguration="false"/>)

    After doing these mentioned changes still the application gives same error, after pressing F12 on any browser, it gives same.

    Can any one provide a proper solution.

    Thanks in Advance


    Wednesday, November 25, 2015 7:34 PM