David,

One big question -- CFMX or CF5 (or 4.5)?

CFMX uses the jIntegra Java-COM bridge which is doesn't like poorly written
COM objects (objects that work just fine in ASP). And it doesn't like some
perfectly fine COM objects :) Tough job running COM under Java.

If you're using ColdFusion 5, one question is do you have a multi-processor
server? I've had a devil of a time with some COM objects under ColdFusion
(and ASP for that matter) when moving from single to dual/quad processor
machines. Something about threading and the threading model chosen for the
COM object. Been a long time since I did COM so I'll leave the details for
someone else.

When I've had similar COM problems before, I've gone as far as getting debug
builds from the vendor -- usually we're talking source code change. But then
again, maybe it just needs regsrv32 and a reboot :)

I'd try it on another server/machine before I wasted a lot of time with
anything else.

Regards,

John Paul Ashenfelter
CTO/Transitionpoint
[EMAIL PROTECTED]
----- Original Message -----
From: "David D Brown" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Wednesday, January 08, 2003 6:10 PM
Subject: CF MX cfobject


> I am having trouble getting this object to work via cold fusion.  Works
> fine in asp.
>
> In ASP file
> 'Create ID3Edit object & set reg-code to "READONLY"
> Set objID3 = server.CreateObject("ID3Edit.ID3Tag")
>
>
> In cold fusion mx file
>
> <cfobject type="COM" name="ObjID3" class=ID3Edit.ID3Tag action="CREATE">
>
> I get:
>
> An exception occurred when instantiating a Com object.
> The cause of this exception was that: AutomationException: 0x800401f7 -
> Some error in application program.
>
> The error occurred in D:\Inetpub\wwwroot\Default\test.cfm: line 34
>
>
> Any suggestions?
>
>
> 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to