HTTP internal server error
The "HTTP 500 internal server error" solution
The IIS500 error was caused by a BUG in Microsoft. Here' s thesolution:
It was mainly because the password errors of the IWAM account(in my computer, the IWAM_MYSERVER account) resulted in theHTTP 500 internal error.
HTTP500 in detailed analysis the causes of internal errorbefore, first make a brief introduction of the IWAM account:IWAM account is installing a IIS5 system automaticallyestablish a built-in account, it is mainly used for startingthe process of applicationof the Internet information services.IWAM account name will be based on each computer NETBIOS namevaries, the general format is IWAM_MACHINE, namely by "_" and"IWAM" prefix, line of computer NETBIOS name. My computer' sNETBIOS name is MYSERVER, so the name of the IWAM account onmy computer is the IWAM_MYSERVER, which is very similar to thename of the IIS anonymous account ISUR_MACHINE.
After the IWAM account set up by the Active Directory, IISmetabase database and COM + application common use, passwordis preserved by three sides respectively, and by the operatingsystem is responsible for the three parties save IWAM passwordsynchronization. Dr Morrison said, by the operating system isresponsible for the work we can rest assured, don't have toworry about making mistakes, but don't know what is a BUG orother reasons, system of IWAM account password sync jobsometimes fail, the three parties do not have a unified IWAM
account password used. When IIS or COM +Applications use theIWAM wrong password login system, start the IIS the Out - Of- the Process Pooled Applications, the systemwould reject therequest for password mistake, lead to the IIS the Out - Of -the Process Pooled Applications boot failure, as we see inID10004 error events "can't run the server {3 d14228d d0FBE1-11-995 - d - 00 c04fd919c1}" (here {3 d0 d14228d -FBE1-11-995-d-00 c04fd919c1} is IIS the Out-Of-the ProcessPooled Applications KEY) , cannot turn IIS5 application, HTTP500 internal error produced.
Three. The solution
Know the cause of HTTP 500 internal error, it is relativelysimple, it is artificial synchronous IWAM account in ActiveDirectory, IIS metabase database and the password in the COM+ application.
For three steps, you need to log in to the computer as anadministrator to provide sufficient operating privileges (theIWAM account is an example of the IWAM_MYSERVER) .
(1) change the password for the IWAM_MYSERVER account in ActiveDirectory
Because the IWAM account password by the system control, randomgeneration, we don' t know what it is, to complete the two stepsof password synchronization work, we must set the IWAM accountpassword to a we know the value of the.
Select "start" - > "program" - > "management tool" - > "Active
Directory user and computer", and start "Active Directory userand computer" management unit.
Click "user", select the "IWAM_MYSERVER" on the right, andright-click to "reset the password (T) . . . " In jump out to resetthe password for in the box to IWAM_MYSERVER set the newpassword, here we are set to"Aboutnt2001" (without the quotes) ,sure, waiting for the password is changed.
(2) synchronize the password for the IWAM_MYSERVER account inthe IIS metabase
Because the changes might be a sensitive and important,Microsoft does not change for us in the IIS metabase
IWAM_MYSERVER password is to provide an explicit user interface,only with IIS5 provides a management script adsutil. VBS, thescript is located in the C: \ inetpub \ adminscriptssubdirectory (position may by different Settings when youinstall IIS5 change) .
The adsutil.vbs script is powerful,
The parameter is very large and the usage is complex, and thisis the only way to use this script to modify the IWAM_MYSERVERaccount password:
Adsutil SET w3svc/WAMUserPass Password
The "Password" parameter is the new Password for the IWAMaccount to be set. So we changed the password of the
IWAM_MYSERVER account in IIS metabase to "Aboutnt2001" :
C: \ Inetpub \ AdminScripts > adsutil SET w3svc/WAMUserPass"Aboutnt2001"
After the changes are made, the system will have the followingtips:
WAMUserPass: (String) "Aboutnt2001"
(3) the password for the IWAM_MYSERVER used by the COM +application
Synchronous IWAM_MYSERVER password used in the COM +application, we have two ways to choose: one is using thecomponent services MMC management unit, another is to use IWAMaccount sync script synciwam. VBS.
Use the component service MMC management unit
(1) to start the component services management unit: select the"start" - > "run" - > "MMC", start the admin console, open the"add/remove snap-in dialog box, add" component "servicemanagement unit.
(2) f ind "component services" - > "computer" - > "my computer"- > "COM + application" - > "Out - Of - the Process PooledApplications", right click on the "Out-Of-the Process PooledApplications" - > "properties".
(3) switch to the "icon" TAB Of the "out-of-process PooledApplications" properties dialog. "This application will run
under the following account" and "this user"will be selectedand the user name is "IWAM_MYSERVER". These are all default and
need not be changed. Enter the correct password "Aboutnt2001"in the "password" and "confirm password" text box below todetermine the exit.
(4) if the system prompts "the application is created by morethan one external product. Are you sure you want to be supportedby these products?" Be sure to do it.
(5) if we will some other in IIS Web applicationprotection"setto" high "(independent) , then the Web of the COM+ applicationused IWAM account password also needs to be synchronized.Repeat (1) - (4) step, synchronizing other corresponding Outof process application' s IWAM password.
Use the IWAM account synchronization script synciwam. VBSMicrosoft has actually found IWAM account passwordsynchronization problems, so on the management of IIS5 scriptsseparate synchronous write a script for the IWAM accountpassword synciwam. VBS, the script is located in the C: \inetpub \adminscripts subdirectory (position may by differentSettings when you install IIS5 change) .
The synciwam.vbs script is simple:
Cscript synciwam. [-v |-h]
The "-v"parameter indicates the entire process that the scriptperforms (recommended using) , and the "-h" parameter is used
to display simple help information.
We need to synchronize the password of the IWAM_MYSERVERaccount on the COM+ application, and simply execute "cscriptsynciwam. VBS - v", as follows:
Cscript c: \ inetpub \ adminscripts \ synciwam
Microsoft (R) Windows Script Host Version 5.6
Copyright (C) Microsoft Corporation 1996-2000. All rightsreserved.
WamU s erName: IWAM_MYSERVER
WamUserPass: Aboutnt2001
IIS Applications Defined:
The Name, AppIsolated, Package ID
W3svc, 0, {3d14228c-fbe1-11d0 -995d-00c04fd919c1}
Root, 2.
IISHelp, 2.
I ISAdmin, 2.
I I SS amp l e s, 2.
MSADC, 2.
ROOT, 2.
I ISAdmin, 2.
IISHelp, 2.
Root, 2.
Root, 2.
Out of the 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}
As you can see from the execution of the script above, the useof the synciwam.vbs script is more comprehensive and fasterthan the method of using component services. It first from theIIS metabase database find IWAM account "IWAM_MYSERVER" and
take Out the corresponding password "Aboutnt2001", then findall the defined IIS Applications and Out of the processApplications, and synchronization by each Out of the processApplications application IWAM account password.
When using the synciwam.vbs script, be aware of the problem thatyou must ensure that the IIS metabase database is consistentwith the IWAM password in Active Directory before you runsynciwam. VBS. Because synciwam. VBS script from the IISmetabase rather than obtained from the Active Directorydatabase IWAM account password, if the password is not correct,IIS metabase that synciwam. Password will not correct VBS,synchronous operation to "Updating Applications" system willbe submitted to the 80110414 error, namely "can' t find theapplication {3 d0 d14228d-FBE1-11-995 - d-00 c04fd919c1}".All right, so far, the IWAM account has been successfully codedin the Active Directory, IIS metabase database and COM +application, and your ASP program is running again!
This article comes from the 51CTO.COM technology blogOne. Error performance
The HTTP 500 internal server error of the iis5 is one of thecommon errors we often encounter, and its main error is thatthe asp program cannot browse but the HTM static page is notaffected.
In addition, the system event log and the security event loghave a corresponding record when the error occurs.
Specific as follows:
(1) the performance of ie
When browsing the HTML page, the following error occurs whenbrowsing the asp page that was previously running properly:The page doesn't show
There is aproblemwith the page you are visiting, so you can'tdisplay it.
Try the following:
Open the http://127.0.0. 1 home page to find the link to therequired information.
Click the refresh button, or try again later.
HTTP 500-internal server error
Internet information services
Technical information (supporting individuals)
Detailed information:
Microsoft support
Or:
Server application error
The server has encountered an error while loading an
ucloud美国云服务器怎么样?ucloud是国内知名云计算品牌服务商家,目前推出全球多地机房的海外云服务器。UCloud主打的优势是海外多机房,目前正在进行的2021全球大促活动参与促销的云服务器机房就多达18个。UCloud新一代旗舰产品快杰云服务器已上线洛杉矶节点,覆盖北美和亚太地区,火热促销中, 首月低至7元,轻松体验具备优秀性能与极高性价比的快杰云服务器。点击进入:ucloud美国洛杉矶...
lcloud怎么样?lcloud零云,UOVZ新开的子站,现在沪港iplc KVM VPS有端午节优惠,年付双倍流量,200Mbps带宽,性价比高。100Mbps带宽,500GB月流量,10个,512MB内存,优惠后月付70元,年付700元。另有国内独立服务器租用,泉州、佛山、成都、德阳、雅安独立服务器低至400元/月起!点击进入:lcloud官方网站地址lcloud零云优惠码:优惠码:bMVbR...
Digital-vm是一家成立于2019年的国外主机商,商家提供VPS和独立服务器租用业务,其中VPS基于KVM架构,提供1-10Gbps带宽,数据中心可选包括美国洛杉矶、日本、新加坡、挪威、西班牙、丹麦、荷兰、英国等8个地区机房;除了VPS主机外,商家还提供日本、新加坡独立服务器,同样可选1-10Gbps带宽,最低每月仅80美元起。下面列出两款独立服务器配置信息。配置一 $80/月CPU:E3-...