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
在2014年发现原来使用VPS的客户需求慢慢的在改版,VPS已经不能满足客户的需求。我们开始代理机房的独立服务器,主推和HS机房的独立服务器。经过一年多的发展,我们发现代理的服务器配置参差不齐,机房的售后服务也无法完全跟上,导致了很多问题发生,对使用体验带来了很多的不便,很多客户离开了我们。经过我们慎重的考虑和客户的建议。我们在2015开始了重大的改变, 2015年,我们开始计划托管自己...
华纳云双11钜惠出海:CN2海外物理服务器终身价688元/月,香港/美国机房,免费送20G DDos防御,50M CN2或100M国际带宽可选,(文内附带测评)华纳云作为一家专业的全球数据中心基础服务提供商,总部在香港,拥有香港政府颁发的商业登记证明,APNIC 和 ARIN 会员单位。主营香港服务器、美国服务器、香港/美国OpenStack云服务器、香港高防物理服务器、美国高防服务器、香港高防I...
OneTechCloud(易科云)是一家主打CN2等高端线路的VPS主机商家,成立于2019年,提供的产品包括VPS主机和独立服务器租用等,数据中心可选美国洛杉矶、中国香港、日本等,有CN2 GIA线路、AS9929、高防、原生IP等。目前商家针对全场VPS主机提供月付9折,季付8折优惠码,优惠后香港VPS最低季付64元起(≈21.3元/月),美国洛杉矶CN2 GIA线路+20Gbps防御型VPS...