>   Does anyone have some example code to call and instantiate 
> a COM+ component residing on a different Win 2k3 machine? 
> I've made several attempts but just get an exception saying 
> "An exception occurred when instantiating a Com object".

The code typically isn't the problem. It's usually a permissions or
networking problem. If I recall correctly, the remote object needs to be
registered on your machine, and your calling code needs to run as a user
with permissions to invoke or connect to the remote object. This typically
involves using DCOMCNFG to configure permissions, and may also require you
to run CF (or whatever program you're using) as a user other than SYSTEM.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:244092
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to