2013-11-12

EPiServer 7 unhandled error dread

Unhandled exceptions - what would life be without them? Probably wonderful, since they don't tell us much, or anything, about what went wrong.

I recently got the aforementioned error at a customer's live EPiServer 7 site. It fired after the user/editor logged in to the edit mode and then went back to the view mode, telling me that the QuickNavigator couldn't and wouldn't render as it was supposed to.

The stack trace concerning EPiServer said it crashed at EPiServer.Web.PageExtensions.QuickNavigator.RenderMenuScripts.

QuickNavigator menu scripts missing in action




After some digging around (not too much digging to be fair) I found that you need to set <runat="server"> for your <head> tag. After that you can merrily kiss that unhandled exception goodbye. Till next time, that is.

No comments:

Post a Comment