Click here to Skip to main content
13,299,007 members (39,941 online)
Rate this:
Please Sign up or sign in to vote.
See more:
I have 2 programs that is being used in 2 different work flows. They both build fine and will run fine except when I have program 1 in place and put program 2 in place for testing, I break program 1.
Here is what is happening.

I build program 1, put program 1 on server 1 and run work flow1 that calls the program1 which processes fine. Then I put program 2 on server 1 and start a workflow2 that calls program2 I get the following error:

System.TypeLoadException: Could not load type 'WFPath.Class1' from assembly 'ParToChildWF,

If I rebuild program2 and copy the dll's to server1 run workflow2 runs fine but workflow1 will break and I get the message
System.TypeLoadException: Could not load type 'ParToChildWF.Class1' from assembly 'WFPath

What am I missing? Thanks for any help you may offer.

Added information:

program1 is WFPath
program2 is ParToChildWF
Posted 4-Dec-12 4:34am
Updated 4-Dec-12 4:57am
Ofir Makmal 4-Dec-12 17:19pm
Couple of questions if you may:
What kind of executable is this? WF host? console app?
Both programs are two different executables? (two different processes?)
Where does class1 is located?
Are those two projects used a shared assembly? if they does, where is it located?
The two programs are in two different folders?
Peaches2010 6-Dec-12 9:33am
It's probably easier to send part of the code. They are class

namespace WFPath
public class Class1

namespace ParToChildWF
public class Class1
Yes they are 2 different executables.
My inexperience is showing...I'm not sure where I need to look for a shared assembly. However, they are not suppose to be sharing.
The two programs are in 2 different folders

Ofir Makmal 6-Dec-12 10:28am
You are sending data via Class1 between those two programs? (serialization of some sort)
Peaches2010 6-Dec-12 10:54am
Maybe I'm not understanding. But it's 2 different solutions/projects/namespaces/Class1 in 2 different folders.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web01 | 2.8.171207.1 | Last Updated 4 Dec 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100