|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Infamous HTTP 500 Error on LocalHost
Greetings Everyone,
I, like many others here seem to be encountering the world famous HTTP 500 error with respect to IIS 5.1 running on a Windows XP Pro machine. This is a home PC for me, and I am trying to use it as a development machine in conjunction with VS.NET. My problem - IIS simply refuses to serve up ANY ASP/ASPX pages whatsoever. I have un-installed/Reinstalled IIS at least 20 different times now, and am still running into this seemingly impossible situation to solve. I have tried everything. All the fixes recommeneded here, uninstall personal firewall, uninstall VS.NET/.NET framework then reinstall and so on. Here is my situation: XP Pro box - all service packs, patches etc. Completely up to date. I install IIS - installs perfect with no errors. So far so good.. However, as soon as I attempt to view ASP/ASPX pages, strange stuff happens: I Attempt to load URL HTTP Error 500 Internal Server Error. Log Info is as follows: Event Type: Warning Event Source: W3SVC Event Category: None Event ID: 36 Date: 2/11/2004 Time: 10:55:33 PM User: N/A Computer: WINXPPRO Description: The server failed to load application '/LM/W3SVC/1/ROOT/IISHELP'. The error was 'Class not registered '. For additional information specific to this message please visit the Microsoft Online Support site located at: URL. For more information, see Help and Support Center at URL. IF I create a simple ASPX page, the page loads, but does not display any web form controls, or any ASP.NET code (for example, in the page load event, i have the following code Response.Write("test") ) only HTML controls display... and the log shows this: Event Type: Warning Event Source: W3SVC Event Category: None Event ID: 36 Date: 2/11/2004 Time: 11:41:22 PM User: N/A Computer: WINXPPRO Description: The server failed to load application '/LM/W3SVC'. The error was 'The specified metadata was not found. '. For additional information specific to this message please visit the Microsoft Online Support site located at: URL. For more information, see Help and Support Center at URL. If anyone has any idea how to correct these issues, please respond!!! |
|
#2
|
|||
|
|||
|
__________________
====== Doug G ====== I didn't attend the funeral, but I sent a nice letter saying I approved of it. --Mark Twain |
|
#3
|
|||
|
|||
|
Fixed It!
Thanks for the reply Doug.
I have solved the problem the long way. After spending over 40 hours to no aval, I decided to flatten the machine and start over. After reformatting the drive, installing XP Pro again, then installing VS.NET, everything is working correctly this time, with no issues at all. |
|
#4
|
|||
|
|||
|
i am ahving the same problem with iis, accept i have windows 2003 server with inbuilt IIS capabilities, i have the same problem when i go to localhost/iishelp and localhost/index i cant work out why, i think its cause i have exchange 2003 but that works and i can access that from the net but not my main web page. it says the system cannot find the path specified. can you please help.
Sindows |
|
#5
|
|||
|
|||
|
Error 500 on Localhost
When you install IIS, is creates a user account called
IWAM_computername. When you try to serve up a web page (e.g. type in http://localhost) IIS starts dllhost.exe using "start as". The IWAM_computername account must be local admin, because it is the account that is used. Hope this helps. |
|
#6
|
||||
|
||||
|
Quote:
If you are trying to run .asp pages on windows 2003 server. Make sure you have enabled Active Server Pages. ASP support is off by default in 2003 Server. |
|
#7
|
|||
|
|||
|
Infamous HTTP 500 Error on LocalHost
Rebuilding your system is a hit-or-miss affair. I have encountered the 500 error more than occasionally on several Windows 2000 systems. IIS works fine when Windows 2000 is first set up, but somehow later down the road it will die on you. I am trying to determine what system changes causes it to happen. It might be the "spyware" windows services i de-activate such as "Automatic Updates" or maybe some program being installed that disrupts things. Last time IIS died on me was after i installed Corel Draw. Applying the service packs, re-installing, double-checking permissions, and "smackin' the box" does not give results. The behavior defies explanation.
What would help is if Microsoft would change the way IIS installs so that that it TRULY re-installs. To re-setup a machine from scratch to fix the problem is not productive to say the least. --Llyal |
|
#8
|
|||
|
|||
|
This worked for me!
Apparenty this happens when the IWAM_myserver account gets out of synch. The MS documentation is here:
http://support.microsoft.com/default.aspx?scid=kb;en-us;255770 Quote:
|
|
#9
|
|||
|
|||
|
Hi there,
i've got the same terrible situation with reinstallaing, testing an so on. Now I've got possible reasons for the "Infamous HTTP 500 Error on LocalHost" error. Please go on with this hints: * While installing Windows XP Professional, do *NOT* register you local machine in a (NT-) DOMAIN (may be necessary) *** Install your local IIS instance with a *LOCAL ADMIN* account (NOT WITH A DOMAIN ADMIN ACCOUNT!!!) (I think this will be the main problem, is necesssary) * Insert your machine in your domain after installing IIS locally as local admin. This solved all problems I've got last days. I think there are problems matching GUIDs for the IWAM-User in local MSDTC Base and the local user accounts when you local intall as (domain admin|domain user with local admin rights) . Solvings the problem with resetting passwords (MS KB) won't work. hope this will help, Martin Kalmes, munich, germany |
|
#10
|
|||
|
|||
|
Solutions to localhost problem
I was having the same problems like you guys and after browsing around and some try and error, I have found out this solution.
Somehow after you guys installed the patches, service packs, there is/are file(s) affected by the update process and remove the permission or deleted the account permission of certain files related to IIS. Please follow this link for more details. http://support.microsoft.com/default.aspx?scid=kb;en-us;842329 goog luck guys. p.s no more painstaking work of reformat the hard disk again. if you need help, please leave your email here and i will try to help you out. |
|
#11
|
||||
|
||||
|
You realize you just provided an answer to a question that was asked almost a year ago... I would assume he/she would have already resolved their problem by now.
|
|
#12
|
|||
|
|||
|
Pls help me
Quote:
I am facing the same problem. Pls help me, i'm pulling all my hair out and is going mad soon! my email is izcabbageh@hotmail.com |
|
#13
|
|||
|
|||
|
I starting having the same problem. I follow All the info found in the post without success...
My setup: WIndows XP pro MCE Visual Studio 2005 IIS... I can run any web site on IIS and visual studio. I receive the 500 internal error on the localhost. I try to uninstall-reinstall IIS, remove norton, ... In the IIS6.LOG I have one fail: [11/25/2005 15:27:17] OC_COMPLETE_INSTALLATION:iis_www:CallProcedureInDl l: Calling 'InstallWam'.Start [11/25/2005 15:27:17] OC_COMPLETE_INSTALLATION:iis_www:[WAMTRACE - export.cpp : 00497] CALL - CreateIISPackage [11/25/2005 15:27:17] OC_COMPLETE_INSTALLATION:iis_www:[WAMTRACE - export.cpp : 00932] CALL - SetupInit [11/25/2005 15:27:18] OC_COMPLETE_INSTALLATION:iis_www:!FAIL! [11/25/2005 15:27:18] OC_COMPLETE_INSTALLATION:iis_www:[WAMERROR - export.cpp : 00961] FAIL - CreateCatalog - error=80080005 [11/25/2005 15:27:18] OC_COMPLETE_INSTALLATION:iis_www:[WAMTRACE - export.cpp : 00978] RETURN - SetupInit. Error(80080005) [11/25/2005 15:27:18] OC_COMPLETE_INSTALLATION:iis_www:!FAIL! [11/25/2005 15:27:18] OC_COMPLETE_INSTALLATION:iis_www:[WAMERROR - export.cpp : 00750] Assertion Failed: (SUCCEEDED(hrReturn)) [11/25/2005 15:27:18] OC_COMPLETE_INSTALLATION:iis_www:[WAMTRACE - export.cpp : 00751] RETURN - CreateIISPackage, hr=80080005 [11/25/2005 15:27:18] OC_COMPLETE_INSTALLATION:iis_www:MyMessageBox: Title:Erreur d'installation d'IIS, Msg:Erreur d'appel de la procédure 'InstallWam()' dans le fichier 'C:\WINDOWS\system32\inetsrv\wamreg.dll'. 0x80080005=Échec de l'exécution du serveur [11/25/2005 15:27:18] OC_COMPLETE_INSTALLATION:iis_www:!FAIL! [11/25/2005 15:27:18] OC_COMPLETE_INSTALLATION:iis_www:CallProcedureInDl l: Calling 'InstallWam'.End.FAILED. Err=80080005. [11/25/2005 15:27:18] OC_COMPLETE_INSTALLATION:iis_www:------------------ [11/25/2005 15:27:18] OC_COMPLETE_INSTALLATION:iis_www:MyMessageBox: Title:Erreur d'installation d'IIS, Msg:Voulez-vous recommencer*? [11/25/2005 15:27:18] OC_COMPLETE_INSTALLATION:iis_www:...ProcessEntry:1 00=108... [11/25/2005 15:27:18] OC_COMPLETE_INSTALLATION:iis_www:WWW_Upgrade_RegTo Metabase:Start. In the EventLog system file I have this error: Fail loading '/LM/W3SVC/1/ROOT Any suggestion? |
|
#14
|
|||
|
|||
|
Similar problems resolved with IIS and Windows XP
recently replaced and older PC and have Win XP pro running
Installed IIS and could not get it to run default.asp by entering http://localhost:81/iishelp. (Apache uses port 80 on my system removed it still had same problems) HTTP 500 error, server page not found, etc etc as most of the postings indicate. Reloaded IIS many times, reloaded .net framework several times as many posts indicate. Tried all the suggestions and found another PC to compare to. Found by looking at Control Panel - Component Services -below Console Root - Component services, expand it to see Computers, expand it to see My Computer, expand it to see COM+ Applications. In COM+ Applications there should be 8 or 9 objects if you have fresh installation I guess. .NET Utilities COM+ explorer COM+ QC Dead Letter Que Listener COM+Utilities IIS In-Process Applications IIS Out of Process Pooled Applications IIS Utilities MS Software Shadow Copy Provider System Application The following did not exist IIS In-Process Applications (contains components IISWAM.W3SVC ) IIS Out of Process Pooled Applications IIS Utilities If you cannot expand My Computer (Windows 2000) this may help read fully it was not for XP. Microsoft http://support.microsoft.com/?id=301919 If you are missing IIS In-Process Applications and IIS Out of Process Applications I found this link , and ran step 10 only to createIISPackage How to Clean up COM+ catalog http://support.microsoft.com/default.aspx?scid=kb;en-us;315296 Now and finally.. http://localhost:81/iishelp takes you to the IIS 5.1 Documentation default.asp localhost:81/ is configured because I also have Apache on the same system port 80. IIS utilities was not restored to this folder. Thanks to all who suggested checking antivirus and Internet security in the posts, IIS lockdown tools, firewalls etc , you do have to check them to be sure. Quote:
|