Custom Errors "Could no load type error"

Posted by anil on Stack Overflow See other posts from Stack Overflow or by anil
Published on 2010-05-24T10:08:51Z Indexed on 2010/05/24 10:11 UTC
Read the original article Hit count: 506

Filed under:
|
|

I am creating ASP.Net MVC application and want to handle errors globally. I have set web.config value as mode=On and defaulRedirect="Error.aspx". I have Error.aspx at two places. One at Views/Shared folder and one at project root folder level. But each time an unhandled error occurs, the error page at root level gets called. How can I make it redirect to the one at Shared folder level?

I want to do this becasuse, currently I am getting error as "could not load type System.Web.Mvc.ViewPage" when any error is occuring.

Regards, Anil

© Stack Overflow or respective owner

Related posts about asp.net-mvc

Related posts about asp