COM+ Remoting

  • Thread starter Thread starter Richard Bell
  • Start date Start date
R

Richard Bell

I have a typical class factory framework scenerio working using remoting
with the class factory hosted inside the IIS process. I now want my class
factory to use transactions and run inside COM+. However, I keep getting an
error saying that no channel is registered when I make calls on objects
returned from the class factory. Pseudo code is as follows:-

1. RemotingConfiguration.Configure(...)
2. ClassFactory cf = new ClassFactory();
3. MyObject o = (MyObject)cf.GetObject();
4. o.MyMethod();

Falls over on line 4 when ClassFactory derives from ServicedComponent as
opposed to MarshalByRefObject. Many thanks.
 
Back
Top