Copied to clipboard

Flag this post as spam?

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


  • Martin Griffiths 826 posts 1269 karma points c-trib
    May 18, 2015 @ 11:51
    Martin Griffiths
    0

    Domain whitelist error in CDF Umbraco 7.2.4

    Hi 

    I'm getting this odd error regularly in my logs...

    2015-05-17 13:23:27,375 [113] ERROR Umbraco.Web.UI.CdfLogger [(null)] - [Thread 113] Could not load file contents from /css/bootstrap.css. Domain is not white-listed.

    Things I can tell you.

    1. Using Umbraco 7.2.4
    2. Use bundles in code with CDF
    3. Site uses subdomains off of some of the nodes. 

    Does anyone have any idea why i'm getting this error?

    Thanks

    Martin

  • Martin Griffiths 826 posts 1269 karma points c-trib
    Aug 28, 2015 @ 08:47
    Martin Griffiths
    0

    I'm still getting this error every time I republish, a few hours pass and wham lots of errors. Has anyone else encountered this?

    Martin

  • Martin Kyukov 36 posts 231 karma points
    Dec 14, 2017 @ 13:23
    Martin Kyukov
    0

    Try setting the bundleDomains property in ClientDependency.config to your domain name. I had the same issue with this and this did the trick.

    <fileProcessingProviders>
      <add name="CompositeFileProcessor" type="ClientDependency.Core.CompositeFiles.Providers.CompositeFileProcessingProvider, ClientDependency.Core"
        enableCssMinify="true" enableJsMinify="true" persistFiles="true" compositeFilePath="~/App_Data/TEMP/ClientDependency" bundleDomains="**Your domain here**"
        urlType="Base64QueryStrings" pathUrlFormat="{dependencyId}/{version}/{type}"/>
    </fileProcessingProviders>
    
Please Sign in or register to post replies

Write your reply to:

Draft