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 !!!!!