RegisterRoutes web form

Hello everyone,

I am facing a problem related to register routes.

private void RegisterRoutes(RouteCollection Routes)
            Route myroute3 = new Route("{controller}", new MyRouteHandler());

Now, I intentionally made an error. not showing the appropriate error but “page not found”

When I traced it:

its is showing the following stack trace:

Offending URL: http://localhost:1637/accounts/
Source: System.Web
Message: Error executing child request for Error.aspx.

Please help! I am not been able to track errors.

Thanks in advance

Guys resolved it…

I was using
void Page_Error(object sender, EventArgs e)

and error.aspx doenst exist :slight_smile: sometimes minor things make you feel as if you dont know anything. lol :slight_smile: thanks anywayz