Skip to main content
Known Participant
March 6, 2008
Question

File Not Found error message

  • March 6, 2008
  • 2 replies
  • 1212 views
I keep getting this message when I try to view my coldfusion page in my web browser. How do I fix this? I've tried saving it somewhere else and recreating the file but I still get the message.

Here is the message:

The web site you are accessing has experienced an unexpected error.
Please contact the website administrator.

The following information is meant for the website developer for debugging purposes.

Error Occurred While Processing Request
File not found: /reviews.cfm


Resources:
Check the ColdFusion documentation to verify that you are using the correct syntax.
Search the Knowledge Base to find a solution to your problem.


Browser Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; InfoPath.2; Windows-Media-Player/10.00.00.3990)
Remote Address 127.0.0.1
Referrer
Date/Time 06-Mar-08 12:31 PM

Stack Trace (click to expand)



coldfusion.runtime.TemplateNotFoundException: File not found: /reviews.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.BrowserDebugFilter.invoke(BrowserDebugFilter.java:74)
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:284)
at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:543)
at jrun.servlet.http.WebService.invokeRunnable(WebService.java:172)
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)











--------------------------------------------------------------------------------
Debugging Information ColdFusion Server Developer 8,0,0,176276
Template /reviews.cfm
Time Stamp 06-Mar-08 12:31 PM
Locale English (US)
User Agent Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; InfoPath.2; Windows-Media-Player/10.00.00.3990)
Remote IP 127.0.0.1
Host Name localhost




--------------------------------------------------------------------------------
Execution Time

No top level page was found.


--------------------------------------------------------------------------------
Exceptions

12:31:43.043 - coldfusion.runtime.TemplateNotFoundException - in : line -1
File not found: /reviews.cfm



--------------------------------------------------------------------------------
Scope Variables

CGI Variables:
AUTH_PASSWORD=
AUTH_TYPE=
AUTH_USER=
CERT_COOKIE=
CERT_FLAGS=
CERT_ISSUER=
CERT_KEYSIZE=
CERT_SECRETKEYSIZE=
CERT_SERIALNUMBER=
CERT_SERVER_ISSUER=
CERT_SERVER_SUBJECT=
CERT_SUBJECT=
CF_TEMPLATE_PATH=C:\ColdFusion8\wwwroot\reviews.cfm
CONTENT_LENGTH=
CONTENT_TYPE=
CONTEXT_PATH=
GATEWAY_INTERFACE=
HTTPS=
HTTPS_KEYSIZE=
HTTPS_SECRETKEYSIZE=
HTTPS_SERVER_ISSUER=
HTTPS_SERVER_SUBJECT=
HTTP_ACCEPT=*/*
HTTP_ACCEPT_ENCODING=gzip, deflate
HTTP_ACCEPT_LANGUAGE=en-us
HTTP_CONNECTION=Keep-Alive
HTTP_COOKIE=
HTTP_HOST=localhost:8500
HTTP_REFERER=
HTTP_USER_AGENT=Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; InfoPath.2; Windows-Media-Player/10.00.00.3990)
PATH_INFO=
PATH_TRANSLATED=C:\ColdFusion8\wwwroot\reviews.cfm
QUERY_STRING=
REMOTE_ADDR=127.0.0.1
REMOTE_HOST=localhost
REMOTE_USER=
REQUEST_METHOD=GET
SCRIPT_NAME=/reviews.cfm
SERVER_NAME=localhost
SERVER_PORT=8500
SERVER_PORT_SECURE=0
SERVER_PROTOCOL=HTTP/1.1
SERVER_SOFTWARE=
WEB_SERVER_API=

Debug Rendering Time: 62 ms
    This topic has been closed for replies.

    2 replies

    BKBK
    Community Expert
    Community Expert
    March 13, 2008
    I think you asked Coldfusion to run a page that does not exist, namely, C:\ColdFusion8\wwwroot\reviews.cfm. Did you by chance save the code as review.cfm or reviews.cfc or reviews.cfm.txt? If the file indeed exists, did you browse to http://127.0.0.1:8500/reviews.cfm?

    Save the code you've shown us as the file C:\ColdFusion8\wwwroot\reviews2.cfm. What do you get when you browse to http://127.0.0.1:8500/reviews2.cfm?

    If the problem persists, what web server do you use?



    Inspiring
    March 6, 2008
    well, at first glance it seems it was already on reviews.cfm when it processed, throwing an error saying it could not find "reviews.cfm"

    Any chance you have a CFINCLUDE in that file calling itself? which could causing a looping error and throw the server into denial mode.

    Known Participant
    March 8, 2008
    No CFINCLUDE, unless I'm not seeing it. Here's my code:

    <!--- Get ratings --->
    <cfquery datasource="PFB" name="Ratings">
    SELECT *
    FROM Ratings
    ORDER BY RatingID
    </cfquery>
    <!----get ages----->
    <cfquery datasource="PFB" name="Age">
    SELECT *
    FROM Age
    ORDER BY AgeID
    </cfquery>
    <html>
    <body>
    <cfform action="insertnewreview.cfm">
    <table>
    <tr>
    <td>Age:</td>
    <td> <select name="AgeID">
    <cfoutput query="age">
    <option value="#AgeID#">#Age#</option></cfoutput>
    </select>
    </td>
    </tr>

    <tr>
    <td><cfoutput query="question">#Question#</cfoutput></td>
    <td><select name="RatingID">
    <cfoutput query="ratings"><option value="#RatingID#">#Rating#</option>
    </cfoutput></select></td>
    </tr>
    </table>
    </cfform>
    </body>
    </html>
    Known Participant
    March 13, 2008
    No one knows what's wrong? I'm still having the problem. If I uninstall and reinstall coldfusion, will that work?