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
Megalayer 商家主营业务是以独立服务器和站群服务器的,后来也陆续的有新增香港、菲律宾数据中心的VPS主机产品。由于其线路的丰富,还是深受一些用户喜欢的,有CN2优化直连线路,有全向国际线路,以及针对欧美的国际线路。这次有看到商家也有新增美国机房的VPS主机,也有包括15M带宽CN2优化带宽以及30M带宽的全向线路。Megalayer 商家提供的美国机房VPS产品,提供的配置方案也是比较多,...
LOCVPS发来了新的洛杉矶CN2线路主机上线通知,基于KVM架构,目前可与香港云地、香港邦联机房XEN架构主机一起适用7折优惠码,优惠后最低美国洛杉矶CN2线路KVM架构2GB内存套餐月付38.5元起。LOCPVS是一家成立较早的国人VPS服务商,目前提供洛杉矶MC、洛杉矶C3、和香港邦联、香港沙田电信、香港大埔、日本东京、日本大阪、新加坡、德国和荷兰等机房VPS主机,基于KVM或者XEN架构。...
今天遇到一个网友,他之前一直在用阿里云虚拟主机,我们知道虚拟主机绑定域名是直接在面板上绑定的。这里由于他的网站项目流量比较大,虚拟主机是不够的,而且我看他虚拟主机已经有升级过。这里要说的是,用过阿里云虚拟主机的朋友可能会比较一下价格,实际上虚拟主机价格比云服务器还贵。所以,基于成本和性能的考虑,建议他选择云服务器。毕竟他的备案都接入在阿里云。这里在选择阿里云服务器后,他就蒙圈不知道如何绑定域名。这...