Copied to clipboard

Flag this post as spam?

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


  • David F. Hill 122 posts 242 karma points
    Mar 29, 2010 @ 22:26
    David F. Hill
    0

    Usercontrol & macro cache

    Hello Umbraco Colleagues,

    I'm having some problems that are driving me crazy.

    User controls that no longer exist (no ascx or dll on the server) are still rendering output and behaving incorrectly.

    It stared when I noticed behavior that I had already corrected in code but still continues to show up.

    I'm getting errors referencing files that are not on the server and other incorrect behavior.

    Cache Period = 0; Cache By Page = false; I've even tried deleting Umbraco.config and touching Web.config just to see if that worked.

    So my question is:

        Is there a way to clear the macro/usercontrol cache short of deleting and recreating all my macros?

    (umbraco v 4.0.2.1; IIS 6.)

    Thanks,

    David Hill

  • Paul Sterling 719 posts 1556 karma points MVP 9x admin c-trib
    Mar 29, 2010 @ 22:44
    Paul Sterling
    0

    David -

    Restarting the appPool will definately clear the cache.  I don't know if you want to go that route, but it is definitive as the controls will be recompiled on first request.

    -Paul

  • David F. Hill 122 posts 242 karma points
    Mar 29, 2010 @ 23:41
    David F. Hill
    0

    Thanks Paul -

    Unfortunately that did not help.

    By way of additional information, when I create a new macro, the list of usercontrols on the server shows UCs that have been deleted and does not show new ones added to the server.

    I have tried recycling the appPool and stopping/restarting the Web site.

    I appear to have an umbraco instance that does not respond to modification.

    David

  • David F. Hill 122 posts 242 karma points
    Mar 30, 2010 @ 01:22
    David F. Hill
    0

    Update:
    The cause of the *apparent* anomalies was the following -
    I put an Umbraco-powered site (so a client could see it) on a shared hosting server with IIS 7.

    Umbraco still uses AJAX 1 (which is not supplied with IIS 7) so the provider migrated the site to a server with IIS 6.
    The trouble was that my ftp account was still pointing to the "old" files - while umbraco and control panel was on the "new".
    No matter what I FTP'd to the server - Umbraco didn't change.

    Lesson: verify with host that ftp account has been updated when moving to new server.


    David Hill

Please Sign in or register to post replies

Write your reply to:

Draft