Hello all,
We have different processes which had been designed and tested successfully. Even from Test Orchestrator the trigger was running fine and the process did, what it should do.
We published the processes on the productive Orchestrator and also there the processes are running fine for some time. Then suddenly the start crashes do to the following error message:
"Unable to connect to the SAP Scripting Interface. Check if the correct executable is selected or try increasing the value of NumberOfRetries and/or RetryInterval.
RemoteException wrapping System.ApplicationException: Unable to connect to the SAP Scripting Interface. Check if the correct executable is selected or try increasing the value of NumberOfRetries and/or RetryInterval. —> RemoteException wrapping System.Runtime.InteropServices.COMException: Cannot find SAP Scripting in ROT
at UiPath.UiSystemClass.OpenSapConnection(String connectionName)
at UiPath.Core.Activities.SAP.Logon.<>c__DisplayClass27_0.b__0()
— End of inner exception stack trace —
at UiPath.Core.Activities.ObsoleteTaskAsyncCodeActivity`1.EndExecute(AsyncCodeActivityContext context, IAsyncResult result)
at System.Activities.AsyncCodeActivity.System.Activities.IAsyncCodeActivity.FinishExecution(AsyncCodeActivityContext context, IAsyncResult result)
at System.Activities.AsyncCodeActivity.CompleteAsyncCodeActivityData.CompleteAsyncCodeActivityWorkItem.Execute(ActivityExecutor executor, BookmarkManager bookmarkManager)
— End of stack trace from previous location where exception was thrown —
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at UiPath.Executor.BaseRunner.EndExecute(IAsyncResult result)
at UiPath.Executor.InProcessRunner.EndExecute(IAsyncResult result)
at UiPath.Core.Activities.ExecutorInvokeActivity.EndExecute(AsyncCodeActivityContext context, IAsyncResult result)
at System.Activities.AsyncCodeActivity.System.Activities.IAsyncCodeActivity.FinishExecution(AsyncCodeActivityContext context, IAsyncResult result)
at System.Activities.AsyncCodeActivity.CompleteAsyncCodeActivityData.CompleteAsyncCodeActivityWorkItem.Execute(ActivityExecutor executor, BookmarkManager bookmarkManager)"
If I trigger the process then again manually, it can work, or it can crash as well. One phenomen I faced: If I run the process manually, while logged in to the executing robot - the process is always running without any problems and doing it’s job.
Does anyone has an idea, why and where this problem could come from?
Thank you!