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.
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.
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.
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
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
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
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
is working on a reply...