Error in UiPrime activity

Hello everybody!

I want to connect to the SAP system with the UiPrime package. But there is this error:

RemoteException wrapping System.Runtime.InteropServices.COMException: (Exception from HRESULT: 0x80010105 (RPC_E_SERVERFAULT))
at System.RuntimeType.ForwardCallToInvokeMember(String memberName,
BindingFlags flags,
Object target,
Int32 aWrapperTypes,
MessageData& msgData)
at sapfewse.ISapTextFieldTarget.set_Text(String )
at UiPrime.SAPCore.SAPGui.CreateConnection(String description,
String user,
String password,
String language)
at UiPrime.SAP.Administrative_Objects.CreateConnection.Execute(CodeActivityContext context)
at System.Activities.CodeActivity.InternalExecute(ActivityInstance instance,
ActivityExecutor executor,
BookmarkManager bookmarkManager)
at System.Activities.ActivityInstance.Execute(ActivityExecutor executor,
BookmarkManager bookmarkManager)
at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor executor,
BookmarkManager bookmarkManager,
Location resultLocation)

HI,

I do not know how UiPrime activity is working and designed, but from the error message. The solutions should be pretty straight forward.

The SAP Issue with Exception from HRESULT looks like disabled scripting. Be careful with the RZ11 settings.

Please check the latest documentation: Configuration Steps

Best regards, Lev