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

Question

Question

"Could not load file or assembly 'DotNetZip'" SDK error in workflow.

asked on April 8, 2019

The following error is occurring in an SDK making use of Ionic.Zip.  I have checked the references and DotNetZip is located exactly where the references have it stated to be [C:\Program Files\Laserfiche\Laserfiche Workflow 10.2\SKD\DotNetZip.dll]

"Could not load file or assembly 'DotNetZip, Version=1.13.3.0, Culture=neutral, PublicKeyToken=6583c7c814667745' or one of its dependencies. The system cannot find the file specified."

 

As far as I can tell it looks like the dependencies it requires are included in .Net 4.0+ and the box this is running on has 4.5. I'm reluctant to start chucking other versions of .Net at it. The VC++ redistributable is also present.

 

Any ideas about this error or how to resolve it?

0 0

Replies

replied on April 8, 2019

Hi Chris,

You must register the library to use in Workflow Administration Console. (Scripting Properties)

and reference it in the script.

 

https://answers.laserfiche.com/files/downloader/146899

 

regards,
Marco.

0 0
replied on April 8, 2019

Hi Marco,

Please see below, this is (and already was) the case for the DotNetZip library.

0 0
replied on April 8, 2019

Try moving it to Workflow's installation folder: C:\Program Files\Laserfiche\Laserfiche Workflow 10.2

0 0
replied on March 11, 2020 Show version history

Did you ever get this to work? I'm having the same problem (actually with the exact same library lol)

 

EDIT: Working for me now. For anyone else having issues with this, it looks like you might need to restart the server after you've registered the dll.

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

Sign in to reply to this post.