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
CloudCone是一家成立于2017年的国外VPS主机商,提供独立服务器租用和VPS主机,其中VPS基于KVM架构,多个不同系列,譬如常规VPS、大硬盘VPS等等,数据中心在洛杉矶MC机房。商家2021年Flash Sale活动继续,最低每月1.99美元,支持7天退款到账户,支持使用PayPal或者支付宝付款,先充值后下单的方式。下面列出几款VPS主机配置信息。CPU:1core内存:768MB...
buyvm正式对外开卖第四个数据中心“迈阿密”的块存储服务,和前面拉斯维加斯、纽约、卢森堡一样,依旧是每256G硬盘仅需1.25美元/月,最大支持10T硬盘。配合buyvm自己的VPS,1Gbps带宽、不限流量,在vps上挂载块存储之后就可以用来做数据备份、文件下载、刷BT等一系列工作。官方网站:https://buyvm.net支持信用卡、PayPal、支付宝付款,支付宝付款用的是加元汇率,貌似...
Megalayer 商家在之前也有记录过,商家开始只有提供香港站群服务器和独立服务器,后来也有增加到美国独立服务器,以及前几天也有介绍到有增加香港VPS主机。对于香港服务器之前有过评测(Megalayer香港服务器配置一览及E3-1230 8GB服务器评测记录),这里申请到一台美国独立服务器,所以也准备简单的评测记录。目前市场上我们看到很多商家提供VPS或者云服务器基本上没有什么特别的,但是独立服...