Click here to Skip to main content
15,891,184 members
Please Sign up or sign in to vote.
5.00/5 (1 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
Updated 4-Dec-12 3:57am
v2
Comments
Ofir Makmal 4-Dec-12 17:19pm    
Hi,
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?
Peaches2014 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)
Peaches2014 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)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900