Try adding C:\inetpub\shared as a custom tag path instead of a mapping.

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Shepherd, Brandon
Sent: Wednesday, July 13, 2005 4:21 PM
To: [email protected]
Subject: [CFCDev] Invoke a CFC that is not in the web root

 

Greetings,

 

I am developing components that can be shared between all websites on a server and not have them in the root of the web server.  I have read that I should be able to setup a mapping to allow this but have not had success in trying the right combination of settings to have it work.

 

The problem I am having is with invoking a CFC that is not in the web root "C:\inetpub\wwwroot" of my website.  The error I am receiving is: "The filename, directory name, or volume label syntax is incorrect".

 

There is a ColdFusion mapping with a logical path of "/shepherd" and a directory path of "C:\inetpub\shared\shepherd".

The CFC I want to invoke is located at "C:\inetpub\shared\shepherd\system\components\dataManage.cfc".

 

The code that is causing the error is: <cfinvoke component="shepherd.system.components.datamanage" ..... >

 

Anyone know what needs to be changed to have this work correctly?

 

Thanks,

-Brandon

----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email to [email protected] with the words 'unsubscribe cfcdev' as the subject of the email.

CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting (www.cfxhosting.com).

CFCDev is supported by New Atlanta, makers of BlueDragon
http://www.newatlanta.com/products/bluedragon/index.cfm

An archive of the CFCDev list is available at www.mail-archive.com/[email protected] ----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email to [email protected] with the words 'unsubscribe cfcdev' as the subject of the email.

CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting (www.cfxhosting.com).

CFCDev is supported by New Atlanta, makers of BlueDragon
http://www.newatlanta.com/products/bluedragon/index.cfm

An archive of the CFCDev list is available at www.mail-archive.com/[email protected]

Reply via email to