Skip navigation
Rottie
Currently Being Moderated

ColdFusion 9 mapping seems not being processed

Feb 27, 2012 1:44 PM

I installed ColdFusion 9 with IIS 6 on Windows 2003 Server.  The web root directory is  c:\MyWeb. 

I created a ColdFusion mapping in the CF Administrator for /dbx, and points to c:\ColdFusion9\Template.  Under the Template directory, I have several sub-directories, Cat1, Cat2, ....

 

When I accessing http://myweb.com/dbx/Cat2/getcat.cfm, ColdFusion threw the following error.

 

File not found: /dbx/Cat2/getcat.cfm

 

The exception.log shows

 

"Eror", "jrpp-2", "02/27/12", "15:17:32",,"File not found" /dbx/Cat2/getcat.cfm The specific sequence of files included or processed is: C:\MyWeb\dbx\Cat2\getcat.cfm'' " ColdFusion.runtime.TemplateNotFoundException: File not found: /dbx/Cat2/getcat.cfm

 

The getcat.cfm is present, and it is under c:\ColdFusion9\Template\Cat2\.

 

It seems like ColdFusion is not handling the mapped /dbx/Cat2/getcat.cfm, and passed it to the web server.  IIS is looking for the /dbx/Cat2/getcat.cfm under its web root, and obviously can't find it. 

 

Any pointers are greatly appreeciated.

 

Joe

 
Replies
  • Dave Watts
    747 posts
    Mar 11, 2003
    Currently Being Moderated
    Feb 27, 2012 2:22 PM   in reply to Rottie

    CF mappings only affect CF tags, like CFINCLUDE, CFMODULE, etc. They don't create mappings that your web server will recognize. You need to create virtual directories in your web server for those.

     

    Dave Watts, CTO, Fig Leaf Software

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points