HttpCompilerException when setting up Kendo

2 posts, 0 answers
  1. Gibran
    Gibran avatar
    8 posts
    Member since:
    Mar 2017

    Posted 14 Jun Link to this post

    Hello,

    I'm trying to follow along in this guide here:

    http://docs.telerik.com/aspnet-mvc/getting-started/asp-net-mvc-5

    ... going with the "Use CDN Services" section.

    I did everything it says to do and I get an except when I run my application:

    http://www.shahspace.com/acm/json viewer harness testing/Kendo/HttpCompileException.png

    I'm getting this in my _loginLayout.cshtml file.

    I've pinned the problem down to these references here, which are in the head of my _mainLayout.cshtml file:

        <link rel="stylesheet" href="http://kendo.cdn.telerik.com/2017.1.118/styles/kendo.common-bootstrap.min.css" />
        <link rel="stylesheet" href="http://kendo.cdn.telerik.com/2017.1.118/styles/kendo.bootstrap.min.css" />

        <script src="http://kendo.cdn.telerik.com/2017.1.118/js/kendo.all.min.js"></script>
        <script src="http://kendo.cdn.telerik.com/2017.1.118/js/kendo.aspnetmvc.min.js"></script>

    If I comment this out, my application runs fine.

    I got the latest Kendo version from here:

    http://docs.telerik.com/kendo-ui/intro/installation/prerequisites

    ...which says that 2017.1.118 is the latest.

    In our application, we already have JQuery and Bootstrap. I'm wondering if the inclusion of these references are clobbering them.
  2. Konstantin Dikov
    Admin
    Konstantin Dikov avatar
    2046 posts

    Posted 19 Jun Link to this post

    Hi Gibran,

    You could try the suggestions from the following forum threads:
    Hope this helps.


    Regards,
    Konstantin Dikov
    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