[Mono-devel-list] RemotingConfiguration.Configure

Lluis Sanchez lluis at ximian.com
Sat Nov 1 12:01:45 EST 2003


Hi

RemotingConfigure.Configure and TypeFilterLevel are not yet supported,
but I hope they will soon.

Lluis.

On dv, 2003-10-24 at 06:04, Cezar Nasui wrote:o
> Hi,
> 
> I need to set the TypeFilterLevel to Full for a Remoting application and
> I tried to use a configuration file but when I called the
> RemotingConfigure.Configure("server.config") I get
> 
> > Unhandled Exception: System.NotImplementedException: The requested
> >feature is not yet implemented
> >in <0x0002a> System.Runtime.Remoting.RemotingConfiguration:Configure
> >(string)
> 
> What is the status of this feature? 
> 
> 
> Another method I found was to try programmaticaly to set TypeFilterLevel
> to Full
> for a BinaryServerFormaterSinkProvider but I get this error
> >...'TypeFilterLevel.Full' could not be found...
> though I add a reference to
> System.Runtime.Serialization.Formatters.Binary and
> System.Runtime.Serialization.Formatters
> 
> What this could be?
> 
> The remoting application, without special configuration, returns 
> with Mono :
> > Connection refused 
> on Windows :
> > Because of security restrictions, the type
> >System.Runtime.Remoting.ObjRef
> > cannot be accessed.
> 
> Reading on MSDN I found that, for security reasons, starting with 1.1
> the TypeFilterLevel is set by default to Basic which allows to access of
> MarshalByRefObjects of primitive types. If we want to access a custom
> type we have to change the level to Full.
> 
> 
> I use :
> 
> Mono JIT compiler version 0.28, (C) 2002, 2003 Ximian, Inc.
> Mono C# compiler version 0.27.0.0
> 
> Cezar
> 
> 
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list




More information about the Mono-devel-list mailing list