Click here to Skip to main content
11,640,125 members (65,738 online)
Rate this: bad
Please Sign up or sign in to vote.
See more: C#
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 3:34am
Edited 4-Dec-12 3:57am
Ofir Makmal at 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 at 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 at 6-Dec-12 10:28am
You are sending data via Class1 between those two programs? (serialization of some sort)
Peaches2010 at 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
0 Suvendu Shekhar Giri 215
1 Mika Wendelius 188
2 CPallini 167
3 Sergey Alexandrovich Kryukov 139
4 OriginalGriff 125

Advertise | Privacy | Mobile
Web01 | 2.8.150731.1 | Last Updated 4 Dec 2012
Copyright © CodeProject, 1999-2015
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