[Mono-devel-list] RemotingConfiguration.Configure

Cezar Nasui cezar.nasui at polymtl.ca
Fri Oct 24 00:04:35 EDT 2003


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





More information about the Mono-devel-list mailing list