How to Fix The Remote Procedure Call Failed: Solved 2021

Abdullah Khan
2 min readMar 15, 2021

Remote Procedure Call (RPC) is a computer communication protocol that allows the program running on one computer to call subprograms on another computer, without coding for remote interaction. In the object-oriented programming paradigm, RPC calls are represented by remote invocation or remote method invocation (RMI). In simple terms, RPC is a method to invoke a remote known procedure through the network. RPC is a design and concept, but not a specific technology. RPC involves three key points:

  1. Communication Protocol: Remote invocation requires the support of bottom-layer network communication protocols that can implement network transmission, for example, HTTP/TCP and even UDP.
  2. Coding Protocol: The client and server use streams to communicate with each other, so the serialization and deserialization processes are involved. The client and server must use the same serialization protocol.
  3. Method Mapping: To determine the method used by the client to invoke the remote server, the server (or a third-party service discovery center) must maintain a method list for service provision.

I had the same problem and I fixed it.

  • Open search bar and type ‘Services’. Open it.
  • Once in services, search for Remote Procedure Call and Remote Procedure Call Locator. Set both of them to Automatic. Ensure the Service Status is Running. If not, Start those two services. Check the image below:
  • Now check if both DCOM Server Process Launcher and RPC Endpoint Mapper are set to Automatic. If not, set them to Automatic.

Done! Restart your system if required.

--

--