I've been experiencing some problems with COM+. I noticed a
problem this week when I went to open an ASP.NET application in Visual
Studio.NET (I haven't been developing web apps for a while).
After some investigation I found out that IIS 5.1 was not serving ASP
and ASPX pages and the event log was spitting out nasty error messages about COM+ being corrupted.
There's lots of information out there on the Internet about
reinstalling COM+ on Windows 2000 but the instructions for Windows XP
weren't clear. I read in a few places that you need to remove the
COM+ catalogs, remove a registry key, re-register the OLE server DLLs
and then "Add/Remove Windows Components". When I went looking for
a check box option for COM+ services in "Add/Remove Windows Components"
I didn't find it anywhere, which is what I expected because COM+ is
built into XP, unlike Win2K. What I failed to understand at the
time was that simply clicking next on the add/remove wizard will cause
Windows to rebuild COM+ catalogs and registry entries.
I found the
solution (one of many, as mentioned) on
Symantec's web
site, of all places. It seems that Ghost 9.0 sometimes comes
across the corrupted COM+ problem. Below are the instructions with my annotations:
- Start Windows Explorer.
- Do one of the following:
- In Windows 2000, browse to the C:\Winnt\System32 folder.
- In Windows XP/2003, browse to the C:\Windows\System32 folder.
- Right-click the Clbcatq.dll file, and then click Rename.
- Rename the file to ~Clbcatq.dll.
Make sure that you include the tilde (~) at the start of the file name.
- Restart the computer.
Restart in safe mode so that the COM+ catalogs can be removed without the files being locked.
- On the Windows taskbar, click Start > Run.
- In the Open box, type regedt32 and then click OK.
- In the Registry Editor, find and delete the following key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\COM3
As a safety measure, I renamed my key to something else.
- Exit the Registry Editor.
- Click Start > Run.
- In the Open box, type cmd and then click OK.
- At the command prompt, type the following lines, pressing Enter after each line:
cd %windir%
rmdir /s registration
- Close the DOS Window.
- Start Windows Explorer.
- Do one of the following:
- In Windows 2000, browse to the C:\Winnt\System32 folder.
- In Windows XP/2003, browse to the C:\Windows\System32 folder.
- For each of the following files, right-click the file and choose Copy, find the Regsvr32.exe file, right-click it and choose Paste.
- Restart the computer.
Exit out of safe mode, COM+ doesn't install properly in safe
mode. Worked for me in normal mode with logged on user with
administrative rights.
- Click Start > Settings > Control Panel.
- Double-click Add/Remove Programs.
- Click Add/Remove Windows Components.
- Click Next to proceed with reinstallation.
This will refresh your COM installation. - Check the COM+ services are started (run SERVICES.MSC from Start button, run).
I set both of the two COM+ services to start automatically.
- See if you can browse the COM+ components on the local machine in Component Services, under Control Panel, Administrative Tools.