forum

Home / DeveloperSection / Forums / 404 page not found error for an ASP.NET MVC application

404 page not found error for an ASP.NET MVC application

Anonymous User187609-Nov-2014
Hi Guys

This must be simple and already answered, but I've wasted many hours on it. I can't figure how to get an error page on mistyped address. Also I'd prefer not to redirect, but to keep the URL. I've tried many combinations of CustomErrors, HttpErrors and Application_Error, but nothing works for non-existent controller - depending on HttpErrors I always get IIS 404.0 page or just an empty 404 response. Running on IIS 7.5, MVC 3.

Updated on 10-Nov-2014
I am a content writter !

Can you answer this question?


Answer

1 Answers

Liked By