Third Shelf

Rebuilding the COM+ Catalog

Posted in windows by Sydney du Plooy on August 19, 2008

After my post on rebuilding the WMI Repository, I thought it might be a good thing to write a post on rebuilding the COM+ Catalog. It is unlikely that you’ll ever have to rebuild a corrupt COM+ Catalog, but it certainly is possible, for example when you get errors such as “Catalog Error 8008005 – Server Execution failed”.

This article by Microsoft describes the process to follow when rebuilding the COM+ Catalog. I’ve duplicated the steps here for ease of reference:

  1. Rename the %WinDir%\System32\Clbcatq.dll file to %WinDir%\System32\~Clbcatq.dll. Make sure that you include the tilde (~) at the start of the file name.
  2. Restart the computer.
  3. Start Registry Editor (Regedt32.exe).
  4. Locate and delete the following key in the registry: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\COM3
  5. At a command prompt, type cd %windir%, and then press ENTER.
  6. At a command prompt, type rmdir /s Registration, and then press ENTER. This is the location folder of the registration database. Note: If you have MS04-012 installed, you must now re-install MS04-012. For more information about security update MS04-012, click the following article number to view the article in the Microsoft Knowledge Base: 828741
  7. Click the Start button, point to Settings, and then click Control Panel.
  8. Double-click Add/Remove Programs, and then click Add/Remove Windows Components.
  9. Click Next to go through the reinstallation process, to reinstall COM+.
  10. If IIS is installed on the computer, IIS creates several COM+ applications. These applications will now be missing. To re-create these applications, run the following command at a command prompt: rundll32 %windir%\system32\inetsrv\wamreg.dll, CreateIISPackage

Tagged with:

5 Responses

Subscribe to comments with RSS.

  1. Magil said, on January 22, 2009 at 4:09 PM

    Can we rebulild COM+ catalog on Windows server 2008?
    If yes then what are the complete steps.

    Any help will be appreciated!

  2. Kiki Sanchez said, on November 26, 2009 at 7:27 PM

    I would also like to know what the steps would be to rebuild the COM+ catalog on a Win2008 server. The above MS article specifically says that it is not for Win2008

  3. Jacob Kurek said, on December 30, 2009 at 5:55 AM

    Saying thanks will not just be enough, for the fantastic lucidity in your writing. I will instantly grab your rss feed to stay abreast of any updates.

  4. carioca said, on January 3, 2010 at 4:35 AM

    Hello there!

    Happy New Year – it’s raining for the 10th day or so at the east coast of Oz, giving me ample time to spend some time trying to fix a volume shadow copy issue on an older XP SP3 machine.

    With your help, I got safely to Step 6 – then I couldn’t proceed to delete the registration database because “it is being used by another process”…

    Back to the drawing board.

    Cheers,

    LMH a.k.a. carioca

  5. imtimay2 said, on January 13, 2010 at 6:48 PM

    I had to
    1) Boot the server in safe mode to rename the .SYS file
    2) Boot normally to delete the Registration folder with no errors

    Details here:
    http://support.microsoft.com/kb/318731


Leave a Reply