Why do I receive the "The RPC server is unavailable..." exception when exporting to Excel?
Environment:
All supported versions
Issue:
Exception received when exporting to Excel:
"The RPC server is unavailable. (Exception from HRESULT:<hexadecimal number>)"
Resolution:
"The RPC server is unavailable" is a fairly common error in Windows that can occur in a wide variety of situations, most of them involving communication between two machines across a network. It can also occur during local operations on a machine.
Remote Procedure Call (RPC) is a mechanism that allows Windows processes to communicate with one another, either between a client and server across a network or within a single system. Numerous built-in Windows components utilize RPC. RPC uses dynamic ports for communication between systems, but a static port (TCP port 135) must also be used as a starting point for communication. The RPC endpoint mapper listens on this static port.
For detailed instructions on how to troubleshoot the error please use: Troubleshooting "RPC Server Unavailable" Errors.