The RPC server is unavailable. (Exception from HRESULT: 0x800706BA)

Ask general questions here.
Prasanth
Posts: 3
Joined: Tue Jan 29, 2019 11:22 am

The RPC server is unavailable. (Exception from HRESULT: 0x800706BA)

Post by Prasanth » Wed Feb 13, 2019 7:29 am

Hi,

I am getting the below exception while executing the coded script.

The RPC server is unavailable. (Exception from HRESULT: 0x800706BA)
Show/Hide Stacktrace
at System.RuntimeType.ForwardCallToInvokeMember(String memberName, BindingFlags flags, Object target, Int32[] aWrapperTypes, MessageData& msgData)at Microsoft.Office.Interop.Excel.Range.get_Cells()at Fusion.Codemodule.GlobalFunLibrary.fn_SelectData(String cname, String scenarioValue) in d:\Fusion\Libraries\GlobalFunLibrary.cs:line 1036at Fusion.Codemodule.GlobalFunLibrary.fn_SelectScenario() in d:\Fusion\Libraries\GlobalFunLibrary.cs:line 994at Fusion.TestScripts.Task_Config.Ranorex.Core.Testing.ITestModule.Run() in d:\Fusion\TestScripts\Task_Config.cs:line 69at Ranorex.Core.Testing.TestModuleLeaf.RunInternal(DataContext parentDataContext, Int32 iteration, Int32 iterationCount, Boolean skipIteration)

Please help to resolve the issue.

Thanks,
Prasanth

User avatar
odklizec
Ranorex Guru
Ranorex Guru
Posts: 7470
Joined: Mon Aug 13, 2012 9:54 am
Location: Zilina, Slovakia

Re: The RPC server is unavailable. (Exception from HRESULT: 0x800706BA)

Post by odklizec » Wed Feb 13, 2019 8:41 am

Hi,

I'm afraid, without seeing the code and exact line where it failed, it's next to impossible to tell what's wrong. However, a quick google search reveals several possible causes of this problem and none is related to Ranorex. The most probable reason appears to be a firewall, blocking the connection...
https://sqlpowershell.blog/2016/05/25/t ... x800706ba/
https://stackoverflow.com/questions/129 ... 0x800706ba
https://www.netwrix.com/kb/1630
Pavel Kudrys
Ranorex explorer at Descartes Systems

Please add these details to your questions:
  • Ranorex Snapshot. Learn how to create one >here<
  • Ranorex xPath of problematic element(s)
  • Ranorex version
  • OS version
  • HW configuration