I recently released some code to our production website and I noticed that IIS was logging some errors with the exception text of:
Multiple controls with the same ID ‘_ffffca417ddfd512’ were found. FindControl requires that controls have unique IDs.
I don’t have a stacktrace at this point. The page is mostly static content with a few link buttons and a bunch of user controls. Its also using the Sitecore 6.0 CMS framework (its a content item). I disabled the .net caching for the user controls and the page (layout) and that seems to have fixed it, but the site is pretty busy, and I would like to have some layer of caching.
My question is this a know issue in sitecore? And, should I only cache at the page level or the control level in sitecore?
This doesn’t seem to be a Sitecore specific issue – http://support.microsoft.com/kb/834608
If you’re using it, turn off ASP.net output caching and use Sitecore caching, either inline:
…or…
…or in your presentation bindings at the template or item level, or on the sublayout or rendering definition item. The same caching options are available in all three locations.