Last post Mar 06, 2007 11:44 AM by crixo
Feb 23, 2007 08:22 AM|crixo|LINK
I wrote a C# application that run under com+
I tried to create a class that I use as parameter in a method of this com+ applicaton.
I marked this class as serializable and I also implemetnded ISerializable.
I can register and use under com+ so far I try to use that method. In that case I recive an error:
A first chance exception of type 'System.Runtime.Serialization.SerializationException' occurred in System.EnterpriseServices.dll
which is the rule to write custom class that you can use as parameter type into an object that run under com+?
Feb 26, 2007 04:51 PM|crixo|LINK
Maybe I founded the problem, but not the solution :-)
I recived that error becuase I didn't registered into the gac my assemply that run under com+
but I cannot register into the gac because if I do frameork doesn't find 2 interop obj to com dll used by c# assembly
So If I don't register into the GAC .net framework find properly 2 interop but doesn't find what it need to serialize custom obj
Mar 06, 2007 11:44 AM|crixo|LINK
i founded also the solution :-)
instead to use vs auto iterop creation, if you create your own iterop with tlbmp.exe tools you can create a strong name iterop using a key and this one can be install into GAC