Error while running CF webapplication

Discussion in 'Programming' started by newtechie, Mar 30, 2010.

  1. #1
    I am getting the below mentioned error, while trying to run index.cfm of a web application.

    
    Could not find the included template /config/_errorMap.cfm.  
    Note: If you wish to use an absolute template path (for example, template="/mypath/index.cfm") with CFINCLUDE, you must create a mapping for the path using the ColdFusion Administrator. Or, you can use per-application settings to specify mappings specific to this application by specifying a mappings struct to THIS.mappings in Application.cfc. 
    Using relative paths (for example, template="index.cfm" or template="../index.cfm") does not require the creation of any special mappings. It is therefore recommended that you use relative paths with CFINCLUDE whenever possible 
    
    
    Code (markup):
    Can somebody help me resolve this?
     
    newtechie, Mar 30, 2010 IP
  2. Oceanus

    Oceanus Member

    Messages:
    903
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    43
    #2
    Yeah, you're just missing a file "_errorMap.cfm". If you copy this into the config folder it should work.
     
    Oceanus, Apr 11, 2010 IP