I have an ASP.Net MVC 2 web application where I have HomeController. Index method generates unauthorized exception. I have customErrors=on. Now I want to show a view Error.aspx in shared folder with Exception.Message. But I get Resource not found /Error in browser.
Note: I had gone through all the related links on StackOverflow.
any help?
error.aspx
view. So be sure you don't have delete it. – sra