Cannot access localhost under Windows XP Service Pack 2

R

Roberto Rocco

Hello,

since my installation of Windows XP Service Pack 2 I cannot access
http://localhost.

I get a HTTP 500 error (Server Application Error: The server has encountered
an error while loading an application during the processing of your request.
Please refer to the event log for more detail information. Please contact
the server administrator for assistance)

However, I can successfully ping to http://localhost.

IIS and WWW-Publishing Service are both up and running!

I also deactivated the Windows Firewall and rebooted the system, but still
cannot access localhost.

Also: When I try to create a new ASP Web project in Visual Studio 2003 get
the error message: "Visual Studio cannot create or open the application
because the Web server on this computer is not running. Start the Web server
before proceeding."

I guess this is also due to the localhost not working.

Has anybody an idea of what I could do to make localhost work with SP2?

Many thanks in advance,

Roberto Rocco.
 
H

Hans-Georg Michna

since my installation of Windows XP Service Pack 2 I cannot access
http://localhost.

I get a HTTP 500 error (Server Application Error: The server has encountered
an error while loading an application during the processing of your request.
Please refer to the event log for more detail information. Please contact
the server administrator for assistance)

Roberto,

please refer to the event log for more detail information.

Hans-Georg
 
R

Roberto Rocco

Hello Hans-Georg,

thank you for your replie!

Yes indeed, there were Event-log entries that are created every time I
attempt to access localhost (see below).
Additionally, I can open HTML pages using localhost (e.g.
http://localhost/MySite.html), but no asp-pages.
And since my localhost tries to open the default asp intro site it doesn't
work.

So it seems that localhost itself is working properly, but asp-pages do not.

The event-log entry I get is:
"Event-ID 7034: The COM+ System Application service terminated unexpectedly.
It has done this 3 time(s)."

When I read this I investigated a bit further and the only solution others
had for this kind of problem was to reinstall COM+ (!)

So I tried to reinstall COM+ via Add/Remove Windows Components by following
these steps:

1. renamed %windir%\system32\clbcatq.dll to %windir%\system32\~clbcatq.dll
2. restarted the computer
3. deleted the HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\COM3 registry key
4. deleted the %windir%\Registration Folder
5. Tried to reinstall COM+ via Add/Remove Windows Components

During the reinstalltion of COM+ via Add/Remove Windows Components I got the
following error message:

"The sub-component has raised an exception during the
OC_COMPLETE_INFORMATION installation message" (translated from the original
german error message)
d:\nt\com\com1x\src\complussetup\comsetup\ccompluscore.cpp (Line 565)
Error-Code: 0x80040155

The funny thing is that now localhost is working again!!

What's left is a bad feeling about the mysterious error message during COM+
reinstallation.
I doubt you can help me with that, but just in case I've appended below the
dump of the comsetup.log

So finally my status is: System is working, but I don't know why ;)

Best regards,

Roberto Rocco.


Dump of comsetup.log:
================

