Pages

Tuesday, July 6, 2010

Class not registered - COM+ Issue

The event log gives the following message:

The server failed to load application '/LM/W3SVC/1/Root/Sample'. The error was 'Class not registered.

You may get this error with XP Pro IIS 5.1. I am not sure about the cause.

You will see this error in event logs:
Event Type: Warning
Event Source: W3SVC
Event Category: None
Event ID: 36
Description:
The server failed to load application '/LM/W3SVC/1/ROOT. The error was 'Class not registered'.

This problem is due to Component Services, Go to Component Services MMC, you should get Error Code 8004E00F COM + was unable to talk to Microsoft Distributed Transaction Coordinator". You can fix the COM+ services using MS KB.
PRB: Cannot Expand "My Computer" in Component Services MMC Snap-In
http://support.microsoft.com/?id=301919

If above solution not solve issue, and you continue to receive 'Class not registered' error message, then you should recreate the IIS packages in COM+, try

a) Delete IIS related package in Component Services MMC
• IIS In-Process Applications
• IIS Out-of-Process Pooled Applications
• IIS Utilities

b) Open command prompt, navigate to %windir%\system32\inetsrv folder, and enter (case sensitive)
c:\winnt\system32\inetsrv\>rundll32 wamreg.dll, CreateIISPackage
then
c:\winnt\system32\inetsrv\>regsvr32 asptxn.dll

c) Enter IISRESET at command prompt to restart IIS services, then re-open Component Services MMC to verfiy the IIS packages are recreated.



If you got this while trying to fix the component services.
Error Code = 0x80040206
Non expected internal error
Not enable to register COM+ events classes.

Try regsvr32 %windows%/system32/ole32.dll, then retry the kb to fix the component services


NO guarantee from Author

No comments:

Post a Comment