By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,052 Members | 1,551 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,052 IT Pros & Developers. It's quick & easy.

InvokeMember problem with remoting: method not found!

P: n/a
When I use Type.InvokeMember from my remoting server object I get a
MissingMethodException: "Method '<namenot found.".

My code works when the code is called normally, but not when executed from
the remoting server object.

Yesterday I had it working but then I removed a security attribute from my
code because I didn't thing it was necessary (it came from an example I
The attribute was set on both server and client main-method but I don't know
which one made it work. I also had it placed on the method creating the
server channel and in the client on the method that makes the conenction.

I was very stupid not to check it all in when it worked and I can't find the
example code again either.

Can anybody help me?

My code can be found in the post "Remoting beginner: Whats missing in this

PS. The debugger also acts strangely when hitting setting breakpoint in
server object now.
Sep 28 '06 #1
Share this Question
Share on Google+
1 Reply

P: n/a
I think I found the attribute but I still can't get it to work.

I'm now using the attribute [SecurityPermission( SecurityAction.Demand )]
several places without any luck.

Any hints are welcome.


Sep 28 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.