TransactionNumber is initialized to 1
This is from the UiPath Studio log:
12:48:33.5657 => [ERROR] [UiPath.Studio] [139] RemoteException wrapping System.Exception: Cannot evaluate âTransactionNumber>1â at current context. â> RemoteException wrapping System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. â> RemoteException wrapping System.InvalidOperationException: Compilation failures occurred:
âSystem.Activities.Statements.StateMachineEventManagerâ is inaccessible due to its protection level Inconsistent accessibility: property type âSystem.Activities.Statements.StateMachineEventManagerâ is less accessible than property â__evalWorkflow_CompiledExpressionRoot.__evalWorkflow_CompiledExpressionRoot_TypedDataContext1.EventManagerâ âSystem.Activities.Statements.StateMachineEventManagerâ is inaccessible due to its protection level Inconsistent accessibility: property type âSystem.Activities.Statements.StateMachineEventManagerâ is less accessible than property â__evalWorkflow_CompiledExpressionRoot.__evalWorkflow_CompiledExpressionRoot_TypedDataContext1_ForReadOnly.EventManagerâ
Complete results are contained in the Data property of this exception. Please correct the errors in the source and retry the Load.
at System.Activities.XamlIntegration.ActivityXamlServices.Compile(IDynamicActivity dynamicActivity, LocationReferenceEnvironment environment)
â End of inner exception stack trace â
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object parameters, Object arguments)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object parameters, CultureInfo culture)
at ReflectionMagic.PrivateReflectionDynamicObjectBase.InvokeMethodOnType(Type type, Object target, String name, Object args, Type typeArgs)
at ReflectionMagic.PrivateReflectionDynamicObjectBase.TryInvokeMember(InvokeMemberBinder binder, Object args, Object& result)
at CallSite.Target(Closure , CallSite , Object , DynamicActivity , Object )
at System.Dynamic.UpdateDelegates.UpdateAndExecuteVoid3[T0,T1,T2](CallSite site, T0 arg0, T1 arg1, T2 arg2)
at UiPath.Activities.Debugger.ActivityXamlServicesProxy.Compile(DynamicActivity dynamicActivity)
at UiPath.Activities.Debugger.CsharpRValueEvaluator.Evaluate(String expressionString, Type locationValueType, IList1 referencedAssemblies, IList
1 includedNamespaces)
â End of inner exception stack trace â
at UiPath.Activities.Debugger.CsharpRValueEvaluator.Evaluate(String expressionString, Type locationValueType, IList1 referencedAssemblies, IList
1 includedNamespaces)
at UiPath.Activities.Debugger.DebugInfo.EvaluateExpression(String expressionString, IList1 referencedAssemblies, IList
1 includedNamespaces, ExpressionLanguage expressionLanguage)
at UiPath.Executor.Tracking.DebugTrackingParticipant.EvaluateExpressionInternal(String expression)
at UiPath.Executor.Tracking.DebugTrackingParticipant.EvaluateExpression(String expression)
at UiPath.Executor.DebuggerPlugin.EvaluateExpression(String expression, CancellationToken cancellationToken)
at lambda_method(Closure , Object , Object )
at UiPath.CoreIpc.Server.Method.Invoke(Object service, Object arguments)
at UiPath.CoreIpc.Server.<>c__DisplayClass7_3.<.ctor>g__MethodCall|8()
at UiPath.CoreIpc.Server.<>c__DisplayClass7_3.<<-ctor>g__InvokeMethod|6>d.MoveNext()
â End of stack trace from previous location where exception was thrown â
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at UiPath.CoreIpc.Server.<>c__DisplayClass7_1.<<-ctor>g__HandleRequest|3>d.MoveNext()
â End of stack trace from previous location where exception was thrown â
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at UiPath.CoreIpc.Server.<>c__DisplayClass7_2.<<-ctor>b__5>d.MoveNext()
â End of stack trace from previous location where exception was thrown â
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at UiPath.CoreIpc.Helpers.d__9`1.MoveNext()