Copied to clipboard

Flag this post as spam?

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


  • Simon Dingley 1474 posts 3431 karma points c-trib
    Mar 27, 2014 @ 18:38
    Simon Dingley
    0

    404 on MiniProfiler resources Umbraco 6.1.6

    I'm unable to use the miniprofiler either locally or on a remote copy of the site . In my browser console I am seeing 404 errors on the following:

    http://localhost:xxxxx/mini-profiler-resources/includes.tmpl/?v=xwYPDDH1blvqmxgsBweNC++H7CFU3KGQ+zFcVlJPsXw=

    I've read some related threads and tried adding the following to my web.config without success:

    <add name="MiniProfiler" path="mini-profiler-resources/*" verb="*" type="System.Web.Routing.UrlRoutingModule"  />
    

    Web.config has

    <add key="umbracoDebugMode" value="true" />
    

    Anything else to try?

  • Dennis Aaen 4500 posts 18255 karma points admin hq c-trib
    Mar 27, 2014 @ 18:48
    Dennis Aaen
    0

    Hi Simon,

    I played with the miniprofiler some days ago, and I managed get it work by doing this: To get it working I changed the compilation tag in the web.config. I changed the the debug attribute to true like this:

    <compilation defaultLanguage="c#" debug="true" batch="false" targetFramework="4.5">
          <buildProviders>
            <add extension=".cshtml" type="umbraco.MacroEngines.RazorBuildProvider, umbraco.MacroEngines" />
            <add extension=".vbhtml" type="umbraco.MacroEngines.RazorBuildProvider, umbraco.MacroEngines" />
            <add extension=".razor" type="umbraco.MacroEngines.RazorBuildProvider, umbraco.MacroEngines" />
          </buildProviders>
    </compilation>

    And then I added the /?umbDebug=true to the end of the url to get the miniprofiler; e.g: http://www.yourdomain.com/?umbDebug=true

    This was on a version 7, but you could try it on your version 6.1.6 too, and se if it works.

    Hope this helps,

    /Dennis

  • Simon Dingley 1474 posts 3431 karma points c-trib
    Mar 27, 2014 @ 21:24
    Simon Dingley
    0

    Thanks Dennis but I already have this set to true for local development and also tried it on the remote staging server.

  • Dennis Aaen 4500 posts 18255 karma points admin hq c-trib
    Mar 27, 2014 @ 22:08
    Dennis Aaen
    0

    Hi Simon,

    You've probably already seen this post? right

    http://our.umbraco.org/forum/core/general/48353-No-mini-profiler-in-616

    /Dennis

  • Simon Dingley 1474 posts 3431 karma points c-trib
    Mar 27, 2014 @ 22:33
    Simon Dingley
    0

    Yes I saw that before posting, I tried adding the handler and it made no difference but since I don't have runAllManagedModulesForAllRequests set to false I don't think it's even relevant.

    I also tried adding the wildcard mapping.

Please Sign in or register to post replies

Write your reply to:

Draft