You are viewing limited content. For full access, please sign in.

Question

Question

C# Script Runs In editor but fails with error "Could not load file or assembly" when workflow is ran

asked on September 23, 2022

Created a script in the workflow script editor that runs in the editor but when I let workflow run it fails at the script with error:

"Could not load file or assembly 'RestSharp, Version=106.11.7.0, Culture=neutral, PublicKeyToken=598062e77f915f75' or one of its dependencies. The system cannot find the file specified."

Has anyone dealt with this issue? I am the same user as the service account Workflow is running as so security to dll and its dependences shouldn't be an issue. Error only showed up after an Upgrade/Migration from 10.4 to 11.

 

1 0

Replies

replied on September 23, 2022

Justin, consult; Are you performing the execution moment on the same computer?
If it is on a different computer, it is possible that the libraries (.dll) are not the same.
I recommend you review.

For example

2 0
You are not allowed to follow up in this post.

Sign in to reply to this post.