Skip to main content
Inspiring
Aug 10, 2015 7:40 PM UTC
Answered

When defining a new scheduled task to save the output of a cfm file as htm I get an error

The error I receive is "•Invalid extension of the file name. Valid extensions are :log,txt.  I did read that in such instances that I am to work with c:\ColdFusion 11\cfusion\lib\neo-cron.xml.  I would appreciate any insight that can be provided on working with this xml file.

    This topic is closed to new replies. Start a new post to keep the conversation going.
    Anit_Kumar
    Anit_KumarCorrect answer
    Inspiring
    Aug 10, 2015 8:04 PM UTC

    Hi Tom,

    Say you want to add html extension. Please try the following:-

    1. Stop ColdFusion 11 Application Service.
    2. Locate the neo-cron.xml at \ColdFusion11\cfusion\lib\ and take a backup.
    3. Open the neo-cron.xml with notepad or any other text editor.
    4. Add "html" as an allowed extension. The line should look like <string>log,txt,html</string>
    5. Start ColdFusion 11 Application Service.

    Regards,

    Anit Kumar

    1 reply

    Anit_Kumar
    Anit_KumarCorrect answer
    Inspiring
    Aug 10, 2015 8:04 PM UTC

    Hi Tom,

    Say you want to add html extension. Please try the following:-

    1. Stop ColdFusion 11 Application Service.
    2. Locate the neo-cron.xml at \ColdFusion11\cfusion\lib\ and take a backup.
    3. Open the neo-cron.xml with notepad or any other text editor.
    4. Add "html" as an allowed extension. The line should look like <string>log,txt,html</string>
    5. Start ColdFusion 11 Application Service.

    Regards,

    Anit Kumar

    Translate