Application error upon visiting any site on my local server

Banana 1 Reputation point
2021-11-09T10:37:47.803+00:00

IIS 10.0.22492.1000
Windows 11 Pro Insiders 22494.1000

Whenever I visit my site on my local IIS server, I get a 503 error. After doing some digging, I discovered that I was getting application errors all over the place,
#Software: Microsoft HTTP API 2.0
#Version: 1.0
#Date: 2021-11-05 15:07:09
#Fields: date time c-ip c-port s-ip s-port cs-version cs-method cs-uri streamid streamid_ex sc-status s-siteid s-reason s-queuename transport fault-code
2021-11-05 15:07:09 ::1%0 59310 ::1%0 80 HTTP/1.1 GET /favicon.ico - - 503 1 AppOffline test TCP -
What can I do and how do I fix it? In past experiences, IIS has always worked out of the box so why not now?

Internet Information Services
{count} votes

1 answer

Sort by: Most helpful
  1. Sam Wu-MSFT 5,291 Reputation points Microsoft Employee
    2021-11-12T03:00:49.133+00:00

    @Banana

    I found your problem, you need to create failed request tracking rules in your site (such as the default site), not the root.

    148741-capture.png


    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.