Search code examples
c#asp.net-mvcasp.net-mvc-3asp.net-mvc-3-areas

Browser Error when i run MVC3 application


I am getting an error on my browser when i try to edit or delete it says:

Server Error in '/' Application.
The resource cannot be found.
Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable.  Please review the following URL and make sure that it is spelled correctly.

Requested URL: /console/Delete/PS3

But the strange thing is when i put my mouse cursor into the browser address bar and press enter the delete and edit page appears

Can you please help me with this. If you need any information regarding this just let me know and i will provide.


Solution

  • Check if you have added routing for "/".

    In most cases it is because of omitted routes.