Priya,

This still doesn't show us the line of code calling that file. This 
would determine the type of path you require. A cffile tag, for 
instance, would require a system path to the resource (c:\Inetpub\etc), 
whereas the cfinclude tag would require something like a relative path 
(template="/File1.cfm").

Steve "Cutter" Blades
Adobe Certified Professional
Advanced Macromedia ColdFusion MX 7 Developer

Co-Author of "Learning Ext JS"
http://www.packtpub.com/learning-ext-js/book
_____________________________
http://blog.cutterscrossing.com

Priya Koya wrote:
> This is what the error I get:
> 
>    File not found: /FIle1.cfm     Resources:
> 
>    - Check the ColdFusion
> documentation<http://www.macromedia.com/go/proddoc_getdoc>to verify
> that you are using the correct syntax.
>    - Search the Knowledge
> Base<http://www.macromedia.com/support/coldfusion/>to find a solution
> to your problem.
> 
>    Browser   Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET
> CLR 2.0.50727; InfoPath.2; .NET CLR 3.0.04506.30; .NET CLR 3.0.04506.648;
> .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729) Remote Address   127.0.0.1
> Referrer    Date/Time   25-Feb-09 12:22 PM  Stack Trace (click to
> expand)<javascript:;>
> 
> coldfusion.runtime.TemplateNotFoundException: File not found: /EditSites.cfm
>       at coldfusion.filter.PathFilter.invoke(PathFilter.java:89)
>       at coldfusion.filter.LicenseFilter.invoke(LicenseFilter.java:27)
>       at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:70)
>       at 
> coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:28)
>       at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38)
>       at coldfusion.filter.NoCacheFilter.invoke(NoCacheFilter.java:46)
>       at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38)
>       at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)
>       at coldfusion.CfmServlet.service(CfmServlet.java:175)
>       at 
> coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:89)
>       at jrun.servlet.FilterChain.doFilter(FilterChain.java:86)
>       at 
> coldfusion.monitor.event.MonitoringServletFilter.doFilter(MonitoringServletFilter.java:42)
>       at 
> coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46)
>       at jrun.servlet.FilterChain.doFilter(FilterChain.java:94)
>       at jrun.servlet.FilterChain.service(FilterChain.java:101)
>       at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:106)
>       at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
>       at 
> jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:286)
>       at 
> jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:543)
>       at 
> jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:203)
>       at 
> jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:320)
>       at 
> jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:428)
>       at 
> jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:266)
>       at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)
> 
> 
> 
> On Wed, Feb 25, 2009 at 12:00 PM, Cutter (CFRelated) <
> [email protected]> wrote:
> 
>> /File1.cfm must be located in your site root, so Project_Folder must be
>> defined as the site root.
>>
>> What does the line of code say that is throwing the File not found
>> error? It may be that the function you are calling requires a file
>> system path.
>>
>> Steve "Cutter" Blades
>> Adobe Certified Professional
>> Advanced Macromedia ColdFusion MX 7 Developer
>>
>> Co-Author of "Learning Ext JS"
>> http://www.packtpub.com/learning-ext-js/book
>> _____________________________
>> http://blog.cutterscrossing.com
>>
>> Priya Koya wrote:
>>> Hi All,
>>>
>>> I am using COldFusion8 and trying to execute the file but error:
>>> File not found: /File1.cfm
>>> My project is in path:
>>>
>>> C:\Inetpub\Project_Folder\somefile.cfm
>>> I have created a .cfm page in the path:
>>> C:\Inetpub\Project_Folder\folder1\File1.cfm.
>>>
>>> Any Suggestions?
>>>
>>>
>>>
>>
> 
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:319808
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to