Try using the same path in your createObject call as in your CFOBJECT
call.  that'll work.

Using a "full" path like you currently have in createObject (rather
than a relative path like in CFOBJECT) requires a known root of the
package hierarchy.  That's usually a mapping, but could be the web
root or a custom tag path.  You've got that root defined on your test
server but not on your production server.

cheers,
barneyb

On Fri, 19 Nov 2004 13:40:11 -0800, sam komolafe <[EMAIL PROTECTED]> wrote:
> 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
> 
> 
-- 
Barney Boisvert
[EMAIL PROTECTED]
360.319.6145
http://www.barneyb.com/blog/

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:184933
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