I am new to Remoting. Could somebody help please?
I have remote object (MyObject) that is server activated. It has a method : lets say MyMethod();
When I activate the object, everything works well except when I pass parameters to the object which are custom data type.
For example if I do

MyObject.MyMethod(string c) - WORKS WELL

However if I do
MyObject.MyMethod2(customClass MyClass) – it gives me security error.

Any suggestions please???