[Mono-bugs] [Bug 504886] Permission denied when invoking explicitly defined method on MS-created MarshalByRefObject instance

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri May 22 15:06:51 EDT 2009


User robertj at gmx.net added comment

Robert Jordan <robertj at gmx.net> changed:

           What    |Removed                     |Added
           Severity|Normal                      |Minor

--- Comment #4 from Robert Jordan <robertj at gmx.net>  2009-05-22 13:06:51 MDT ---
Now this is a rather funny bug, except that I took me some time to figure out
what's going on:

If the client & server assemblies are in the same directory, the client is
loading the server assembly and it is detecting the server implementation where
the offending method is implemented explicitly. Then it performs the call based
on server's real implementation metadata (IWhatever.Execute) in place of the
interface (Execute).

Although I don't have a fix right now, it is easy to workaround the issue:
separate client & server assembly on client's side.

Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

More information about the mono-bugs mailing list