Could not load file or assembly

  • 5 March 2015
  • 1 reply
  • 4 views

Badge +4

Hi,

 

I am working with K2 blackpearl 4.6. and sharepoint 2013.

i have in my workflow a code reference activity that refer to a custom dll build with visual studio 2013.

when i try the workflow , an error appear in the event viewer :

 

could not file or assembly 'MoveDocumentsl,Version 1.0.0.5,Culture=neutral, PublicKeyToken=null' or one of its dependencies'.InnerException: Error occured while executing step 'Call fnMoveDocs(DocsIDs, AbsoluteProjectURL, RelativeProjectURL, SubmittalID)'. InnerException: Could not load file or assembly 'MoveDocuments, Version=1.0.0.5, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.

 

I added the custom dll to the GAC with no luck , please advise

 

 


1 reply

Badge +13

Is the DLL compiled with anyCPU and NOT x86?    also with .NET 4.x if your BP is configured for 4.x?

 

Also you need to restart your BP Service when you update the DLL in GAC to pick up the new DLL.

Reply