On Sat, Apr 2, 2011 at 3:44 PM, Victor Moore wrote: > > The prod server is CF 8 enterprise (dev is 9 developer edition, my bad > I said in my first email that both of them are 9) > > on the prod server (tested now) > #expandPath("/myApp")# = D:\domain\myApp > the module in question is D:\domain\myApp\module1\submodule\user.cfm > > user.cfm has the following <cfinclude template="/utils/lib.cfm" > > included template path is : > D:\domain\myApp\utils\lib.cfm > > and I get the error >
Do you have a mapping for "/utils"? I don't remember you saying there was. And if there isn't, you're not using a mapping, you're asking for a root-absolute path ("/"), which will map to "D:\domain". Since /utils/lib.cfm resides at D:\domain\myApp and not D:\domain, you are encountering the expected results: a file not found exception. <cfoutput>#expandPath("/")#</cfoutput> Run that and you'll see what I mean. > > Thank you both for your patience on a Saturday > NP :-) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:343502 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm