Working fine in dev fine but not in server

4 posts, 0 answers
  1. Aditya55
    Aditya55 avatar
    2 posts
    Member since:
    Nov 2009

    Posted 08 Aug Link to this post

    Hi,

       We are evaluating the Kendo UI.

    Development machine : Windows 7 Professional
                                           VS 2017

      Our ASP .NET MVC web application uses lot of charts : Html.Kendo().Chart

      This works fine in dev machine. When deployed to Windows 2008 Server, the chart part doesn't render.
    We used the Developer Tools in Browser. The following gets downloaded in both cases:

      - http://kendo.cdn.telerik.com/2017.2.621/styles/kendo.common.min.css 
      - http://kendo.cdn.telerik.com/2017.2.621/styles/kendo.default.min.css 
      - /webapp/Content/Css/bootstrap-flaty.min.css 
      - /webapp/Content/Css/Site.css 
      - /webapp/Scripts/jquery-3.1.1.min.js
      - http://kendo.cdn.telerik.com/2017.2.621/js/kendo.all.min.js
      - /webapp/Scripts/bootstrap.min.js
      - http://kendo.cdn.telerik.com/2017.2.621/js/kendo.aspnetmvc.min.js

      Looks like this could be a configuration problem. Any idea what's wrong ?

    Aditya

  2. Stefan
    Admin
    Stefan avatar
    1156 posts

    Posted 10 Aug Link to this post

    Hello Aditya,

    Thank you for the provided information.

    The listed scripts and styles files are all of the required files from Kendo UI, so this should not cause an issue.

    Also, for the Kendo UI MVC wrappers, the Kendo.MVC.dll file has to be present in the solution and have to be successfully assessed by the MVC solution.

    Could you please advise if there are any JavaScripts errors in the console which indicates an issue?

    http://docs.telerik.com/aspnet-mvc/getting-started/asp-net-mvc-5#add-kendomvcdll-reference

    If the issue still occurs, please provide a live URL if possible and I will gladly assist further.  

    Regards,
    Stefan
    Progress Telerik
    Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
  3. Aditya55
    Aditya55 avatar
    2 posts
    Member since:
    Nov 2009

    Posted 11 Aug in reply to Stefan Link to this post

    Stefan,

       Thanks for responding.

    In Windows 7, we are getting script error for IE 11 when compatibility mode is enabled.

    Screenshots attached.

    For chrome & firefox also, we need to run browser with Admin permission to have the charts displayed properly.

     

    Aditya

     

     

  4. Stefan
    Admin
    Stefan avatar
    1156 posts

    Posted 15 Aug Link to this post

    Hello Aditya,

    Thank you for the information.

    I noticed that jQuery version 3* is used in the application. This may create some issues in Internet Explorer due to the used selectors.

    More information and a possible solution can be found in the following StackOverflow question:

    https://stackoverflow.com/questions/1695376/msie-and-addeventlistener-problem-in-javascript

    As for the admin permissions, I can assume that this is based on the internal and the server restrictions, as the Kendo UI widgets are made using jQuery scripts on the client, and should not affect the application directly. Also, I can suggest observing if there is any difference in the loaded files when using the admin permissions. 

    Additionally, I can suggest checking the following article on the Chart common issues:

    http://docs.telerik.com/kendo-ui/controls/charts/troubleshoot/common-issues#rendering

    As the issue is connected to the server specification, please provide a URL where we can observe what may be causing it.

    Regards,
    Stefan
    Progress Telerik
    Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Back to Top