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
傲游主机商我们可能很多人并不陌生,实际上这个商家早年也就是个人主机商,传说是有几个个人投资创办的,不过能坚持到现在也算不错,毕竟有早年的用户积累正常情况上还是能延续的。如果是新服务商这几年确实不是特别容易,问到几个老牌的个人服务商很多都是早年的用户积累客户群。傲游主机目前有提供XEN和KVM架构的云服务器,不少还是亚洲CN2优化节点,目前数据中心包括中国香港、韩国、德国、荷兰和美国等多个地区的CN...
Vinahost,这个主机商还是第一次介绍到,翻看商家的介绍信息,是一家成立于2008年的老牌越南主机商,业务涵盖网站设计、域名、SSL证书、电子邮箱、虚拟主机、越南VPS、云计算、越南服务器出租以及设备托管等,机房主要在越南胡志明市的Viettle和VNPT数据中心,其中VNPT数据中心对于国内是三网直连,速度优。类似很多海外主机商一样,希望拓展自己的业务,必须要降价优惠或者增加机房迎合需求用户...
华纳云怎么样?华纳云是香港老牌的IDC服务商,成立于2015年,主要提供中国香港/美国节点的服务器及网络安全产品、比如,香港服务器、香港云服务器、香港高防服务器、香港高防IP、美国云服务器、机柜出租以及云虚拟主机等。以极速 BGP 冗余网络、CN2 GIA 回国专线以及多年技能经验,帮助全球数十万家企业实现业务转型攀升。华纳云针对618返场活动,华纳云推出一系列热销产品活动,香港云服务器低至3折,...