The Error I am getting from cfcatch is:
Error Type:  Application
Error Message: Could not find the ColdFusion Component
"theSite.myApp.CompLib.DAccess".

This syntax works: <cfobject name="myInfo" component="CompLib/DAccess">
This does NOT work: <cfset myInfo =
createObject("component","theSite.myApp.CompLib.DAccess")>

They both work perfectly on my local PC.  The createObject syntax did not
work my Test Server.  Is there a way to check if  CreateObject is disabled?

Thanks
Sam



----- Original Message ----- 
From: "Raymond Camden" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Friday, November 19, 2004 12:02 PM
Subject: Re: CFC instance creation Problem


> Show us the cfobject version that works for you.
>
>
> On Fri, 19 Nov 2004 11:40:33 -0800, sam komolafe <[EMAIL PROTECTED]>
wrote:
> > Hi,
> >
> > Why am I not able to create an instance of  a CFC on my test server
using
> > this syntax:
> > <cfset myInfo =
createObject("component","theSite.myApp.CompLib.DAccess")>
> >
> > It only works using the CFOBJECT syntax.  By the way the CreateObject
syntax
> > works perfectly on my local PC.  I have CFMX 6.1 + updater on both PC's
> >
> > Thanks
> > Sam
> >
> > ---
> > [This E-mail scanned for viruses.]
> >
> >
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:184931
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=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to