Skip to main content
Participant
October 27, 2021
Question

Is ColdFusion 2016 code work on 2021.?

  • October 27, 2021
  • 1 reply
  • 322 views

Hello,

 

We are upgrading ColdFusion from 2016 to 2021. So, is 2016 CF code will it work on 2021.?

    This topic has been closed for replies.

    1 reply

    Participant
    October 27, 2021

    after upgrading CF 2016 to 2021, we are getting error like below..

     

    Invalid CFML construct found on line 97 at column 42. ColdFusion was looking at the following text:
    The CFML compiler was processing:
    An expression beginning with CompareNoCase, on line 97, column 20.This message is usually caused by a problem in the expressions structure.
    An expression beginning with Not, on line 97, column 16.This message is usually caused by a problem in the expressions structure.
    A cfif tag beginning on line 97, column 11.
    A cfif tag beginning on line 97, column 11.
    A cfif tag beginning on line 97, column 11.
    BKBK
    Community Expert
    Community Expert
    October 29, 2021

    To reduce the risk of migrating incompatible code, there are two things you can do:

    1.  Study the list of deprecated ColdFusion features. Verify whether any of them occurs in your code.
    2. Run the Code Analyzer tool on your project code. To find the tool, open the ColdFusion 2021 Administrator, and go to the Debugging & Logging page. Use, as the analyzer's baseline setting, ColdFusion 2016.