A headache occurs when you modify the vs03 program. When you configure IIS, an HTTP 500 server error is often prompted. This is an injury. However, the problem was finally solved by checking the information on the Internet and collecting some information. I would like to summarize the cause of the error and the solution, and hope to help those who have not solved the problem.
1. First understand what is an HTTP 500 Server Error
500 is also a type of HTTP status code. I mentioned 404 and 301 HTTP status codes when I saw WordPress Seo Optimization on the Internet for 301 page and 404 redirection.
2. What causes an internal server error in the HTTP-500?
The cause of the HTTP 500 error has been summarized on the Internet. The most common cause may be that the website server receives too many HTTP requests at the same time. The excessive access volume leads to excessive server pressure, if the IIS server fails to respond in time, an HTTP 500 error will be reported.
Another important reason for the HTTP 500 internal server error in IIS is that the IWAM account password is incorrect, the password of the IWAM account in the Active Directory, IIS metabase database, and COM + application is not synchronized. For IWAM accounts, you can go to Google to search for them. We will not copy them here.
The other 500 errors are caused by the value of the parameter during parameterization. The Application Server (such as Tomcat, websphere, and JBoss) is replaced but the running script is still the original, and the http500 error may be reported;
Windows xp2 is incompatible with IIS components; System Development Program problems, such as some pointer problems, are not properly handled; when the request operation needs to insert data into the database, the tablespace in the database is full, or the buffer pool is small and cannot meet the data access requirements, it may cause an HTTP 500 error.
3. How to Solve HTTP 500 errors
When an Internal Server Error 500 occurs, the browser will return a friendly error prompt page, that is, the friendly error prompt we mentioned at the beginning. To solve the HTTP 500 error, first check the specific cause of the error. Follow these steps:
First, set the cancel friendly prompt in the browser to get the detailed error 500: choose "Browser"> "Tools"> "Internet Options"> "advanced"> "Show http-friendly error prompt/", and deselect the check box to receive specific error messages. Debug and solve the problem based on the specific cause of Error 500.
Second, if the test is performed in the IIS running environment, the HTTP 500-internal server error occurs because the IWAM account has inconsistent passwords in the Active Directory, IIS metabase database, and COM + applications, it is necessary to manually synchronize the password of the IWAM account in the Active Directory, IIS metabase database, and COM + application to make it consistent (the VM cannot operate without the permissions of the IIS server, this can be done when this problem occurs in a local test ). I found a simple way to synchronize passwords on the Internet for your reference.
1. run: regsvr32 % WINDIR %/system32/VBScript. DLL (Microsoft only provides the management script adsutil. vbs is located in the C:/inetpub/adminscripts subdirectory. Therefore, you must first register VBScript. DLL)
2. run: MSDTC-resetlog (msdtc.exe is a Microsoft Distributed transmission Coordination Program, which is used to manage multiple servers ), control Panel-> Administrative Tools-> Find "component service"-> "computer"-> "my computer"-> "COM + application"-> "IIS Out- -Process pooled Applications"
That is:
Allow CMD in the beginning
Cd % WINDIR %/system32/inetsrv
Rundll32 wamreg. dll, createiispackage
Regsvr32 asptxn. dll
Restart IIS
3. reinstall IIS.
Third: Although there are many causes of errors, there are more than one solution to the problem. In some cases, I encountered problems in configuring IIS. Other problems may exist, however, I have never met anyone so far. I hope my friends can reply to me in a timely manner.