Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Shada 55 posts 137 karma points
    Sep 11, 2015 @ 22:18
    Shada
    0

    Uncaught ReferenceError: LazyLoad is not defined on iis

    Hi!

    When I try to run my site using iis I get an error: Uncaught ReferenceError: LazyLoad is not defined.

    If I run with the visual studio 2015 all right.

    I have tried recycling the app pool, emptying the /App_Data/TEMP/ folder, restarting the site. I gave permission for the project directory for all.

    umbraco version: 7.2.8 from nuget

    windows 10

    Thanks

  • Comment author was deleted

    Sep 15, 2015 @ 18:40

    Hey,

    How does the content of the /umbraco/lib/lazyload/ directory look, is that the same locally as on your server? Sounds like a missing file

  • Shada 55 posts 137 karma points
    Sep 15, 2015 @ 18:54
    Shada
    0

    Hi, I do not have lazyload folder in /umbraco/lib. After installation through Nuget lazyload folder not created.

  • Comment author was deleted

    Sep 15, 2015 @ 19:13

    Ok that's the issue then, a missing file

  • Shada 55 posts 137 karma points
    Sep 15, 2015 @ 19:56
    Shada
    0

    Now I created a new empty project and install umbraco and I have the same problem: when running through iis express everything works, but through iis I have error: Uncaught ReferenceError: LazyLoad is not defined. And folder "lazyload" not created again.

    Where can I find the missing files?

    And why through iis express everything works?

  • Shada 55 posts 137 karma points
    Sep 15, 2015 @ 21:34
    Shada
    100

    Problem solved! When I install iis I don`t check Static Content.

  • Albert 27 posts 49 karma points
    Jan 24, 2016 @ 18:59
    Albert
    0

    Thank you! This solve the problem!

  • Comment author was deleted

    Sep 16, 2015 @ 08:01

    Great, glad it's solved!

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies