I’ve a number of Sequences I’ve created where I’ve invoked it to make it more managable.
Recently reinstalled UiPath due to issues whereby very basic activities werent being recognised - despite having the latest packages available.
After a fresh install that was overcome, but now it won’t invoke any work flow.
I created a test sequence showing a message message box and attempted to invoke it. Lo and behold I get this error:
25.0.157-cloud.18912+Branch.release-s157.Sha.7489f58f146d342879812d8004994f9c67c3982f.7489f58f146d342879812d8004994f9c67c3982f
Source: Test - Invoke Workflow File (Test.xaml)
Message: Could not load file or assembly ‘Completed - Invoice - Copy_Test, Culture=neutral, PublicKeyToken=null’. The system cannot find the file specified.
Exception Type: System.IO.FileNotFoundException
System.IO.FileNotFoundException: Could not load file or assembly ‘Completed - RPA_AC_1122 Albion Invoicing - Copy_Test, Culture=neutral, PublicKeyToken=null’. The system cannot find the file specified. at System.Reflection.RuntimeAssembly.InternalLoad(AssemblyName assemblyName, StackCrawlMark& stackMark, AssemblyLoadContext assemblyLoadContext, RuntimeAssembly requestingAssembly, Boolean throwOnFileNotFound)
at System.Activator.CreateInstanceInternal(String assemblyString, String typeName, Boolean ignoreCase, BindingFlags bindingAttr, Binder binder, Object args, CultureInfo culture, Object activationAttributes, StackCrawlMark& stackMark)
at System.Activator.CreateInstance(String assemblyName, String typeName)
at UiPath.MapFilePathToActivity_93063903935340c8aab522ec692cb083.MapFilePathToActivity(String relativePath)
at UiPath.Executor.WorkflowLoader.<>c__DisplayClass13_0.b__0(WorkflowFile workflowFile)
at System.Collections.Concurrent.ConcurrentDictionary2.GetOrAdd(TKey key, Func
2 valueFactory)
at UiPath.Executor.InProcessRunner.BeginExecute(AsyncCallback callback, Object state)
at UiPath.Core.Activities.ExecutorInvokeActivity.BeginExecute(AsyncCodeActivityContext context, AsyncCallback callback, Object state)
at System.Activities.AsyncCodeActivity.InternalExecute(ActivityInstance instance, ActivityExecutor executor, BookmarkManager bookmarkManager)
at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor executor, BookmarkManager bookmarkManager, Location resultLocation)
I’ve deleted the Project.json, loaded it back up again and recompiled.
Even wound the UiPath.System.Activities to 24.3.1 but that doesen’t work.