cancel
Showing results for 
Search instead for 
Did you mean: 

Blue prism PDF Toolkit VBO - System.Colletions

Maxy
Level 2

Hi, I got the PDF Toolkit VBO, Downloaded all the .dll from the BP Guide but when I try to run the activity "PDFToDOCX", I got an error saying Jose.JWT threw an exception. -> System.IO.FileNotFoundException: Could not load file or assembly "System.Collections", Version=4.0.11.0 There also another error for 4.0.10.0, I tried to add the System.Collections.dll but still getting the same error. Anyone have an idea?

BP Version: 6.10.1​

3 REPLIES 3

GeoffHirst
Staff
Staff
Hi Maxy,

Thanks for being an SS&C Blue Prism customer and for using Blue Prism. With Blue Prism 6.10+, the dependencies sometimes differ from the dependencies used by Blue Prism. Now, to determine the dependencies used by a dll, I use a tool called .NET Dependency Walker by Workshell Ltd. this allows you to select a DLL and then understand what DLL's it uses and the versions. So, the first point to investigate is to determine what version of Jose.JWT you are using. The version I have working with 6.10.4 is 2.4.0.0.

If we can establish this, and then we can go from there.

Thanks for using Blue Prism.

regards
Geoff Hirst
Geoff Hirst Senior DX Engineer - Digital Exchange - EMEA SS&C Blue Prism

Maxy
Level 2
Hi Geoff, I'm also using 2.4.0.0 for Jose.JWT

GeoffHirst
Staff
Staff
Hi Maxy,

OK, that's a start. Now lets be absolutely sure do you have all the dlls and their dependencies installed into the Blue Prism Automate folder? Which in the default instance is
C:\Program Files\Blue Prism Limited\Blue Prism Automate.

The PDFToolkit has a number of dependencies and some of those have dependencies of their own. The problem comes when we get to the dependencies that are part of the .NET framework that Blue Prism also uses. So, Blue prism might use x.dll version 1.2.3.4 but PDFToolkit might use x.dll version 1.2.3.3. When you are using Visual Studio, to overcome this problem we can use an assembly redirect. This isn't possible with Blue Prism so we need to trap an event. However, at this time, I just think we have a versioning issue and its not always down to the file that is listed in the error, it can be a dependency of that file. The interesting thing I noted was that my version of Jose.JWT doesn't use System.Collections. I need to ask now, do you have your Adobe credentials setup for the PDF service as this product isn't free.

Let me know how you get on working through the above.

regards
Geoff Hirst
Geoff Hirst Senior DX Engineer - Digital Exchange - EMEA SS&C Blue Prism