System.IO.System.IO.FileLoadException: Could not load file or assembly: Could not load file or assembly - Designer - Foundation 23.2 - Foundation 23.2 - Ready - Hyland RPA - external

Hyland RPA Designer

Platform
Hyland RPA
Product
Designer
Release
Foundation 23.2
License

Issue: The following error message appears:

System.IO.FileLoadException: Could not load file or assembly

Reason: The activity version cannot be loaded for some reason.

Solution: Do the following:

  1. Check whether the activity version used is located in the correct format inside the activity folder of the Hyland RPA Designer and is not nested:

    ...\Activities\AM.Core.Activities.1.3.1\AM.Core.Activities.1.3.1

  2. Check if DLLs are blocked. This might be the case if the activity version used was downloaded. There are two possible ways to solve this:

    1. Right click on the DLL, Properties, Unblock button.
    2. Start Windows "Powershell" from inside the file explorer and use the command "get-childitem "C:\AnotherMonday\Activities\AM.Core.Activities.xxxxs" | fire unblock-file" (for more details you can have a look at https://stackoverflow.com/a/45221477/5066962.