Prompt "500 - Internal Server Error", how to deal with it?
Problem Description
When accessing an IIS-based website deployed on a Windows instance, "500 - Internal Server Error" is displayed.
Problem Causes
The prompt does not provide specific error items. You need to check the real error information of the website before you can locate and solve the problem in a targeted manner. This article mainly introduces how to view the real error information of the website in this scenario.
Note You can also use the troubleshooting process for common problems during the operation of the website to gradually troubleshoot specific problems and solve them according to the corresponding solutions.
Solution
Note The operation steps in this article take the 64-bit Chinese version of Windows Server 2019 Data Center Edition as an example. The actual operation depends on your actual Windows instance operating system.
You can perform the following operations to view real error information.
1. Remotely connect to the Windows instance.
2. In the lower left corner of the desktop, select the Start icon > Server Manager.
open server manager
3. In the upper right corner of the Server Manager page, select Tools > Internet Information Services (IIS) Manager.
4. In the left navigation bar of the Internet Information Services (IIS) Manager page, click Target Web Site. View the IIS website
5. In the IIS area, double-click Error Pages.
6. In the Actions area on the right side of the Internet Information Services (IIS) Manager page, click Edit Feature Settings. Edit feature settings on error page
7. On the Edit Error Page Settings page, select Detailed Errors and click OK. detailed error
8. Revisit the website and press Ctrl+F5 to force a browser refresh.
You can view the real error message of the website.
9. According to the error message, revisit the website after solving the relevant problems.
The website access is successful and the problem is solved.
Related Articles
-
A detailed explanation of Hadoop core architecture HDFS
Knowledge Base Team
-
What Does IOT Mean
Knowledge Base Team
-
6 Optional Technologies for Data Storage
Knowledge Base Team
-
What Is Blockchain Technology
Knowledge Base Team
Explore More Special Offers
-
Short Message Service(SMS) & Mail Service
50,000 email package starts as low as USD 1.99, 120 short messages start at only USD 1.00