500-iis Server Internal Error resolution

Source: Internet
Author: User
Tags iis log metabase
iis| Error | server | resolution

The most recent IIS is always abnormal, always say http500 error, cannot parse ASP file, but can display static HTML. Remove the ' Show friendly URL error ' and complain:
Server Application Error
The server has encountered an error while loading a application during the processing of your of request. Please refer to the event log for more detail information. Please contact the server Administrator for assistance.

The online version is IWAM_ computer name This user password is not synchronized between active Directory, IIS metabase database, and COM + applications.
But when I clicked on ' administration tools-Component Services-Component Services ', I was prompted that COM + was unable to talk to the Microsoft distributed Transaction Coordinator and 8004E00F errors.

Viewing the event log finds that the MSDTC service is not normal

The specific solution is as follows:

1, delete the keys in the registry:
HKEY_LOCAL_MACHINE\SYSTEM\CURRENTCONTROLSET\SERVICES\MSDTC
hkey_local_machine\software\ MICROSOFT\MSDTC
hkey_classes_root\cid
2, stop MSDTC service: net stop MSDTC
3, uninstall MSDTC service: Msdtc-uninstall
4, Reinstall the MSDTC service: Msdtc-install
5, start MSDTC service: net start MSDTC
6, confirm that the MSDTC service has started properly in Event Viewer [This step is critical, if not, restart the computer to see]
7, Reset the IIS IWAM account password. [In user management in Computer Management]
8, synchronize the Iwam_myserver password in IIS metabase, in cmd: C:\inetput\adminscripts>adsutil SET w3svc/wamuserpass Password
" Password "parameter is the new password for the IWAM account you want to set
9, the iwam_myserver password used to synchronize COM + applications, in cmd: c:\inetput\adminscripts>cscript Synciwam.vbs-v
10, Done!


IWAM account is established by active Directory, IIS metabase database and COM + application tripartite use, the account password is saved by three parties, and the operating system is responsible for the three-party saved IWAM Password synchronization work. However, the system of IWAM account password Synchronization work will sometimes fail, so that the three-party IWAM account password is not uniform. When IIS or COM + applications log on to the system using the wrong IWAM password, the system rejects the request because of a password error when the IIS Out-of-process pooled applications is started, causing IIS out-of-process pooled Applications failed to start, which is what we see in the ID10004 Error event "cannot run server {3d14228d-fbe1-11d0-995d-00c04fd919c1}" (Here { 3D14228D-FBE1-11D0-995D-00C04FD919C1} is an IIS Out-of-process pooled applications key) and cannot be transferred to the IIS5 application, and HTTP 500 internal errors are generated.



Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.