question

rosman-5100 avatar image
0 Votes"
rosman-5100 asked SamWu-MSFT answered

500 Internal server error in IIS

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.

windows-server-iis-general
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

SamWu-MSFT avatar image
0 Votes"
SamWu-MSFT answered

Hi @rosman-5100

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.


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.