IIS runs error Server application error code ERROR:8004 solution _ Application Tips

Source: Internet
Author: User
Tags metabase
This article fixes the server application error solution, fixes the problem with the path in the command, and uses the commands in this article to ignore the path issue:

IIS Repair Tool Download Iis_repair_jb51.rar

1, right click on my Computer--> management--> Local Users and Groups--> users, on the right to "IUSR_ machine name" and "IWAM_ machine name" Two users are set the password is 123;
2, start--> run--> cmd, and then in the Command Line window to enter the following command (one line of input);
  
Copy Code code as follows:

cscript.exe%homedrive%\inetpub\adminscripts\adsutil.vbs set W3svc/wamuserpass 123
cscript.exe%homedrive%\inetpub\adminscripts\adsutil.vbs set W3svc/anonymoususerpass 123


The internet said there is a need to look at IIS normal no, but this problem I seem to have met before, this time is still the same, to here 90% or the problem depends on.
Then we'll go on with the operation.
  
Copy Code code as follows:

Cscript.exe%homedrive%\inetpub\adminscripts\synciwam.vbs-v
IISReset


When I get here, I'm prompted to error:8004e00f, which belongs to the MSDTC service exception. If there is no such hint, then congratulations, you have succeeded in repairing.
We continue to operate:
3, delete the key in the registry:

Copy Code code as follows:

· Hkey_local_machine/system/currentcontrolset/services/msdtc
· Hkey_local_machine/software/microsoft/msdtc
· Hkey_classes_root/cid


4, continue in the cmd window just now, type the command (stop and reinstall the MSDTC service):

Copy Code code as follows:

net stop MSDTC
Msdtc-uninstall
Msdtc-install

5. Re-operate the instructions in the first step (set the password of 2 system users);
6. cmd command to synchronize the password of Iwam_myserver in IIS metabase:

Copy Code code as follows:

%homedrive%\inetpub\adminscripts\adsutil.vbs set W3svc/wamuserpass "123"

7. cmd command to synchronize the iwam_myserver password used by COM + applications:

Copy Code code as follows:

cscript%homedrive%\inetpub\adminscripts\synciwam.vbs-v


Operation here, although I do not have 8004e00f error prompts, but the test of IIS, the problem is still, access to the page or server application error
You have to continue with the operation:
Check that your DTC service (full name: Distributed Transaction coordinator) can start normally, which is generally OK.

Continue to execute the following command under CMD:
  
Copy Code code as follows:

RunDLL32%windir%\system32\inetsrv\wamreg. DLL, CreateIISPackage
regsvr32%WINDIR%\SYSTEM32\INETSRV\ASPTXN. dll/s

Here we go!

here are some additional

First this operation ...

1 Right-click My Computer----> management, open the Computer Management interface
Open Local Users and groups----> users
Right-click to start IIS process account iwam_**** (NOTE: * * * is generally the computer name)
Click the set password and set it to a password you want.

2 Synchronize IIS configuration database password:
There are two commands here, one to view the password and one to modify the password:

A. You can view the IWAM password using the view Password command, and then set the user IWAM password in the first step to the same as the IIS metabase password you see.

B. You can also use the Modify password command to modify the IIS metabase password to the IWAM password you modified in the first step.

Two kinds you choose.

View Password:
Note here: In WIN2000, the password you see is an asterisk, and if you are not an asterisk, you must first modify the Adsutil.vbs file.

To modify the method:
A. To C disk inetpub\adminscripts find Adsutil.vbs (depending on the system setup, some paths may be different)
B. Right-click and open with Notepad
C. Find IsSecureProperty = True Note = preceded by a space
D. Change IsSecureProperty = True to IsSecureProperty = False
E. Save, close, OK.

No more wordy, listed below

View Password command:

Start---> Programs---> Attachments open a command prompt
Enter CD C:\inetpub\adminscripts

Obtain IWAM account password command: cscript.exe adsutil.vbs get W3svc/wamuserpass

Obtain IUSR account password command: cscript.exe adsutil.vbs get W3svc/anonymoususerpass

Enter the above command and press ENTER to view the IWAM and IUSR passwords separately.

Modify Password command:

Modify the IWAM account password cscript.exe adsutil.vbs set w3svc/wamuserpass "password"

Modify the IUSR account password cscript.exe adsutil.vbs set w3svc/anonymoususerpass "password"

Password set to the password you want to modify, that is, you set the first step of the user iwam_**** the same, press ENTER to modify the completion.

It must be noted here: the bar between W3SVC and WAMUserPass is/not \, otherwise there will be an error.

Also note: Be sure to stop all Internet Information Services before you modify your password, or you may get an error later, and the IWAM account may be locked.

How to stop? Turn on Computer Management, right-click on Internet Information Services, choose to restart the IIS service, and then stop the IIS service in the midpoint of the option to determine.


3 Change the password in the component service

Start---> Programs---> Attachments open a command prompt
Enter CD C:\inetpub\adminscripts First

then enter Cscript.exe Synciwam.vbs-v

The system will prompt:


Reference content
Microsoft (r) Windows Script Host version 5.6

Copyright (c) Microsoft Corporation 1996-2000. All rights reserved.


Wamusername:iwam_myserver

wamuserpass:aboutnt2001

IIS Applications defined:

Name, appisolated, package ID

W3SVC, 0, 3D14228C-FBE1-11D0-995D-00C04FD919C1}

Root, 2,

IISHelp, 2,

IISADMIN, 2,

IISSamples, 2,

MSADC, 2,

Root, 2,

IISADMIN, 2,

IISHelp, 2,

Root, 2,

Root, 2,


Out of process applications defined:

Count:1

3D14228D-FBE1-11D0-995D-00C04FD919C1}


Updating applications:

Name:iis out-of-process Pooled Applications key:3d14228d-fbe1-11d0-995d-00c04fd919c1}

If it's the above, it means your IIS has started successfully, but

If the display error:8004e00f: Don't worry, then need to do the following operation ...

A error:8004e00f error occurred while performing synciwam.vbs-v
can refer to the following

The following error occurred while synchronizing the password:

C:\inetpub\adminscripts>synciwam.vbs-v
IIS Applications Defined:
Name, appisolated, Package ID
ROOT, 2,
IISHelp, 2,

Out of process applications defined:
Count:1
{3D14228D-FBE1-11D0-995D-00C04FD919C1}

ERROR:8004E00F:

C:\inetpub\adminscripts>

Solution:
1, first into the Component Services, view Component Services/computer/My Computer/com+ application, if the error "COM + cannot talk to Microsoft distributed Transaction Coordinator", can not see the objects inside. Then keep looking at the bottom.
2, enter the event Viewer to see if the MSDTC service is starting normally. (should be not)
3, delete the key in the registry:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSDTC
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSDTC
Hkey_classes_root\cid
(All delete, hehe, do not be afraid oh ... The registry is not afraid)


4, this network of prawns do not seem to mention that is to uninstall IIS, and then reload it. Oh, fix, than you go to see what service is much faster ... Of course, this is on the premise of you have IIS installation files or system CD. Oh. Hope to some friends useful this article, of course, if you have other ways, don't forget to tell me Ah! ~ 

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.