c# - Could not instantiate event handler. Type: Sitecore.Publishing.HtmlCacheClearer -


it of sudden , stopped working. have no clue went wrong, caused occur:

could not instantiate event handler. type: sitecore.publishing.htmlcacheclearer. method: clearcaches (method: sitecore.events.event+eventsubscribers.add(string eventname, xmlnode confignode)).

i tried make work didn't

  1. re-copied sitecore files sitecore 7.2
  2. re-indexed solr
  3. created new sitecore project
  4. republished complete site
  5. banged head on desk

can tell me reason , solution. new sitecore.

updating publish:end , publish:end:remote

 <event name="publish:end">     <handler type="sitecore.publishing.htmlcacheclearer, sitecore.kernel" method="clearcaches">       <sites hint="list">         <site>website</site>       </sites>     </handler>   </event>   <event name="publish:end:remote">     <handler type="sitecore.publishing.htmlcacheclearer, sitecore.kernel" method="clearcaches">       <sites hint="list">         <site>website</site>       </sites>     </handler>   </event> 

i may wrong simple spelling mistake in handler registration in events pipeline? looked @ source code sc 7.2 update 4 , there no method called sitecore.publishing.htmlcacheclearer.clearcaches, how ever there method called clearcache.

try change method name clearcache.

cheers, bo


Comments

Popular posts from this blog

c - How to retrieve a variable from the Apache configuration inside the module? -

c# - Constructor arguments cannot be passed for interface mocks -

python - malformed header from script index.py Bad header -