Copied to clipboard

Flag this post as spam?

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


  • Dominic Tse 21 posts 110 karma points
    Jul 06, 2016 @ 02:26
    Dominic Tse
    0

    Umbraco back office only works when debug="true" in web.config

    Umbraco admin office only works when debug="true" in web.config. It appears to be known issue since early last year as per article below.

    https://our.umbraco.org/projects/backoffice-extensions/angulargooglemaps/bugs/60224-Problems-with-missing-debug=true-in-webconfig

    When debug="false" or not specified in web.config, Umbraco admin page is blank. The following javascript is generated. However, when the debug="true", there is no Javascript script. How can the Javascript cannot be executed simply setting debug=false?

    DependencyHandler.axd?s=L3VtYnJhY28vbGliL2pxdWVyeS9qcXVlcnkubWluLmpzOy91bWJyYWNvL2xpYi9hbmd1bGFyLzE…:2103 Uncaught SyntaxError: Invalid regular expression: missing / DependencyHandler.axd?s=L0FwcF9QbHVnaW5zL05lc3RlZENvbnRlbnQvSnMvbmVzdGVkY29udGVudC5zZXJ2aWNlcy5qczs…:3 Uncaught ReferenceError: angular is not defined(anonymous function) @ DependencyHandler.axd?s=L0FwcF9QbHVnaW5zL05lc3RlZENvbnRlbnQvSnMvbmVzdGVkY29udGVudC5zZXJ2aWNlcy5qczs…:3 DependencyHandler.axd?s=L0FwcF9QbHVnaW5zL1ZvcnRvL2pzL2pxdWVyeS5ob3ZlckludGVudC5taW5pZmllZC5qczsvQXB…:2 Uncaught ReferenceError: jQuery is not defined(anonymous function) @ DependencyHandler.axd?s=L0FwcF9QbHVnaW5zL1ZvcnRvL2pzL2pxdWVyeS5ob3ZlckludGVudC5taW5pZmllZC5qczsvQXB…:2 Application?umb__rnd=fffffffc2d99bbf7:2 Uncaught ReferenceError: UmbClientMgr is not defined

    Unfortunately, I can't access http://issues.umbraco.org/ to report the issue. Is there anyway to report the issue on http://issues.umbraco.org/?

    Has anyone find any solution for this beside setting debug="true" in web.config?

  • Dennis Aaen 4500 posts 18255 karma points admin hq c-trib
    Jul 08, 2016 @ 07:22
    Dennis Aaen
    0

    Hi Dominic,

    This our normal procedure to mark everything as spam when you are new to the forum. The reason for this is that we earlier have issues with a lot of span comments.

    We try to unmark it as fast as we can, and normally it only take minutes, for our admins to unmark post.

    I have now mark your as not spam.

    Sorry for the inconvenience.

    /Dennis

  • Lars-Erik Aabech 349 posts 1100 karma points MVP 8x c-trib
    Jul 08, 2016 @ 07:52
    Lars-Erik Aabech
    0

    Have you tried bumping the version number in ~/config/clientdependency.config and clearing your browser cache? (Alternatively, force fetch from server in dev tools)

  • Dominic Tse 21 posts 110 karma points
    Jul 11, 2016 @ 00:14
    Dominic Tse
    0

    I tried bumped up the version number. It doesn't make any difference. I ended up creating a brand new Umbraco project and then "migrated" the logic (views, controllers) one by one.

  • Tarik 196 posts 840 karma points c-trib
    Feb 05, 2019 @ 10:01
    Tarik
    0

    I found this not true in case of web application under local IIS and setting debug = false makes backoffice works and when it equals true I got a blank page with the following trace: enter image description here

  • Prashanth Sundareshan 12 posts 81 karma points
    Mar 08, 2019 @ 04:39
    Prashanth Sundareshan
    0

    Hi,

    I'm getting this error too, only on the server though. Local IISExpress hosted website loads up just fine.

    On the server though, it works only when i set debug="true" in web.config, if left false or empty, then a blank page is rendered with the error in developer console like this.

    enter image description here

    It cannot be left in debug mode in production server. Is there any fix for this?

  • Prashanth Sundareshan 12 posts 81 karma points
    Mar 08, 2019 @ 05:34
    Prashanth Sundareshan
    0

    Hi,

    Here's a quick work around i have managed to find. Once the code is deployed, by changing the version in ClientDependency.config and hitting an app pool refresh, does the trick for now.

    <clientDependency version="1812286534" fileDependencyExtensions=".js,.css" loggerType="Umbraco.Web.UI.CdfLogger, umbraco">
    

    I believe its got something to do with the composite file processor. Is there any attributes we can tweak i the below line that will do the trick. Or is changing the version only way, which i might have to pull in some post deployment powershell script to do it.

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

Write your reply to:

Draft