Local IIS Authentication Server Application Error Solution

Source: Internet
Author: User

The Error message "Server Application Error" is displayed on the local iis Authentication Server when you use IIS. I will share my solution here. I hope this method will be useful to you.

Local IIS authentication. After cancellation, exit:

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.

The solution is 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 c:/Inetpub/Adminscripts,
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, then cscript.exe synciwam. vbs-v,
Then iisreset.
If the error "8004e00f" is returned at the end, this error is caused by an error in the MSDTC Service,
Solution: 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:
• KEY_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:/inetput/adminscripts> adsutil set w3svc/wamuserpass "yourpassword"
10. Synchronize the IWAM_MYSERVER password used by the COM + application,
In CMD: c:/inetput/adminscripts> cscript synciwam. vbs-v
Most of the websites can be accessed. If there is no Error message for 8004e00f, but the Error message for accessing the Server Application is still displayed,
The solution is as follows:
Solution: [1]: Check whether your DTC service (full name: Distributed Transaction Coordinator) can be started normally. If it is normal, skip this step. If an error occurs, it cannot be started normally, 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)

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.