How to solve the server application error prompt When IIS opens the ASP file?

Source: Internet
Author: User

How to solve the server application error prompt When IIS opens the ASP file?

 

The error message is as follows:

 

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.

If "show friendly error message" is not removed from IE, information such as HTTP 500 internal services will appear.

 

The solution is as follows:

Stop MSDTC Service: net stop MSDTC (if started)
1. Uninstall the MSDTC Service: MSDTC-uninstall
2. reinstall the MSDTC Service: MSDTC-install
3. confirm that the MSDTC Service has been started properly in the Event Viewer. [This step is critical. If not, restart the computer to check whether the service is enabled or set it to automatic.

4. Run the following command in cmd:
Cd % WINDIR % system32 \ inetsrv
Rundll32 wamreg. dll, createiispackage)
Regsvr32 asptxn. dll prompt box Indicating successful DLL registration, click OK to close.

This step has already led to great success. I have encountered this problem and used the above methods to solve it.

 

If you want to search for the following items from the Internet after step 1, you will be OK if you do not perform any operations.

Reset the iis iwam account password. [In User Management in Computer Management]
Synchronize the password of iwam_myserver in IIS metabase. In cmd: C: inetputadminscripts> adsutil set w3svc/wamuserpass "yourpassword"
(Note: If you run adsutil. vbs for the first time, you may receive the message "this script is not applicable to wscript. Click OK, then click to register cscript as the default host of VBScript, and then click OK on the message stating that cscript has been registered successfully. Run the adsutil. vbs command again .)
Synchronize the iwam_myserver password used by the COM + application. In cmd: C: inetputadminscripts> cscript synciwam. vbs-V

Related Article

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.