Two methods to solve IIS Server Application Error

Source: Internet
Author: User

Method 1:
------------------------------------
Server Application Error
The server has encountered an error while loading an application during the processing of your request. Please refer to the event log for more detail information. Please contact the server administrator for maintenance.
------------------------------------

Process:
1. Right-click my computer-Manage-local users and groups, and set the password for IUSR _ machine name and IWAM _ machine name.

2. Start -- run -- press cmd,
Then cd D: InetpubAdminScripts (my system is on disk D ),
Then cscript.exe adsutil. vbs set w3svc/wamuserpass your password,
Then cscript.exe adsutil. vbs set w3svc/anonymoususerpass your password

Can you see it? If not
Cscript.exe synciwam. vbs-v,
Then iisreset.

Method 2:
Recently, the machine's IIS is always abnormal. It always says that the HTTP Error occurs, and then the asp file cannot be parsed. I checked it online for a long time. There are solutions, but none of them involve the 8004e00f error I reported.

Later, the MSDTC Service was abnormal, so I started from here. The specific solution is as follows:

1. First, go to the component service and check the component service/computer/my computer/COM + application. The error "COM + cannot talk to Microsoft Distributed Transaction Coordination Program" is returned ", you cannot view the objects in it.
2. Go to the Event Viewer and find that the msdtc Service is not started properly.
3. Delete the keys in the registry:
• HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesMSDTC
• HKEY_LOCAL_MACHINESOFTWAREMicrosoftMSDTC
• HKEY_CLASSES_ROOTCID
4. stop MSDTC: net stop msdtc
5. uninstall the MSDTC Service: msdtc-uninstall
6. reinstall the MSDTC Service: msdtc-install
7. confirm that the msdtc Service has been started properly in the Event Viewer. [This step is critical. If not, restart your computer.]
8. Reset the iis iwam account password. [In User Management in Computer Management]
9. Synchronize the password of IWAM_MYSERVER in IIS metabase, in CMD: c: inetputadminscripts> adsutil set w3svc/wamuserpass "yourpassword"
10. Synchronize the IWAM_MYSERVER password used by the COM + application. In CMD: c: inetputadminscripts> cscript synciwam. vbs-v
11. Success !!!!!

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.