We are excited to announce that the IIS.NET Forums are moving to the new Microsoft Q&A experience. Learn more >

View Complete Thread
  • Re: Website giving 500 internal server error

    Apr 23, 2021 08:42 AM|ronnyrunatserver|LINK

    Till Now we have identified two things w.r.t. 500 issue for the deployed web API

    We have caught two error the time we faced 500 issue :-

    first one in iis failed request tracing

    1. <failedRequest url="https://TestURL/GetDataFromDB"
                     siteId="1"
                     appPoolId="DefaultAppPool"
                     processId="12504"
                     verb="GET"
                     remoteUserName=""
                     userName=""
                     tokenUserName="NT AUTHORITY\IUSR"
                     authenticationType="anonymous"
                     activityId="{80000C25-0002-C500-B63F-84710C7967BB}"
                     failureReason="STATUS_CODE"
                     statusCode="500"
                     triggerStatusCode="500"
                     timeTaken="31"
                     xmlns:freb="http://schemas.microsoft.com/win/2006/06/iis/freb"
                     >
    2. The second one in sql server log file viewer             
      2. Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'. Reason: Could not find a login matching the name provided. [CLIENT: MyIPAddress]

      I hope this info can provide some fruitful information samwu