Server application error occurs in IIS. How can this problem be solved?

Source: Internet
Author: User
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.

When you access the IIS client, the following error message is displayed,

Check the solution on the Internet as follows:

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.

It is said that this is okay, but the error 8004e00f is prompted at the end. This error is caused by the exception of the MSDTC Service. solution:

First, go to component services and view component services/computers/my computers/COM + applications.ProgramThe error "COM + cannot talk to Microsoft Distributed Transaction Coordinator" is returned, and the objects in the transaction cannot be viewed.
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

This part of the Internet is okay for most of them, but although I do not have a 8004e00f error prompt here, but the server application error on the access page still persists. Finally, I finally found the solution as follows:

Solution:
[1]:
Check whether your DTC service (full name: Distributed Transaction Coordinator) can be started normally,

If this step is normal, skip this step. If an error occurs and cannot be started properly, run MSDTC-resetlog in the Start menu to create a log file. Restart the machine and check whether IIS can be used normally. If not, continue.

[2]:
Run the following command in cmd:
Cd % WINDIR % \ system32 \ inetsrv

Rundll32 wamreg. dll, createiispackage

Regsvr32 asptxn. dll

(I can use it here, without restarting)

OK. Everything on the ASP page is normal @!~~~ Pai_^

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.