You are currently offline, waiting for your internet to reconnect

Cannot set a fixed endpoint for a COM+ application

This article was previously published under Q312960
Important This article contains information about how to modify the registry. Make sure to back up the registry before you modify it. Make sure that you know how to restore the registry if a problem occurs. For more information about how to back up, restore, and modify the registry, click the following article number to view the article in the Microsoft Knowledge Base:
256986 Description of the Microsoft Windows registry
SYMPTOMS
In the Distributed Component Object Model (DCOM), you use a fixed endpoint (a static port) to listen to client remote procedure calls. However, this functionality is not available to Microsoft COM+ applications. Typically, functionality is used to limit the ports that are opened through a firewall.

You can call the RpcServerUseProtseqEp function to fix the Transmission Control Protocol (TCP) port on which the COM+ application listens for the COM Object Remote Procedure Call (ORPC). However, you cannot specify a particular port for the application to use manually.
RESOLUTION

Microsoft Windows 2000

To resolve this problem, obtain the latest service pack for Microsoft Windows 2000. For more information, click the following article number to view the article in the Microsoft Knowledge Base:
260910 How to obtain the latest Windows 2000 service pack
The resolution for this problem is also included in Microsoft COM+ Hotfix Rollup 18.1. For more information, click the following article number to view the article in the Microsoft Knowledge Base:
313582 Availability of Windows 2000 Post-Service Pack 2 COM+ hotfix rollup package 18.1

Microsoft Windows XP

To resolve this problem, obtain Microsoft Windows XP COM+ Hotfix Rollup Package 9.For more information, click the following article number to view the article in the Microsoft Knowledge Base:
895200 Availability of Windows XP COM+ Hotfix Rollup Package 9
Warning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall your operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk. After you install the appropriate COM+ hotfix rollup, follow these steps to add the required registry entry:
  1. Obtain the Application ID of the COM+ application from the COM+ catalog. To locate the Application ID, refer to the application properties in COM+ Explorer.
  2. Start Registry Editor.
  3. Locate and then click the following key in the registry:
    HKEY_CLASSES_ROOT\AppID
  4. On the Edit menu, click Add Value, and then add the following registry value:
    Key name: GUID
    Value name: Endpoints
    Data type: REG_MULTI_SZ
    Value data: ncacn_ip_tcp,0,port number
    Notes
    • GUID is the Application ID of the COM+ application that you obtained in step 1.
    • The port number that you specify in Value data must exceed 1024 and must not conflict with well-known ports that other applications on this computer use.
    • You cannot modify the ncacn_ip_tcp,0 part of this key.
  5. Quit Registry Editor.
STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
MORE INFORMATION
For more information about how to obtain a hotfix for Windows 2000 Datacenter Server, click the following article number to view the article in the Microsoft Knowledge Base:
265173 The Datacenter Program and Windows 2000 Datacenter Server Product
For more information about how to install multiple hotfixes with only one reboot, click the following article number to view the article in the Microsoft Knowledge Base:
296861 How to install multiple Windows updates or hotfixes with only one reboot
For more information about how to install Windows 2000 and Windows 2000 hotfixes at the same time, click the following article number to view the article in the Microsoft Knowledge Base:
249149 Installing Microsoft Windows 2000 and Windows 2000 hotfixes
kbWin2000preSP3COMRollup18Fix, Firewall, static port, end point
Properties

Article ID: 312960 - Last Review: 04/05/2005 20:58:00 - Revision: 3.0

  • Microsoft COM+ 1.5
  • Microsoft COM+ 1.0
  • kbbug kbfix kbwin2000presp3fix kbwin2000sp3fix kbsecurity kbdcom KB312960
Feedback