• Missing Citrix MetaFrame COM Server

    I am picky when it comes to the Citrix XenApp servers on which I work.  Warnings and Errors in the event logs just drive me up the wall.  They are both to be banished if at all possible.  A client site I was at recently fixing issues had hundreds of DCOM errors recorded in every XenApp server’s System event log.   A particular event that is recorded is shown in Figure 1.

    Figure 1

    One of the common reasons for this error is when an administrator executes the Citrix Management Consoles on XenApp servers which are not Zone Data Collectors.  Best practice is to install and run the Citrix Delivery Services Console and Advanced Configuration Console on the Zone Data Collectors.

    To resolve this error, Microsoft recommends the following steps be followed (http://tinyurl.com/DCOM10016 ).

    DCOM Repair Instructions:

    1. Copy the CLSID
    2. Open the registry editor
    3. Search for the CLSID
    4. Record the name
    5. Open Administrative Tools -> Component Services
    6. Double-click Component Services
    7. Double-click Computers
    8. Double-click My Computer
    9. Click DCOM Config
    10. Scroll down and find the object with the name you recorded earlier
    11. Right-click the object and select Properties
    12. Click the Security tab
    13. In the Launch and Activation Permissions section, select Customize and click Edit…
    14. Add the user reported in the event
    15. Select the user just added and check Allow – Remote Activation
    16. Click OK, OK and exit Component Services

    CLSID {ED62F4E3-63C2-11D4-94D8-00C04FB0F326) is MetaFrame COM Server and is found by that name on most servers at this client site.  On a few of their servers, I ran into two issues in Component Services:

    1. CLSID found but not MetaFrame COM Server.
    2. Neither MetaFrame COM Server nor the CLSID is found.

    CLSID found but not MetaFrame COM Server

    Searching the registry for the CLSID on one server returned what is shown in Figure 2.

    Figure 2

    I knew from other servers that this should be showing as MetaFrame COM Server (Figure 3).

    Figure 3

    Looking in DCOM Config shows no component named MetaFrame COM Server (Figure 4).

    Figure 4

    However, the CLSID of {ED62F4E0-63C2-11D4-94D8-00C04FB0F326} is found (Figure 5).

    Figure 5

    For this server, the problem is simply that the component does not have the name configured.  To fix this problem, return back to the registry editor and double click on (Default) (Figure 6).

    Figure 6

    For Value data Enter MetaFrame COM Server, click OK and exit the registry editor (Figure 7).

    Note: This entry may be case sensitive, so enter the Value data exactly as shown above.

    Figure 7

    In Component Services, click on DCOM Config and then click on the Refresh icon (Figure 8).

    Figure 8

    The MetaFrame COM Server component is now in the proper location (Figure 9).

    Figure 9

    You can now use the instructions given above under DCOM Repair Instructions, to add the user and assign the Allow – Remote Activation permission.

    Neither MetaFrame COM Server nor the CLSID is found

    On one server, the Citrix MFCOM Service is missing (Figure 10).

    Figure 10

    Also, the MetaFrame COM Server is missing in Component Services (Figure 11).

    Figure 11

    The CLSID of {ED62F4E0-63C2-11D4-94D8-00C04FB0F326} is also missing (Figure 12).

    Figure 12

    To fix these issues, from an elevated command prompt, register both by typing the following commands (Figure 13).

    mfcom /regserver

    mfreg /regserver

    net start MFCom

    Figure 13

    The Citrix MFCOM Service returns and is started (Figure 14).

    Figure 14

    In DCOM Config in Component Services, the CLSID appears (Figure 15).

    Figure 15

    Open the registry editor, search for the CLSID and double click on (Default) (Figure 16).

    Figure 16

    For Value data Enter MetaFrame COM Server, click OK and exit the registry editor (Figure 17).

    Note: This entry may be case sensitive, so enter the Value data exactly as shown above.

    Figure 17

    In Component Services, click on DCOM Config and then click on the Refresh icon (Figure 18).

    Figure 18

    The MetaFrame COM Server component is now in the proper location (Figure 19).

    Figure 19

    You can now use the instructions given above under DCOM Repair Instructions, to add the user and assign the Allow – Remote Activation permission.

    , ,

    About Carl Webster

    Webster is a Sr. Solutions Architect for Choice Solutions, LLC and specializes in Citrix, Active Directory and Technical Documentation. Webster has been working with Citrix products for many years starting with Multi-User OS/2 in 1990.

    View all posts by Carl Webster

    No comments yet.

    Leave a Reply