[Mono-bugs] [Bug 504886] New: Permission denied when invoking explicitly defined method on MS-created MarshalByRefObject instance
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Mon May 18 14:28:33 EDT 2009
http://bugzilla.novell.com/show_bug.cgi?id=504886
Summary: Permission denied when invoking explicitly defined
method on MS-created MarshalByRefObject instance
Classification: Mono
Product: Mono: Runtime
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: Normal
Priority: P5 - None
Component: remoting
AssignedTo: lluis at novell.com
ReportedBy: gert.driesen at pandora.be
QAContact: mono-bugs at lists.ximian.com
Found By: ---
Created an attachment (id=292843)
--> (http://bugzilla.novell.com/attachment.cgi?id=292843)
client.cs
User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1;
Trident/4.0; .NET CLR 2.0.50727; .NET CLR 1.1.4322; .NET CLR 1.0.3705; .NET CLR
3.0.04506.30; .NET CLR 3.0.04506.590; .NET CLR 3.0.04506.648; .NET CLR
3.5.21022; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)
When invoking methods that are explicitly implemented on a
MarshalByRefObject-derived remoted object that is created on a server running
MS.NET, then a RemotingException exception is thrown.
Reproducible: Always
Steps to Reproduce:
1. compile the attached sources:
gmcs /target:library interface.cs
gmcs /r:interface.dll /r:System.Runtime.Remoting.dll client.exe
gmcs /r:interface.dll /r:System.Runtime.Remoting.dll server.exe
2. run server.exe on the MS CLR.
3. run client.exe on Mono.
Actual Results:
Unhandled Exception: System.Runtime.Remoting.RemotingException: Permission
denie
d: cannot call non-public or static methods remotely.
Server stack trace:
at
System.Runtime.Remoting.Channels.ChannelServices.DispatchMessage(IServerCh
annelSinkStack sinkStack, IMessage msg, IMessage& replyMsg)
Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke
(System.Runtime.Rem
oting.Proxies.RealProxy rp, IMessage msg, System.Exception& exc,
System.Object[]
& out_args) [0x001d2] in
d:\development\projects\mono\mcs\class\corlib\System.Ru
ntime.Remoting.Proxies\RealProxy.cs:245
Expected Results:
Successful execution.
--
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