[Mono-devel-list] Unhandled Exception: System.NotImplementedException: The requested feature is not implemented
Rafael Teixeira
monoman at gmail.com
Mon Dec 6 13:24:34 EST 2004
Carlos clarified:
> In this case it (NotImplementedException) happens because System.Type.GetTypeFromProgID has not been implemented in Mono.
Worse it may NEVER be implemented in Mono, as this is needed only when
trying to find Wrapped COM+ components, or managed classes that has
some metadata that allow then to be wrapped and installed as COM+
components (the current case).
COM+ isn't portable, so probably we will never implement the
supporting classes in mono, or at most we will make them into some
smart stubs that give more detailed error messages, to help people
know about the non-portable code they are trying to use.
Particularly this instance is just calling some locally registered
component as it is passing just a single string parameter. Other
overrides permit to call remote components over DCOM, what is also
unlikely to be implemented in Mono.
Perusing the code, it is just bad/unportable design:
The progID "RKiss.MessageProbe.RemotingEventClass" is attached to a
managed class:
<snip>
[Guid("768DFCE9-279E-4818-8964-FA6D368BAC78")]
[EventClass]
[Transaction(TransactionOption.NotSupported)]
[ObjectPooling(Enabled=true, MinPoolSize=25, MaxPoolSize=100)]
[EventTrackingEnabled]
public class RemotingEventClass : ServicedComponent, IRemotingProbe
</snip>
Rogério, It must be redesigned not to depend on COM+ as shown above,
to be able to work in Mono. Sorry for the bad news my friend,
> > Hi,
> >
> > I'm trying to create a message monitor for my Remoting Server, but
> > when i try to execute the program i get the follow error:
> >
> > Unhandled Exception: System.NotImplementedException: The requested
> > feature is not implemented.
> > in <0x00023> System.Type:GetTypeFromProgID (string)
> > in <0x0009b> RKiss.MessageProbe.Subscriber:Activate
> > (RKiss.MessageProbe.DelegateWriteLogMessage)
> > in <0x00056> (wrapper remoting-invoke-with-check)
> > RKiss.MessageProbe.Subscriber:Activate
> > (RKiss.MessageProbe.DelegateWriteLogMessage)
> > in <0x0020f> MonitorRemoting:.ctor (string[])
> > in <0x0001f> MonitorRemoting:Main (string[])
> >
> >
> > This application is based on Remoting Probe created by Roman Kiss
> > (http://www.codeproject.com/csharp/remotingprobe.asp).
> >
> > Thanks for any answer...
You are welcome,
--
Rafael "Monoman" Teixeira
---------------------------------------
Just the 'crazy' me in a sane world, or would it be the reverse? I dunno...
More information about the Mono-devel-list
mailing list