500 Internal server error in IIS

rosman 21 Reputation points
2021-03-30T15:10:30.693+00:00

Hi experts,

I have configured a virtual application in IIS 10, when I access the website, I get "The page cannot be displayed because an internal server error has occurred" . But I tested other sites and it works normally.

Appreciate any help you could provide.

Internet Information Services
{count} votes

Accepted answer
  1. Sam Wu-MSFT 7,036 Reputation points Microsoft Vendor
    2021-03-31T09:27:44.53+00:00

    Hi @rosman

    There are many reasons for this error, according to the information you post, it is impossible to determine the problem. What you should do is to troubleshoot to get detailed error information.

    1. Use the iis logs to find the 500 subcode that will give your more information.
    2. Try failed request tracing.
    3. Run the browser on the server, you get details on the error. <configuration>
      <system.webServer>
      <httpErrors errorMode="Detailed" />
      <asp scriptErrorSentToBrowser="true"/>
      </system.webServer>
      <system.web>
      <customErrors mode="Off"/>
      <compilation debug="true"/>
      </system.web>
      </configuration>

    If the answer is helpful, please click "Accept Answer" and upvote it.

    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

1 additional answer

Sort by: Most helpful
  1. Pedro Blasco 0 Reputation points
    2024-04-11T14:14:15.12+00:00

    Necesito saber dónde consultar el error que me está reportando IIS sobre una aplicación .NET de Framework 4.7.2. He buscado en el EventViewer y no encuentro ninguna entrada referente al error que se está reportando.

    0 comments No comments