Argh! Why does System.Web.Mvc.HandleErrorInfo get passed to my views?
Here is an issue on codeplex explaining why that error occurs. Quote from http://web.archive.org/web/20131004122626/http://aspnet.codeplex.com/workitem/1795 since original link is dead: HandleError Attribute should not store exception information in ViewData When the HandleError attribute handles an exception, it stores the exception information in the ViewData. This is a problem when the Error.aspx inherits from the site.master and … Read more