I have an error page located at Errors/Error in my ErrorsController. If I create an error it redirects me to that page fine. However I get a error email from Elmah stating the message below. Is there a reason why I am getting this message even thought my error page displayed fine?
System.InvalidOperationException: The view 'Error' or its master was not found or no view engine supports the searched locations. The following locations were searched: ~/Views/divisions/Error.cshtml ~/Views/divisions/Error.vbhtml ~/Views/Shared/Error.cshtml ~/Views/Shared/Error.vbhtml
Web.Config
<customErrors mode="Off" defaultRedirect="~/Error">
<error statusCode="404" redirect="~/PageNotFound" />
</customErrors>