Click here to Skip to main content
11,415,301 members (81,392 online)
Rate this: bad
good
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 4:34am
Edited 4-Dec-12 4:57am
v2
Comments
Ofir Makmal at 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?
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 Sergey Alexandrovich Kryukov 9,270
1 OriginalGriff 7,512
2 Maciej Los 3,710
3 Abhinav S 3,325
4 Peter Leow 3,084


Advertise | Privacy | Mobile
Web03 | 2.8.150427.4 | 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