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