Bundleconfig - No files found on the server

Asked

Viewed 666 times

0

I’m using Kendo UI on a project MVC 4, I made the settings in Budleconfig:

        bundles.Add(new ScriptBundle("~/bundles/kendo")
            .Include("~/Scripts/kendo/2013.2.918/kendo.all.min.js")
            .Include("~/Scripts/kendo/2013.2.918/kendo.aspnetmvc.min.js")
        );

        bundles.Add(new StyleBundle("~/bundles/css")
              .Include("~/Content/kendo/2013.2.918/kendo.common.min.css")
              .Include("~/Content/kendo/2013.2.918/kendo..metronic.min.css")
        );

In Html:

@Styles.Render("~/bundles/css")
@Scripts.Render("~/bundles/jquery")
@Scripts.Render("~/bundles/kendo")

Running in place it works normally, but when I go up to the server it loses the images

Failed to load resource: the server responded with a status of 404 (Not Found) http://meu.ip/bundles/Metro/loading-image.gif

Any specific reason why this is happening?

  • That link demonstrates how to use Kendo UI in an Asp.Net MVC4 application, at a glance.

  • You’re putting your application on IIS ?

  • I don’t understand. Why the images are being loaded into the Bundle?

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.