Solution to IIS issues caused by SAM files

xiaoxiao2021-03-06  99

IIS 500 internal error solution

Problem:

IIS has started but the Web cannot use IE to return 500 internal error records as follows

The COM service cannot be initialized due to the following system API errors. It is usually caused by system resource storage issues of local computers. CryptAcquiRecontext process Name: DLLHOST.EXE This error has caused the process to terminate. Error code = 0x80090017: Provider type is not defined. COM Service Interior Information: File: ./security.cpp, line: 615

Server {3D14228D-FBE1-11D0-995D-00c04FD919C1} is not registered with DCOM within a limited time.

The server failed to transfer to the application '/ LM / W3SVC / 1 / root / webmail'. The error is the 'server run failed'. To get more information about this message, visit the Microsoft Online Support Site: http://www.microsoft.com/contentredirect.asp.

answer:

IIS 500 internal error solution (1. Error performance) 海 一 于 9 9/10/2001 8:17:09 AM NT World ← Back to layout

I. Error performance will always have three performances when this error occurs: First, the most direct performance in IE is the most direct performance; the other is the performance of the safety log, IWAM_MACHINE account login failed; The performance in the system log cannot be activated by the IIS OUT-OF-Process Pooled Applications application, because the account is started, causing an ASP page to browse the error.

(1) Performance in IE

This error occurs when browsing the ASP page that is working properly:

(1) The web page cannot display a problem with the page you want to access, so it cannot be displayed.

---------------------------------------------

Try the following:

Open http://127.0.0.1 home page to find links to the required information. Click Refresh button, or try again later.

HTTP 500 - Internal Server Error Internet Information Services

-------------------------------------------------- ------------------------------

Technical information (support personal)

Details: Microsoft Support

[Note, here is only 500 errors, not 500.xx, etc.

(2) Server Application ErrorThe 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 assistance.

(2) Safety log record (2) Event type: failed audit event Source: security event type: Login / Logout Event ID: 529 Date: 2001-9-9 Event: 11:17:07 User: NT Authority / System Computer : MyServer Description: Login Fail: Reason: Username Unknown or Password Error User Name: IWAM_MYSERVER Domain: Mydom Login Type: 4 Login Procedure: Advapi Authentication_Package_V1_0 Workstation Name: MyServer

Event Type: Failure Audit Source: Security Event Category: Account Log In Events: 681 Date: 2001-9-9 Event: 11:17:07 User: NT Authority / System: MyServer Description: Log in to Account: IWAM_MYSERVER Login User: Microsoft_Authentication_package_v1_0 From the workstation: MyServer is unsuccessful. The error code is: 3221225578 Note: IWAM_MYSERVER, the built-in account of the Internet information service outside the startup process, automatically established when installing IIS, whose password is controlled by IIS.

(3) Record in system log (2) Event type: Error event Source: DCOM event type: No event ID: 10004 Date: 2001-9-9 Event: 11:20:26 User: N / A Computer: MyServer Description: DCOM encountered error "Unable to update your password. Provide a value that is provided to the new password contains the value that is not allowed in the password." And you cannot log in to ./iwam_myserver to run the server to run the server: {3D1428D-FBE1-119C1}

Event Type: Warning Event Source: W3SVC Event Type: No Event ID: 36 Date: 2001-9-9 Event: 11:20:26 User: N / A Computer: MyServer Description: The server fails to transfer to the application '/ lm / W3SVC / 4 / root '. Error is the 'RunaS format must be the / or just '. To get more information about this message, visit the Microsoft Online Support Site: http://www.microsoft.com/contentredirect.asp.

Note: 3D14228D-FBE1-11D0-995D-00c04FD919C1} is actually the key of IIS Out-of-Process Pooled Applications. ===================== ============================================================================================================ AM NT World ← Back to Layout

There are multiple reasons for IIS 500 internal errors, but the most important reason is that IWAM_MACHINE account is in Active Directory (or SAM), IIS's Metabase database does not match the password in the COM component. So the key to solving the problem The password of these three-party passwords will be synchronized. There are several ways to synchronize this triplet, and there are several ways to use the best use. Synchronize the script comes with IIS (it seems that Microsoft has long known this. The problem is therefore specially made a script synchronized by a password. :)):

The operation is as follows: 1. Change the password of the IWAM_MACHINE account in the local account manager or AD user. Suppose we change to "12345678". [This account is computer control, very complex] .2. Use the new password weight Set IIS Metabase database. We need to use the management script adsutil with IIS. Run the following command: C: / inetpub / adminsscripts> Adsutil Set W3SVC / Wamuserpass 12345678

The system will display: Wamuserpass: (String) "12345678"

Tip the password update success.

Normally, IIS will automatically synchronize information such as system accounts, but I found that ISUR_MACHINE on my machine is synchronized, but iWam_machine is always not synchronized, so I have to modify itself.

3. Synchronous COM account password Similarly We want to use IIS's management script synciwam.vbs, this script usually exists under C: / INETPUB / Adminscripts, the last management script is also put here. The command is as follows: CScript C: / INETPUB / AdminScripts / synciwam.vbs -vv parameter is open detailed mode, let us see the update process, usually displayed as follows:

Microsoft (R) Windows Script Host Version 5.6 Copyright (C) Microsoft Corporation 1996-2000. all rights reserved.

WamUserNameIWAM_MYSERVERWamUserPass12345678IIS Applications Defined: Name, AppIsolated, Package IDw3svc, 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}

The password is successful. If you don't succeed first, let's take a look at the IIS of this feet correctly, if you don't correct, please repeat the second step synchronization IIS password.

Dismissal, open IIS, ASP program should be able to browse normally.

转载请注明原文地址:https://www.9cbs.com/read-123700.html

New Post(0)