Error: 404 Page Not Found

Rudey 25 Reputation points
2023-06-20T14:35:00.2533333+00:00

I have an asp.net application, after publishing it to iis, there is a 404 Page Not Found error, I am sure that my url is correct, and I have set the default page, but this error still occurs, has anyone encountered a similar problem?

Windows development | Internet Information Services
Windows for business | Windows Client for IT Pros | User experience | Other
{count} vote

Accepted answer
  1. Sam Wu-MSFT 7,561 Reputation points Microsoft External Staff
    2023-06-21T02:32:04.1966667+00:00

    @Rudey

    Please check if the ASP.NET role is installed.

    Screenshot 2023-06-21 101455

    If the required features are installed, follow the check list below to find out the issue:

    • Make sure the website and application pool are running.
    • Go to IIS logs and check if there is a sub-status code for the 404 error.
    • Go to Request Filtering in IIS Manager to make sure there is no rule affecting ASP.NET pages.

    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.