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 5,291 Reputation points Microsoft Employee
    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.

    No comments

0 additional answers

Sort by: Most helpful