Server Application Error Resolution method

Source: Internet
Author: User
Tags iis

Today because of IIS a bit of a problem, so the IIS uninstall after the reload, the result of reloading, and then access the ASP file, the following error occurs.
------------------------------------
Server Application Error
The server has encountered a error while loading an application during the processing of your request. Refer to the event log for more detail information. Please contact the server Administrator for assistance.
------------------------------------
It took a long time to find a lot of information and finally solved it.

Workaround:
1. Change the password of the Iwam_myserver account

Right button My Computer--manage--local Users and groups, click on the user, give IUSR_ machine name and IWAM_ machine name two users to set the password, I have set them to the same. The Setup method is right-click, change the password, and then enter the password two times.

2. Synchronize passwords for Iwam_myserver accounts in IIS metabase

Start-run--cmd,
Then CD c:/inetpub/adminscripts
Then cscript.exe adsutil.vbs set W3svc/wamuserpass "Your password", this is the password set in the previous step IWAM_ machine name.
Then cscript.exe adsutil.vbs set W3svc/anonymoususerpass "Your password", this is the password set in the previous step IUSR_ machine name.
I've set the same password here.

Set here, look, or not. Then do it down.
3. Sync passwords for IWAM accounts and scripts Synciwam.vbs
Cscript.exe Synciwam.vbs-v,
Then restart IIS

The general problem to solve here, but I changed, a look, or not, depressed dead. Go on.

4. Synchronize the iwam_myserver password used by the COM + application

To synchronize the iwam_myserver password used by the COM + application, we have two options: one is to use the Component Services MMC snap-in, and the other is to synchronize the script Synciwam.vbs with the IWAM account.

I'm using the first method: using the Component Services MMC snap-in
1. Start the Component Services snap-in: Select Start, Run, MMC, start the management console, open the Add/Remove Snap-in dialog box, and add the Component Services snap-in.
2. Find "Computer", "Component Services", "My Computer", "COM + application", "Out-of-process Pooled Applications", right-click "Out-of-process Pooled Applications "," Properties ".


Oops, there's a new problem when it comes to this step. Click on "Computer", there is a hint "COM + cannot talk with the Microsoft Distributed Transaction Coordinator", depressed, then first to solve the problem. Search the following, the following methods to solve:

1, first enter the Component Services, view Component Services/computer/My Computer/com+ application, the result error "COM + cannot talk to the Microsoft distributed Transaction Coordinator", cannot view the objects inside.
2. Enter the Event Viewer and discover that the MSDTC service is not starting properly.
3. Delete the keys in the registry:
HKEY_LOCAL_MACHINE/SYSTEM/CURRENTCONTROLSET/SERVICES/MSDTC
HKEY_LOCAL_MACHINE/SOFTWARE/MICROSOFT/MSDTC
Hkey_classes_root/cid
4. Run cmd, stop MSDTC service: net stop MSDTC
5. Uninstalling the MSDTC service: Msdtc-uninstall
6. Reinstall the MSDTC service: Msdtc-install
7. Confirm that the MSDTC service has started normally in Event Viewer [This step is critical, if not, restart the computer to see], here is a tip to see if the MSDTC service is started, execute net stop msdtc, prompt is stopping and stopping success right, and then MSDTC- The install is OK.

OK, here goes the top, down:

3. Switch to the Flags tab of the Out-of-process Pooled Applications Properties dialog box. "This application runs under the following accounts" option in the "This user" will be selected, the user name is "Iwam_myserver". These are the default and do not have to be changed. Enter the correct password "aboutnt2001" in the "password" and "Confirm password" text boxes below to confirm the exit.

4. If the system prompts "the application is created by more than one external product." Are you sure you want to be supported by these products? "When you are sure.

Thankfully, the problem has finally been solved.

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.