Share via


Event ID 2 — Remote Procedure Call (RPC) Proxy Configuration

Applies To: Windows Server 2008

Remote Procedure Call (RPC) Proxy enables RPC over HTTP which you can use to make RPC calls using HTTP as the transport. RPC Proxy is required if you are using RPC over HTTP.

RPC over HTTP traffic is protected by standard RPC security and, in addition, it is protected by the tunneling mechanism provided by RPC over HTTP.

Event Details

Product: Windows Operating System
ID: 2
Source: PEventLogProxy
Version: 6.0
Symbolic Name: RPCPROXY_EVENTLOG_VALID_PORTS_ERR
Message: The following ValidPorts registry key could not be parsed: %1. The RPC Proxy cannot load. The ValidPorts registry key might have been configured incorrectly. User Action Verify that the ValidPorts registry value is set correctly. If the value is not correct, edit the registry key to reflect the correct value.

Resolve

Add the missing or corrupted RPC Proxy ValidPorts registry key

The ValidPorts registry key is a REG_SZ entry that contains a list of computers to which the Internet Information Services (IIS) RPC pver HTTP Proxy is allowed to forward remote procedure call (RPC) calls, plus the ports it should use to connect to the RPC servers.

The RPC over HTTP Proxy could not locate a ValidPorts registry key. The ValidPorts registry key is missing or corrupted. RPC consumes any key that begins with ValidPorts. As a result, you can resolve this problem by adding this registry key on the computer that is acting as the RPC over HTTP Proxy.

To perform this procedure, you must have membership in Administrators, or you must have been delegated the appropriate authority.

To fix the RPC over HTTP Proxy ValidPorts registry key:

Caution: Incorrectly editing the registry might severely damage your system. Before making changes to the registry, you should back up any valued data.

  1. Click Start, click Run, and then type regedit. If the User Account Control dialog box appears, confirm that the action it displays is what you want, and then click Continue.
  2. Click HKEY_LOCAL_MACHINE, expand Software, expand Microsoft, and then expand Rpc.
  3. Right-click RpcProxy, point to New, and then click String Value.
  4. Type ValidPortsApplication, where Application is the name of your application, and then press ENTER.
  5. Double-click the new registry key that you entered.
  6. In Value data, type the ValidPorts information.

For more information about the requirements of this entry, see "Restricting RPC over HTTP Calls to Certain Computers" in RPC over HTTP Security (https://go.microsoft.com/fwlink/?LinkId=105653).

For information about configuring this registry key for Microsoft Exchange Server 2003, see How to Configure the RPC Proxy Server to Use Specified Ports for RPC over HTTP (https://go.microsoft.com/fwlink/?LinkId=105654).

Verify

You can verify that the Remote Procedure Call (RPC) over HTTP Proxy service is installed by opening Server Manager and finding the service under Features Summary.

To perform this procedure, you must have membership in Administrators, or you must have been delegated the appropriate authority.

To verify that the Remote Procedure Call (RPC) over HTTP Proxy service is installed:

  1. Click Start, point to Administrative Tools, and then click Server Manager. If the User Account Control dialog box appears, confirm that the action it displays is what you want, and then click Continue.
  2. In the console tree, click Features.
  3. In the details pane, under Features Summary, look for RPC over HTTP Proxy in the list of installed features.

Remote Procedure Call (RPC) Proxy Configuration

Application Server