COM+[11:3:32]:
********************************************************************************
COM+[11:3:32]: Setup started - [DATE:10,10,2004 TIME: 11:03 pm]
COM+[11:3:32]:
********************************************************************************
COM+[11:3:32]: Start OC_INIT_COMPONENT Component = com
COM+[11:3:32]: INF VERSION (com) = 2001,12,4414,42
COM+[11:3:32]: Instantiating CMasterNT5Wks
COM+[11:3:32]: Memory usage for setup process...
COM+[11:3:32]: PeakWorkingSetSize: 7348 Kb, WorkingSetSize: 7348 Kb
COM+[11:3:32]: QuotaPeakPagedPoolUsage: 42 Kb, QuotaPagedPoolUsage: 42 Kb
COM+[11:3:32]: PeakPagefileUsage: 3608 Kb, PagefileUsage: 3500 Kb
COM+[11:3:32]: MTSS: Answer File =
COM+[11:3:32]: Calling SetupOpenInfFile.
COM+[11:3:32]: Unable to open Answer File!!
COM+[11:3:32]: DRID-39104 -> Path: C:\WINDOWS\Java\Trustlib\
COM+[11:3:32]: Installed COM product version = 0.0.0.0
COM+[11:3:32]: SETUP VERSION = 3.0.0.4414
COM+[11:3:32]: Installation Mode = FRESH
COM+[11:3:32]: Setup Mode = CUSTOM
COM+[11:3:32]: DRID-39103 -> Path: C:\Programme\Gemeinsame
Dateien\ODBC\Data Sources\
COM+[11:3:32]: End OC_INIT_COMPONENT Return Value = 0
COM+[11:3:33]: Start OC_QUERY_STATEComponent = com Subcomponent = com
COM+[11:3:33]: Subcomponent com state: O-,C-,R-
COM+[11:3:33]: End OC_QUERY_STATE Return Value = 0
COM+[11:3:34]: Start OC_QUERY_CHANGE_SEL_STATE Component = com Subcomponent
= com
COM+[11:3:34]: Subcomponent com state: O-,C-,R-
COM+[11:3:34]: End OC_QUERY_CHANGE_SEL_STATE Return Value = 1
COM+[11:3:34]: Start OC_QUERY_CHANGE_SEL_STATE Component = com Subcomponent
= com
COM+[11:3:34]: Subcomponent com state: O-,C+,R-
COM+[11:3:34]: End OC_QUERY_CHANGE_SEL_STATE Return Value = 1
COM+[11:3:34]: Start OC_QUERY_CHANGE_SEL_STATE Component = com Subcomponent
= com
COM+[11:3:34]: Subcomponent com state: O-,C+,R-
COM+[11:3:34]: End OC_QUERY_CHANGE_SEL_STATE Return Value = 1
COM+[11:3:34]: Start OC_QUERY_CHANGE_SEL_STATE Component = com Subcomponent
= com
COM+[11:3:34]: Subcomponent com state: O-,C+,R-
COM+[11:3:34]: End OC_QUERY_CHANGE_SEL_STATE Return Value = 1
COM+[11:3:34]: Start OC_QUERY_CHANGE_SEL_STATE Component = com Subcomponent
= com
COM+[11:3:34]: Subcomponent com state: O-,C+,R-
COM+[11:3:34]: End OC_QUERY_CHANGE_SEL_STATE Return Value = 1
COM+[11:3:35]: Start OC_QUERY_CHANGE_SEL_STATE Component = com Subcomponent
= com
COM+[11:3:35]: Subcomponent com state: O-,C+,R-
COM+[11:3:35]: End OC_QUERY_CHANGE_SEL_STATE Return Value = 1
COM+[11:3:36]: Start OC_CALC_DISK_SPACE Component = com Subcomponent = com
COM+[11:3:36]: End OC_CALC_DISK_SPACE Return Value = 0
COM+[11:3:38]: Start OC_QUEUE_FILE_OPS Component = com Subcomponent =
COM+[11:3:38]: End OC_QUEUE_FILE_OPS Return Value = 0
COM+[11:3:38]: Start OC_QUEUE_FILE_OPS Component = com Subcomponent = com
COM+[11:3:38]: Subcomponent com state: O-,C+,R-
COM+[11:3:38]: Reading persistent registry values
COM+[11:3:38]: Finished reading persistent registry values, retval = 0x0
COM+[11:3:38]: Queuing file ops for component com, Section Name: com_install
COM+[11:3:38]: The following files will be copied:
COM+[11:3:38]: C:\WINDOWS\system32\clbcatq.dll
COM+[11:3:38]: C:\WINDOWS\system32\comsnap.dll
COM+[11:3:38]: C:\WINDOWS\system32\comuid.dll
COM+[11:3:38]: C:\WINDOWS\system32\comsvcs.dll
COM+[11:3:38]: C:\WINDOWS\system32\catsrv.dll
COM+[11:3:38]: C:\WINDOWS\system32\catsrvut.dll
COM+[11:3:38]: C:\WINDOWS\system32\clbcatex.dll
COM+[11:3:38]: C:\WINDOWS\system32\catsrvps.dll
COM+[11:3:38]: C:\WINDOWS\system32\stclient.dll
COM+[11:3:38]: C:\WINDOWS\system32\comrepl.dll
COM+[11:3:38]: C:\WINDOWS\system32\comaddin.dll
COM+[11:3:38]: C:\WINDOWS\system32\colbact.dll
COM+[11:3:38]: C:\WINDOWS\system32\Com\comadmin.dll
COM+[11:3:38]: C:\WINDOWS\system32\mtxdm.dll
COM+[11:3:38]: C:\WINDOWS\system32\mtxex.dll
COM+[11:3:38]: C:\WINDOWS\system32\mtxlegih.dll
COM+[11:3:38]: C:\WINDOWS\system32\dcomcnfg.exe
COM+[11:3:38]: C:\WINDOWS\system32\Com\comexp.msc
COM+[11:3:38]: C:\WINDOWS\system32\Com\comrepl.exe
COM+[11:3:38]: C:\WINDOWS\system32\Com\comempty.dat
COM+[11:3:38]: C:\WINDOWS\system32\Com\comrereg.exe
COM+[11:3:38]: C:\WINDOWS\system32\Com\migregdb.exe
COM+[11:3:38]: C:\WINDOWS\system32\Com\mtsadmin.tlb
COM+[11:3:38]: The following files will be deleted:
COM+[11:3:38]: Nuke registry key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\COM3\Setup.
COM+[11:3:38]: DRID-39105 -> Path: C:\Dokumente und Einstellungen\All
Users\Startmen\Programme\
COM+[11:3:38]: End OC_QUEUE_FILE_OPS Return Value = 0
COM+[11:3:39]: Start OC_QUERY_STEP_COUNT Component = com Subcomponent =
COM+[11:3:39]: End OC_QUERY_STEP_COUNT Return Value = 0
COM+[11:3:39]: Start OC_QUERY_STEP_COUNT Component = com Subcomponent = com
COM+[11:3:39]: End OC_QUERY_STEP_COUNT Return Value = 120
COM+[11:3:40]: Start OC_ABOUT_TO_COMMIT_QUEUE Component = com Subcomponent =
COM+[11:3:40]: No PendingFileRenameOperations
COM+[11:3:40]: End OC_ABOUT_TO_COMMIT_QUEUE Return Value = 0
COM+[11:3:41]: Start OC_ABOUT_TO_COMMIT_QUEUE Component = com Subcomponent =
com
COM+[11:3:41]: Subcomponent com state: O-,C+,R-
COM+[11:3:41]: Stopping service ComSysApp...
COM+[11:3:41]: Stopping service ComLB...
COM+[11:3:41]: Stopping service SENS...
COM+[11:3:41]: Stopping service EventSystem...
COM+[11:3:41]: Stopping service SENS...
COM+[11:3:41]: Stopping service fax...
COM+[11:3:41]: Stopping service w3svc...
COM+[11:3:41]: Stopping service smtpsvc...
COM+[11:3:41]: Stopping service iisadmin...
COM+[11:3:41]: Stopping service SMTPSVC...
COM+[11:3:41]: Stopping service W3SVC...
COM+[11:3:41]: End OC_ABOUT_TO_COMMIT_QUEUE Return Value = 0
COM+[11:3:42]: Start OC_COMPLETE_INSTALLATION Component = com Subcomponent =
COM+[11:3:43]: No PendingFileRenameOperations
COM+[11:3:43]: End OC_COMPLETE_INSTALLATION Return Value = 0
COM+[11:3:43]: Start OC_COMPLETE_INSTALLATION Component = com Subcomponent =
com
COM+[11:3:43]: Subcomponent com state: O-,C+,R+
COM+[11:3:43]: Queuing reg ops for component com, Section Name: com_install
COM+[11:3:43]: Registering TypeLib: C:\WINDOWS\system32\Com\mtsadmin.tlb
COM+[11:3:43]: SetFileAttributes returned 0x80070002 for menu item
C:\Dokumente und Einstellungen\All
Users\Startmen\Programme\Verwaltung\Explorer fr Komponentendienste.lnk
COM+[11:3:43]: Creating menu item for Komponentendienste.
COM+[11:3:43]: Nuke registry key:
HKEY_CLASSES_ROOT\AppID\{182C40F0-32E4-11D0-818B-00A0C9231C29}.
COM+[11:3:43]: Schema version is 83; schema is compatible
COM+[11:3:43]: Nuke registry key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\COM3\Setup.
COM+[11:3:43]: Registering C:\WINDOWS\system32\clbcatq.dll.
COM+[11:3:43]: Before call to LoadLibrary - Module:
C:\WINDOWS\system32\clbcatq.dll
COM+[11:3:43]: After call to LoadLibrary - Module:
C:\WINDOWS\system32\clbcatq.dll
COM+[11:3:43]: Before call to DllRegisterServer - Module:
C:\WINDOWS\system32\clbcatq.dll
COM+[11:3:43]: After call to DllRegisterServer - Module:
C:\WINDOWS\system32\clbcatq.dll
COM+[11:3:44]: Registering C:\WINDOWS\system32\comsnap.dll.
COM+[11:3:44]: Before call to LoadLibrary - Module:
C:\WINDOWS\system32\comsnap.dll
COM+[11:3:44]: After call to LoadLibrary - Module:
C:\WINDOWS\system32\comsnap.dll
COM+[11:3:44]: Before call to DllRegisterServer - Module:
C:\WINDOWS\system32\comsnap.dll
COM+[11:3:44]: After call to DllRegisterServer - Module:
C:\WINDOWS\system32\comsnap.dll
COM+[11:3:44]: Registering C:\WINDOWS\system32\comuid.dll.
COM+[11:3:44]: Before call to LoadLibrary - Module:
C:\WINDOWS\system32\comuid.dll
COM+[11:3:44]: After call to LoadLibrary - Module:
C:\WINDOWS\system32\comuid.dll
COM+[11:3:44]: Before call to DllRegisterServer - Module:
C:\WINDOWS\system32\comuid.dll
COM+[11:3:44]: After call to DllRegisterServer - Module:
C:\WINDOWS\system32\comuid.dll
COM+[11:3:45]: Registering C:\WINDOWS\system32\comsvcs.dll.
COM+[11:3:45]: Before call to LoadLibrary - Module:
C:\WINDOWS\system32\comsvcs.dll
COM+[11:3:45]: After call to LoadLibrary - Module:
C:\WINDOWS\system32\comsvcs.dll
COM+[11:3:45]: Before call to DllRegisterServer - Module:
C:\WINDOWS\system32\comsvcs.dll
COM+[11:3:45]: After call to DllRegisterServer - Module:
C:\WINDOWS\system32\comsvcs.dll
COM+[11:3:47]: Registering C:\WINDOWS\system32\catsrv.dll.
COM+[11:3:47]: Before call to LoadLibrary - Module:
C:\WINDOWS\system32\catsrv.dll
COM+[11:3:47]: After call to LoadLibrary - Module:
C:\WINDOWS\system32\catsrv.dll
COM+[11:3:47]: Before call to DllRegisterServer - Module:
C:\WINDOWS\system32\catsrv.dll
COM+[11:3:47]: After call to DllRegisterServer - Module:
C:\WINDOWS\system32\catsrv.dll
COM+[11:3:47]: Registering C:\WINDOWS\system32\catsrvut.dll.
COM+[11:3:47]: Before call to LoadLibrary - Module:
C:\WINDOWS\system32\catsrvut.dll
COM+[11:3:47]: After call to LoadLibrary - Module:
C:\WINDOWS\system32\catsrvut.dll
COM+[11:3:47]: Before call to DllRegisterServer - Module:
C:\WINDOWS\system32\catsrvut.dll
COM+[11:3:47]: After call to DllRegisterServer - Module:
C:\WINDOWS\system32\catsrvut.dll
COM+[11:3:48]: Registering C:\WINDOWS\system32\clbcatex.dll.
COM+[11:3:48]: Before call to LoadLibrary - Module:
C:\WINDOWS\system32\clbcatex.dll
COM+[11:3:48]: After call to LoadLibrary - Module:
C:\WINDOWS\system32\clbcatex.dll
COM+[11:3:48]: Before call to DllRegisterServer - Module:
C:\WINDOWS\system32\clbcatex.dll
COM+[11:3:48]: After call to DllRegisterServer - Module:
C:\WINDOWS\system32\clbcatex.dll
COM+[11:3:48]: Registering C:\WINDOWS\system32\catsrvps.dll.
COM+[11:3:48]: Before call to LoadLibrary - Module:
C:\WINDOWS\system32\catsrvps.dll
COM+[11:3:48]: After call to LoadLibrary - Module:
C:\WINDOWS\system32\catsrvps.dll
COM+[11:3:48]: Before call to DllRegisterServer - Module:
C:\WINDOWS\system32\catsrvps.dll
COM+[11:3:48]: After call to DllRegisterServer - Module:
C:\WINDOWS\system32\catsrvps.dll
COM+[11:3:49]: Registering C:\WINDOWS\system32\stclient.dll.
COM+[11:3:49]: Before call to LoadLibrary - Module:
C:\WINDOWS\system32\stclient.dll
COM+[11:3:49]: After call to LoadLibrary - Module:
C:\WINDOWS\system32\stclient.dll
COM+[11:3:49]: Before call to DllRegisterServer - Module:
C:\WINDOWS\system32\stclient.dll
COM+[11:3:49]: After call to DllRegisterServer - Module:
C:\WINDOWS\system32\stclient.dll
COM+[11:3:49]: Registering C:\WINDOWS\system32\comrepl.dll.
COM+[11:3:49]: Before call to LoadLibrary - Module:
C:\WINDOWS\system32\comrepl.dll
COM+[11:3:49]: After call to LoadLibrary - Module:
C:\WINDOWS\system32\comrepl.dll
COM+[11:3:49]: Before call to DllRegisterServer - Module:
C:\WINDOWS\system32\comrepl.dll
COM+[11:3:49]: After call to DllRegisterServer - Module:
C:\WINDOWS\system32\comrepl.dll
COM+[11:3:49]: Registering C:\WINDOWS\system32\comaddin.dll.
COM+[11:3:49]: Before call to LoadLibrary - Module:
C:\WINDOWS\system32\comaddin.dll
COM+[11:3:49]: After call to LoadLibrary - Module:
C:\WINDOWS\system32\comaddin.dll
COM+[11:3:49]: Before call to DllRegisterServer - Module:
C:\WINDOWS\system32\comaddin.dll
COM+[11:3:49]: After call to DllRegisterServer - Module:
C:\WINDOWS\system32\comaddin.dll
COM+[11:3:49]: Registering C:\WINDOWS\system32\colbact.dll.
COM+[11:3:49]: Before call to LoadLibrary - Module:
C:\WINDOWS\system32\colbact.dll
COM+[11:3:49]: After call to LoadLibrary - Module:
C:\WINDOWS\system32\colbact.dll
COM+[11:3:49]: Before call to DllRegisterServer - Module:
C:\WINDOWS\system32\colbact.dll
COM+[11:3:49]: After call to DllRegisterServer - Module:
C:\WINDOWS\system32\colbact.dll
COM+[11:3:49]: Registering C:\WINDOWS\system32\Com\comadmin.dll.
COM+[11:3:49]: Before call to LoadLibrary - Module:
C:\WINDOWS\system32\Com\comadmin.dll
COM+[11:3:49]: After call to LoadLibrary - Module:
C:\WINDOWS\system32\Com\comadmin.dll
COM+[11:3:49]: Before call to DllRegisterServer - Module:
C:\WINDOWS\system32\Com\comadmin.dll
COM+[11:3:49]: After call to DllRegisterServer - Module:
C:\WINDOWS\system32\Com\comadmin.dll
COM+[11:3:50]: Registering C:\WINDOWS\system32\es.dll.
COM+[11:3:50]: Before call to LoadLibrary - Module:
C:\WINDOWS\system32\es.dll
COM+[11:3:50]: After call to LoadLibrary - Module:
C:\WINDOWS\system32\es.dll
COM+[11:3:50]: Before call to DllRegisterServer - Module:
C:\WINDOWS\system32\es.dll
COM+[11:3:50]: After call to DllRegisterServer - Module:
C:\WINDOWS\system32\es.dll
COM+[11:3:50]: Registering C:\WINDOWS\system32\txflog.dll.
COM+[11:3:50]: Before call to LoadLibrary - Module:
C:\WINDOWS\system32\txflog.dll
COM+[11:3:50]: After call to LoadLibrary - Module:
C:\WINDOWS\system32\txflog.dll
COM+[11:3:50]: Before call to DllRegisterServer - Module:
C:\WINDOWS\system32\txflog.dll
COM+[11:3:50]: After call to DllRegisterServer - Module:
C:\WINDOWS\system32\txflog.dll
COM+[11:3:51]: Before RegisterComEventClasses
COM+[11:3:51]: ERROR: Throwing Exception - FILE:
d:\nt\com\com1x\src\complussetup\comsetup\ccompluscore.cpp, LINE: 565
Die COM+-Ereignisklassen konnten nicht registriert werden.
Error Code = 0x80040155(-2147221163)
COM+[11:3:51]: RaiseException: Error Code: 0x80040155
COM+[11:3:52]: Warning: error 0x8007054b in IsWin2001PrimaryDomainController
COM+[11:3:52]: Machine is not a PDC
COM+[11:3:52]: ProcessDSSchema succeeded: 0x0
COM+[11:3:52]: COM+ Successfully Deactivated
COM+[11:3:52]: Memory usage for setup process...
COM+[11:3:52]: PeakWorkingSetSize: 49580 Kb, WorkingSetSize: 49360 Kb
COM+[11:3:52]: QuotaPeakPagedPoolUsage: 96 Kb, QuotaPagedPoolUsage: 90 Kb
COM+[11:3:52]: PeakPagefileUsage: 21080 Kb, PagefileUsage: 21000 Kb
COM+[11:3:52]: Die Unterkomponente COM+ hat beim Verarbeiten der
OC_COMPLETE_INSTALLATION-Installationsnachricht eine Ausnahme ausgelöst.

