Home > Error Page > Asp.net Mvc Redirect To Shared Error Page
Asp.net Mvc Redirect To Shared Error Page
Exception thrown in controller. Have a look on that live: http://www.bing.com/%. Life will be simple again. Go to Root Directory, Web.config, then System.Web, and click CustomError.Set it to On.Add this line. Run the application and search for anything, or Link that is not available. this content
If I run the site and try to navigate to a resource that does not exist e.g. /foo/bar, I'll get the standard ASP.NET 404 page with the following information: Server Error All rights reserved. If you're using this filter you'll need to either update the existing view with your custom error page HTML or create the view if it doesn't already exist (best to do Join now > Blog Sign in Join ASP.NET Home Get Started Learn Hosting Downloads Community Overview Community Spotlight Articles of the Day What's new Community Blogs ASP.NET Team Events Hall Of http://stackoverflow.com/questions/8945668/how-can-i-redirect-to-an-error-page-in-asp-net-mvc-3
Mvc 5 Redirect To Error Page
Sorry about that
Page not found Sorry about this.