RPC Error -5

Unable to use Emergin with Windows XP SP2

(XP service pack 2 is not supported by Emergin, use this information at your own risk. The following information is from a Microsoft Knowledgebase article.)

 

CAUSE

1. This behavior occurs because of changes to the Remote Procedure Call service in Windows XP SP2. By default, the Restructure registry entry is turned on in Windows XP SP2. This registry entry restricts access to all remote procedure call interfaces.

2. The built in firewall blocks remote clients from connecting to the server

Errors Reported: RPC error -5, RPC 5, The Emergin server service will not start. All remote Emergin clients fail connecting to the Emergin server.

 

WORKAROUND

Both steps below must be followed. This must be applied to the Emergin server and all Emergin clients installed on XP SP2.

 

Step 1

Warning!: If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.

Warning!: This workaround may make your computer or your network more vulnerable to attack by malicious users or by malicious software such as viruses. We do not recommend this workaround but are providing this information so that you can implement this workaround at your own discretion.

*** Use this workaround at your own risk. ***

1. Click Start, click Run, type regedit, and then click OK.

2. Locate and then click the following registry subkey:

HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows NT\RPC

 

(If this subkey does not exist, follow these steps:)

 - 1) Locate and then click the following registry subkey:

  HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows NT

 - 2) On the Edit menu, point to New, and then click Key.

 - 3) Type RPC as the subkey name, and then press ENTER.

 - 4) Right-click RPC, point to New, and then click DWORD Value.

 - 5) Type RestrictRemoteClients as the entry name, and then press ENTER.

 

3. Right-click the RestrictRemoteClients entry, and then click Modify.

4. In the Value Data box, type 0 (zero), and then click OK.

5. Quit Registry Editor.

6. Restart your computer.

NOTE: To turn the RestrictRemoteClients registry entry back on, set the value to 1 or to 2, and then restart your computer. By default, the value of the RestrictRemoteClients registry entry is 1 in Windows XP SP2.

 

Step 2

Disable the "Windows Firewall" in control panel, administrative tools, services, by setting the status to disabled. Remote clients will be refused until the firewall is turned off with this method.