Groups | Blog | Home
all groups > dotnet remoting > january 2005 >

dotnet remoting : Passing an interface returned from Activator.GetObject to a constructor


Joe
1/28/2005 10:56:03 PM
The constructor takes a param of type of the interface. This works fine when
running locally, referencing the dll directly. When removing the reference
and calling remotely I get an error:
An unhandled exception of type 'System.MissingMethodException' occurred in
mscorlib.dll
Additional information: Member not found.

My parameter looks like this when inspected:
+ [1] {System.Runtime.Remoting.Proxies.__TransparentProxy}
System.Runtime.Remoting.Proxies.__TransparentProxy

Joe
1/29/2005 11:31:45 AM
Never mind - I fixed it.
For those of you who may be wondering the problem was caused my the
interface. I changed my interface to an abstract class and all is fine.


[quoted text, click to view]

AddThis Social Bookmark Button