In my previous blog post I described a performance problem that I thought I found in the HtmlHelper.RenderPartial method. It turned out that – thanks to comments and posts like this – I had my debug setting in /system.web/compilation on true. In debug mode HtmlHelper.RenderPartial is not caching the resolved names and therefore every call may result in exceptions.

Lesson learned

Double check all your configuration settings – and – thanks for the very active response.