Site icon port135.com

ASP.NET pages display 404 error even though they exist

Especially after a new installation of IIS role in a server, you may notice that your browser returns “404 Page Not Found” error if you try to visit ASP.NET pages. Files exist and the URL is correct. What to do in this situation?

Solution for 404 error for existing ASP.NET pages

First things first, check if the ASP.NET role is installed. It may seem like an easy change but it is also easy to miss.

Go to “Server Manager > Add roles and features wizard” to check which features are installed under Web Server (IIS) role.

If the you see the required features are installed, there are a few other things to check:

Try to reset IIS after making changes to ensure changes go into effect right away.

Exit mobile version