By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,052 Members | 1,456 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.

Granting reflection rights to remoting server object

P: n/a
Jan
How do I grant permission to use reflection by a remoting server object?

I'm trying to use Type.InvokeMethod in the server object class but I get a
MissingMethodException: "Method '<namenot found.".

If I call the same code from the UI-thread in the server there's no problems.
Oct 3 '06 #1
Share this Question
Share on Google+
1 Reply


P: n/a
You might need to add reflection permissions to your code policy to
grant access to member information.

Check out the ReflectionPermissionFlag:
http://msdn2.microsoft.com/en-us/lib...ssionflag.aspx

Jan wrote:
How do I grant permission to use reflection by a remoting server object?

I'm trying to use Type.InvokeMethod in the server object class but I get a
MissingMethodException: "Method '<namenot found.".

If I call the same code from the UI-thread in the server there's no problems.
Oct 3 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.