Question
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
Pegasystems Inc.
JP
Last activity: 17 Sep 2019 8:13 EDT
Robot fails with 'RPC server is unavailable' and keeps failing until restarted
We have a problem wherein Robot does not work again untill runtime is restarted even when we have variety of test data. The error in logs is 'RPC server is unavailable'.
Has anyone experienced this before?
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
![](https://accounts.pega.com/sites/default/files/pega-user-image/257/REG-257204.png?source=PUMINIT)
![](https://accounts.pega.com/sites/default/files/pega-user-image/257/REG-257204.png?source=PUMINIT)
Pegasystems Inc.
US
Please upload logging of this issue to the post. Also, if it works after Runtime is restarted, why doesn't it work the first time runtime is launched? What happens the first time runtime runs?
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
Pegasystems Inc.
JP
It works when we launch Runtime for the first time as well as when we restart Runtime. Problem is sometimes after ending in a failure, it continues to fail with the above error.
Have analysed the error cases, especially the error when it fails for the first time, as this could be the root cause for errors during subsequent runs. But, the error is different each time.
-
Jose Antonio Santiago
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
Tata Consultancy Services
IN
Any update or solution regarding the above issue. Am also facing the same issue now. Please update me.
System.Runtime.InteropServices.COMException (0x800706BA): The RPC server is unavailable. (Exception from HRESULT: 0x800706BA) at Microsoft.Office.Interop.Excel.ApplicationClass.Run(
![](https://accounts.pega.com/sites/default/files/pega-user-image/209/REG-209263.png?source=PUMINIT)
![](https://accounts.pega.com/sites/default/files/pega-user-image/209/REG-209263.png?source=PUMINIT)
Pegasystems Inc.
IN
Hi @BaskarN7 -
Thank you for posting your query in the PSC. This looks like an inactive post and hence, we suggest you create a new post for your query. Click on the Write Post button here. Once created, please reply back here with the URL of the new post.
You may also refer this discussion link as a reference in the new thread.
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
Pegasystems Inc.
JP
Dear Baskar,
The exception simply means that Microsoft Excel is not in a right state where it can be used.
The key is to check the runtime log for the penultimate execution on the Runtime where you are getting the exception. Once that root cause is resolved, the 'RPC Server.....' exception, which is simply occurring as a consequence would go.
Please check the logs. Revert in case you need any help. Would be happy to assist.
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
Pegasystems Inc.
JP
Recently, I have something which leads up to this issue.
If an automation fails while executing a remote procedure call (RPC), such as a VBA macro, we get an exception explicitly saying it. Unless we restart runtime, the subsequent automations which use Excel fail with the error as 'RPC server is unavailable'.
Need to find the root cause for why does it need restarting Runtime in order to be cured.
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
Pegasystems Inc.
JP
Following this up, does anyone have any information regarding the points mentioned below?
- Does the product maintain a record of processes that are started/monitored using Adapters and Connectors while a solution is being loaded in Runtime and is being executed?
- If yes, which I think is the most likely answer, where is it, and how is it managed, as in Update and removal.
Asking this, as I think there is no other way for the Runtime to know about previous failures.
Any input in this regard is highly appreciated.
Thank you,
Best regards,
Mangesh Walhe