I have a component running in a COM+ 1.1 application on Windows 2000 using
Server activation. I need the component to be able to retrieve remoting
info from a .config file

e.g.
<configuration>
 <system.runtime.remoting>
  <application>
   <client>
    <wellknown
type="MyCompany.Configuration.Shared.ConfigRO, ConfigBroker"

url="http://web1.mycompany/ConfigServer.soap"; />
   </client>
  </application>
 </system.runtime.remoting>
</configuration>


The only way I've found to make this work is place a file named
dllhost.exe.config

in the system32 directory which is the dll hosting location for 1.1.  I
believe in COM+ 1.5 I can specify the run location. In COM+ 1.1 I don't
believe I can specifiy a run location.

Question:  This seems like quite a hack.  Is there a better solution?

===================================
This list is hosted by DevelopMentor�  http://www.develop.com
NEW! ASP.NET courses you may be interested in:

2 Days of ASP.NET, 29 Sept 2003, in Redmond
http://www.develop.com/courses/2daspdotnet

Guerrilla ASP.NET, 13 Oct 2003, in Boston
http://www.develop.com/courses/gaspdotnet

View archives and manage your subscription(s) at http://discuss.develop.com

Reply via email to