500 Internal server error in IIS

rosman 21 Reputation points

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,516 Reputation points Microsoft Vendor

    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>
      <httpErrors errorMode="Detailed" />
      <asp scriptErrorSentToBrowser="true"/>
      <customErrors mode="Off"/>
      <compilation debug="true"/>

    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 additional answers

Sort by: Most helpful