Skip to main content

Hi ,

 

i encounter the error: "Could not load file or assembly 'SWIFT.AssignmentMatrix.Biz, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. An attempt was made to load a program with an incorrect format" when i deployed K2 workflow in DEV enviroment. 

 

At our PTO workflow, i call the method  from Visual Studio Service class: WorkflowService first . At that WorkflowService, i call another method from another Service class : AssignmentMatrixService.

 

I added the relative workflowservice dll and assignmentmatrix dll to under in Dev server K2 bin folder.

I added as reference two dlls in K2 process reference. then i deployed in DEV and tested.

 

Any suggestion for that issue?

 

 

Thanks and best regards,

ZinMar

 

Hi ZinMar,

 

Make sure your assembly wasn't "blocked" by a security setting.  Locate the assembly, right click -> properties -> click "Unblock" if it's present.


Perhaps Fusion logs will give you some additional details:


 


http://www.hanselman.com/blog/BackToBasicsUsingFusionLogViewerToDebugObscureLoaderErrors.aspx


Reply