Copied to clipboard

Flag this post as spam?

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


  • lonehorseend 24 posts 71 karma points
    Aug 17, 2015 @ 10:37
    lonehorseend
    0

    Reset DependencyHandler.axd

    I created two custom sections and have separated them by name. The first section works perfectly, but the second one has two errors in the Chrome console that don't make sense:

    • Error: Argument 'Gallery.GalleryEditController' is not a function, got undefined
    • Error: Failed to load template: /App_Plugins/TestimonialMngmnt/umb-media-picker.html

    Thing is, these errors are bogus. The first is defined and the second is located in /App_Plugins/GalleryMngmnt/umb-media-picker.html where it belongs.

    When I look at Chrome's console, I keep seeing DependencyHandler.axd mentioned, so I'm wondering how to tell it where to look.

    Let me know what files you need to see . . . Any insight would be greatly appreciated.

  • Dave Woestenborghs 3504 posts 12133 karma points MVP 8x admin c-trib
    Aug 18, 2015 @ 09:29
    Dave Woestenborghs
    1

    Can you set debug="true" on the compilation tag in your web.config. This will prevent ClientDependency from bundling and minifying your assets.

    If it works than we are sure that is not in your code.

    If that works you can try to update the client dependency version.

    You can do this by incrementing the version number in ClientDependency.config file in the config folder

    Dave

  • Simon 692 posts 1068 karma points
    Sep 04, 2015 @ 07:28
    Simon
    0

    Hi Guys,

    I have the same problem mentioned, regarding the DependencyHandler.axd.

    Locally, and even on a particular stating server, everything is working fine. The same file system is also on another staging server but there such errors which are occuring when accessing the Umbraco CMS.

    For example, when trying to open an existing contact form of Umbraco Forms, it tell me this:

    Error: Argument 'UmbracoForms.Editors.Form.EditController' is not a function, got undefined
        at Error (native)
        at cb (http://www.surfyachts.casasoft-dev.com/umbraco/DependencyHandler.axd?s=L3Vt…zL2RhdGVyYW5nZXBpY2tlci9kYXRlcmFuZ2VwaWNrZXIuanM7&t=Javascript&cdv=0:6:622)
        at xa (http://www.surfyachts.casasoft-dev.com/umbraco/DependencyHandler.axd?s=L3Vt…zL2RhdGVyYW5nZXBpY2tlci9kYXRlcmFuZ2VwaWNrZXIuanM7&t=Javascript&cdv=0:6:695)
        at $get (http://www.surfyachts.casasoft-dev.com/umbraco/DependencyHandler.axd?s=L3Vt…L2RhdGVyYW5nZXBpY2tlci9kYXRlcmFuZ2VwaWNrZXIuanM7&t=Javascript&cdv=0:10:310)
        at http://www.surfyachts.casasoft-dev.com/umbraco/DependencyHandler.axd?s=L3Vt…L2RhdGVyYW5nZXBpY2tlci9kYXRlcmFuZ2VwaWNrZXIuanM7&t=Javascript&cdv=0:8:6382
        at n (http://www.surfyachts.casasoft-dev.com/umbraco/DependencyHandler.axd?s=L3Vt…zL2RhdGVyYW5nZXBpY2tlci9kYXRlcmFuZ2VwaWNrZXIuanM7&t=Javascript&cdv=0:4:576)
        at k (http://www.surfyachts.casasoft-dev.com/umbraco/DependencyHandler.axd?s=L3Vt…L2RhdGVyYW5nZXBpY2tlci9kYXRlcmFuZ2VwaWNrZXIuanM7&t=Javascript&cdv=0:8:6247)
        at e (http://www.surfyachts.casasoft-dev.com/umbraco/DependencyHandler.axd?s=L3Vt…L2RhdGVyYW5nZXBpY2tlci9kYXRlcmFuZ2VwaWNrZXIuanM7&t=Javascript&cdv=0:8:4220)
        at http://www.surfyachts.casasoft-dev.com/umbraco/DependencyHandler.axd?s=L3Vt…L2RhdGVyYW5nZXBpY2tlci9kYXRlcmFuZ2VwaWNrZXIuanM7&t=Javascript&cdv=0:8:3783
        at http://www.surfyachts.casasoft-dev.com/umbraco/DependencyHandler.axd?s=L3Vt…RhdGVyYW5nZXBpY2tlci9kYXRlcmFuZ2VwaWNrZXIuanM7&t=Javascript&cdv=0:17:19495
    

    Another instance where such same error is occuring is also when trying to sort nodes:

    POST http://www.surfyachts.casasoft-dev.com/umbraco/WebServices/NodeSorter.asmx/UpdateSortOrder?app=content 500 (Internal Server Error)f.support.ajax.f.ajaxTransport.send @ DependencyHandler.axd?s=L3VtYnJhY29fY2xpZW50L3VpL2pxdWVyeS5qczsvdW1icmFjb19jbGllbnQvdWkvanF1ZXJ5dWk…:2f.extend.ajax @ DependencyHandler.axd?s=L3VtYnJhY29fY2xpZW50L3VpL2pxdWVyeS5qczsvdW1icmFjb19jbGllbnQvdWkvanF1ZXJ5dWk…:2Umbraco.Dialogs.SortDialog.base2.Base.extend._saveSort @ DependencyHandler.axd?s=L3VtYnJhY29fY2xpZW50L3VpL2RlZmF1bHQuanM7L3VtYnJhY29fY2xpZW50L0RpYWxvZ3MvU29…:21(anonymous function) @ DependencyHandler.axd?s=L3VtYnJhY29fY2xpZW50L3VpL2RlZmF1bHQuanM7L3VtYnJhY29fY2xpZW50L0RpYWxvZ3MvU29…:21f.event.dispatch @ DependencyHandler.axd?s=L3VtYnJhY29fY2xpZW50L3VpL2pxdWVyeS5qczsvdW1icmFjb19jbGllbnQvdWkvanF1ZXJ5dWk…:2f.event.add.h.handle.i @ DependencyHandler.axd?s=L3VtYnJhY29fY2xpZW50L3VpL2pxdWVyeS5qczsvdW1icmFjb19jbGllbnQvdWkvanF1ZXJ5dWk…:2
    DependencyHandler.axd?s=L3VtYnJhY29fY2xpZW50L0FwcGxpY2F0aW9uL1VtYnJhY29DbGllbnRNYW5hZ2VyLmpzOw&t=Ja…:18 Uncaught TypeError: Cannot read property 'apply' of undefined
    

    Also, when we investigated the two DependancyHandler SCripts that are being generated on the two staging servers, there are a different of one byte. On the server when it is not working fine, there is a byte difference.

    Could someone help me sort this out please?

    Thank you in advance.

    Kind Regards

  • Simon 692 posts 1068 karma points
    Sep 06, 2015 @ 15:52
    Simon
    0

    Any idea please?

Please Sign in or register to post replies

Write your reply to:

Draft