RE: CF MX cfobject
David, I had the same problems when I upgraded to MX. I was using CFXid3 or something like that, and it was using a COM object. The object for one reason or the other wouldn't always load, and when it did, it wasn't reliable. Sometimes locking up my treads. So I moved everything over to a java class, and have had a lot of success. I'll send you the CFC this weekend, I need to strip it down and take out all of my internal stuff, like updating my database, and loading directories. (specific to my application) Adam Wayne Lehman Web Systems Developer Johns Hopkins Bloomberg School of Public Health Distance Education Division -Original Message- From: David D Brown [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 08, 2003 6:10 PM To: CF-Talk 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 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 Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CF MX cfobject
What does the COM object due? Perhaps there is a Java alternative that would work much better in CFMX. Make sure you've installed UR2. At 06:10 PM 1/8/2003, you wrote: >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 > > > >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 Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CF MX cfobject
You could use the Java Native Interface and create some wrapper classes that you could instantiate in CFMX. - Original Message - From: "David D Brown" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Wednesday, January 08, 2003 9:50 PM Subject: RE: CF MX cfobject > Thanks, I am running CF MX. > > So I guess, either I go back to CF 5.0 or I start using asp for this > project. > > Someone else on the list has suggested using a cfc they are working > with. I will try that. > > David > > > -Original Message- > From: John Paul Ashenfelter [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, January 08, 2003 11:16 PM > To: CF-Talk > Subject: Re: CF MX cfobject > > 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 > > > > 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 This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: CF MX cfobject
Thanks, I am running CF MX. So I guess, either I go back to CF 5.0 or I start using asp for this project. Someone else on the list has suggested using a cfc they are working with. I will try that. David -Original Message- From: John Paul Ashenfelter [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 08, 2003 11:16 PM To: CF-Talk Subject: Re: CF MX cfobject 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 > > > > 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 Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CF MX cfobject
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 > > > > 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