Copied to clipboard

Flag this post as spam?

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


  • Halldór Hrafn Gíslason 30 posts 50 karma points
    Aug 12, 2010 @ 23:54
    Halldór Hrafn Gíslason
    0

    BUG? DependencyHandler using old (dead) absolute path to objects

    I'm haveing trouble with my umbraco management. Most of the images will not load.

    On closer inspection (using Fiddler2) I notice that most of the images are being requested to the website's original hostheader, wich I have since removed.

    When looking into the DependencyHandler's CSS I notice that it's referencing to all of the images using an absolute path to the old hostheader. Removing it from the website's binding config (in IIS) and umbraco doesn't seem to have any effect, it still lingers in there.

    This must be a bug.

    p.s. I'm running IIS 7.5, Umbraco v4.5, and .net 4.0

    Debug data (from Fiddler2)

    The request:
    GET http://dev.ardvis.is/umbraco/DependencyHandler.axd?s=L3VtYnJhY29fY2xpZW50L1RyZWUvdHJlZUljb25zLmNzczsvdW1icmFjb19jbGllbnQvVHJlZS9tZW51SWNvbnMuY3NzOy91bWJyYWNvX2NsaWVudC9UcmVlL1RoZW1lcy91bWJyYWNvL3N0eWxlLmNzczsvdW1icmFjb19jbGllbnQvcGFuZWwvc3R5bGUuY3NzOy91bWJyYWNvX2NsaWVudC9zY3JvbGxpbmdtZW51L3N0eWxlLmNzczsvdW1icmFjb19jbGllbnQvbW9kYWwvc3R5bGUuY3NzOy91bWJyYWNvL2Nzcy91bWJyYWNvR3VpLmNzczs%3d&t=Css&cdv=1 HTTP/1.1

    Part of the responce (with old hostheader):
    background-image:url("http://u45.mywebsite.com/umbraco_client/Tree/sprites.png");

  • Aaron Powell 1708 posts 3044 karma points c-trib
    Aug 13, 2010 @ 01:09
    Aaron Powell
    0

    Did you deploy the ClientDependency folder? You shouldn't deploy that across environments.

  • Halldór Hrafn Gíslason 30 posts 50 karma points
    Aug 13, 2010 @ 03:55
    Halldór Hrafn Gíslason
    0

    Deploy?

    What I did was:

    1. copy the folder to a new location
    2. Create a new website (running .net 4.0)
    3. Copy the neccesary upgrade files (v4.5) over the new location
    4. Upgrade (via /install)
    5. Fix any xslt or other issues

    Is there something wrong with that procedure? Is that perhaps something that should be in the upgrade guide ? (what upgrade guide? ;o)

  • Halldór Hrafn Gíslason 30 posts 50 karma points
    Aug 13, 2010 @ 04:05
    Halldór Hrafn Gíslason
    0

    Well I'll be, ClientDependency was my problem. I removed the ClientDependency folder from the App_Data folder, and the cache got cleared and everying go fixed (and probably some other issues I hadn't noticed yet... ;)

    Thanks!

    p.s. documentation for the ClientDependency (and how to clear it):
    http://clientdependency.codeplex.com/documentation

  • Dennis Milandt 189 posts 516 karma points
    Aug 19, 2010 @ 12:47
    Dennis Milandt
    0

    Had the same problem. Deleting the ClientDependency and kicking the IIS solved it for me.

  • 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