Skip to main content
Nintex Community Menu Bar

Could not load file or assembly 'SourceCode.Workflow.Client'

  • Mar 6, 2009 6:47 AM UTC
  • 7 replies
  • 96 views
  • Translate All

Forum|alt.badge.img+2

I've build a little webapplication to start a workflow from a clean machine. When deployed i get the following error:


'Could not load file or assembly 'SourceCode.Workflow.Client', Version=4.0.0.0,........' or one of its dependencies'. I've got


the dll's that the compiler needs to create the application in the same location as the application. In this case 'SourceCode.Workflow.Client.dll,


SourceCode.SmartObjects.Client.dll and SourceCode.SmartObjects.Services.ServiceSDK.dll.


What am i missing here or what do i need to install further? The OS is Win2003 with all the latest updates/SP's installed.


 


Thanks


Marco

7 replies

Forum|alt.badge.img+3
  • Mar 6, 2009 10:03 AM UTC

This could be caused by .Net Framework 3.0 is not installed on the system, if .Net Framework 3 is availible on the system then icheck to see if the Microsoft Visual C++ 2008 Redistributable Package (x86) is installed, if it is not it is freely availible from microsoft(http://www.microsoft.com/downloads/details.aspx?FamilyID=9b2da534-3e03-4391-8a4d-074b9f2bc1bf&displaylang=en)


Let me know if this solves your issue.


Cheers


Piet

Translate

Forum|alt.badge.img+2
  • Author
  • Mar 6, 2009 10:24 AM UTC

Hi PieterVR, thanks for the info. 


Framework 3 was already installed, the C++ 2008 redistributable i installed earlier but no results. Maybe i need to reboot the machine. Gonna check it out now.


Marco

Translate

Forum|alt.badge.img+2
  • Author
  • Mar 6, 2009 1:08 PM UTC

The reboot didn't do the trick. I needed to install the K2.Blackpearl Server without configuring it to get my application to work. Can anyone explain this to me?


Thanks Marco

Translate

Forum|alt.badge.img+1
  • Mar 6, 2009 2:08 PM UTC
Is the assembly in the GAC?
Translate

Forum|alt.badge.img+2
  • Author
  • Mar 6, 2009 2:15 PM UTC
Not my assembly. Maybe there is a K2 assembly that needs to be in the GAC.
Translate

Forum|alt.badge.img+3
  • May 20, 2009 10:35 AM UTC

Hi Piet,


 


Many thanks for your post. One of colleague had the same issue. We resolved it by Installing "Microsoft Visual C++ 2008 Redistributable Package".


 


Credit goes to you :)


 


Cheers


Nadun

Translate

Forum|alt.badge.img+4

Read it and specially Step 7:

https://help.k2.com/onlinetraining/tutorials/default.htm#Resources/Projects/WorkflowRuntimeAPI/WorkflowClientAPI.htm

 

This issue is solved at my end

Previously I was the SourceCode.Workflow.Client.dll from server.

Image 1 is showing dlls available on my server machine

16598i19BADFED47B5C91C.png

 

Dlls from server machine aer not working but when I copied the dll from my local machine then it worked as I had installed client tools of K2 on my machine. The date of the dll is not changed on my machine but it is changed on server machine by K2 server.

Translate