d:\nt\com\com1x\src\complussetup\comsetup\ccompluscore.cpp (Zeile 565)

Fehlercode = 0x80040155



Schnittstelle nicht registriert


Die COM+-Ereignisklassen konnten nicht registriert werden.
COM+[11:4:0]: End OC_COMPLETE_INSTALLATION Return Value = -2147221163
COM+[11:4:0]: Start OC_QUERY_STATEComponent = com Subcomponent = com
COM+[11:4:0]: Subcomponent com state: O-,C+,R+
COM+[11:4:0]: End OC_QUERY_STATE Return Value = 2
COM+[11:4:5]: Start OC_CLEANUP Component = com
COM+[11:4:5]: Stopping service COM+ System Application...
COM+[11:4:5]: Memory usage for setup process...
COM+[11:4:5]: PeakWorkingSetSize: 51608 Kb, WorkingSetSize: 37652 Kb
COM+[11:4:5]: QuotaPeakPagedPoolUsage: 96 Kb, QuotaPagedPoolUsage: 76 Kb
COM+[11:4:5]: PeakPagefileUsage: 23960 Kb, PagefileUsage: 20992 Kb
COM+[11:4:5]: End OC_CLEANUP Return Value = 0
COM+[11:4:6]:
********************************************************************************
COM+[11:4:6]: Setup finished - [DATE:10,10,2004 TIME: 11:04 pm]
COM+[11:4:6]:
********************************************************************************
 
H

Hans-Georg Michna

So finally my status is: System is working, but I don't know why ;)

Roberto,

well, that's something! Congratulations.

I looked through the setup log for COM+, but of course the error
message doesn't give any hint at why it couldn't register those
classes, so I'm stumped. Only thing that comes to mind is to
google for the error message.

Viel Erfolg---Hans-Georg
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top