Native IIS authentication Server application Error Solution

Source: Internet
Author: User

Native IIS authentication, canceling after:

Server Application Error

The server has encountered an error while loading a application during the processing of your of request. Please refer to the event log for more detail information. Please contact the server Administrator for assistance.

The solution is as follows:
1.  Right click on my Computer--admin--Local Users and groups, set the password for the IUSR_ machine name and the IWAM_ machine name two users. 2. Start--run--play cmd,
And then the CD c:/inetpub/adminscripts,
Then cscript.exe adsutil.vbs set W3svc/wamuserpass your password,
Then cscript.exe adsutil.vbs set W3svc/anonymoususerpass your password.
Check it out, all right?
If not, then Cscript.exe Synciwam.vbs-v,
and then IISReset.
On it, if to the last hint 8004e00f error, this error is due to the MSDTC service is not normal,
Workaround: First go to Component Services, view Component Services/Computers/My Computer/com+ applications, and the result is "COM + cannot talk to Microsoft distributed Transaction Coordinator" to see the objects inside.
2, into the Event Viewer, found that the MSDTC service does not start properly.
3, delete the key in the registry:
KEY_LOCAL_MACHINESYSTEMCURRENTCONTROLSETSERVICESMSDTC
HKEY_LOCAL_MACHINESOFTWAREMICROSOFTMSDTC
Hkey_classes_rootcid
4. Stop MSDTC service: net stop MSDTC
5. Uninstall MSDTC service: Msdtc-uninstall
6. Reinstall MSDTC Service: Msdtc-install
7. Confirm that the MSDTC service has started properly in Event Viewer [This step is critical, if not, restart the computer to see]
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 COM + applications,
In cmd: C:/inetput/adminscripts>cscript synciwam.vbs-v
To this part of the net most say OK, if there is no 8004e00f error prompts, but access page Server application error is still,
The workaround is as follows:
Solution: [1]: Check your DTC service (full name: Distributed Transaction Coordinator) Whether it can start normally, if normal, please skip this step; if there is an error, it will not start properly, run in the Start menu: MSDTC- Resetlog to create a log file. Reboot the machine and check to see if IIS is working properly.
[2]: Under CMD execute the following command: CD%windir%/system32/inetsrv rundll32 wamreg.dll, createiispackage regsvr32 asptxn.dll (I can use it here, No need to reboot)

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.