[ColdBox 5.3 Adobe CF 9.00 / IIS 7.0] Problem Bootstrapping App - Invalid CFML Construct

Hi, I am new to Coldbox and have been playing around for the past few days with it through the CommandBox CLI. Whilst I am able to run any created apps fine with the Lucee server through CommandBox, when I try to access the app via IIS7/Adobe CF 9.0.0 (totally outside of Commandbox), I get the following error:

Invalid CFML construct found on line 239 at column 79. |

  • |
    ColdFusion was looking at the following text:

    function



    The CFML compiler was processing:

    - An expression beginning with refResults.eventCaching.responseHeaders.each, on line 239, column 33.This message is usually caused by a problem in the expressions structure.
    - A script statement beginning with refResults.eventCaching.responseHeaders.each on line 239, column 33.
    - A script statement beginning with { on line 224, column 66.
    - A script statement beginning with if on line 224, column 25.
    - A script statement beginning with try on line 197, column 17.
    - A script statement beginning with function on line 188, column 9.
    |

The error occurred in C:\inetpub\wwwroot\coldbox\coldbox\system\Bootstrap.cfc: line 239
|


<br>237 : }<br>238 : // Response Headers that were cached<br>**239 : refResults.eventCaching.responseHeaders.each( function( key, value ){**<br>240 : event.setHTTPHeader( name=key, value=value );<br>241 : } );<br>

|

Am I missing some extra configuration or something? After creating an app through CommandBox, I would like to fire it up through my default IIS 7.0 / CF 9.0.0 environment on the particular dev machine I am working on.
Any pointers would be appreciated.
Kind regards
Dee.

ColdFusion 9.0 is very, very, VERY old. It needs to die in a fire and hasn’t been supported by ColdBox (or Adobe for that matter) in quite some time :slight_smile: You can’t use the latest ColdBox on CF 9. You’d probably have to go back to the 4.0 series, but better yet please upgrade! Even CF11 is getting dropped by Adobe’s support next month.

Ah OK, thanks for the quick reply Brad… I’ll have to dump it and upgrade.