Skip to main content
New Participant
April 1, 2025
Question

Anyone having issues with cfsetup in ColdFusion 2025?

  • April 1, 2025
  • 4 replies
  • 421 views

When I import the JSON into ColdFusion, the datasource password doesn’t work.
The log shows this message:
Datasource XXX could not be found. Ensure that you have spelled the name correctly and that the data source is registered in the ColdFusion Administrator Data Sources page.

When I go to the datasource screen, without changing the password, and click submit, I get this message:
An error occurred while trying to encrypt or decrypt your input string: Input length must be multiple of 16 when decrypting with padded cipher.

However, if I enter the password and save it, the error disappears.

I’m using Docker.

Docker Log:
2025-04-01 15:31:02 Import of DATASOURCE, MAIL, DEBUG successful.

    4 replies

    Inspiring
    October 27, 2025

    I am having the same issue.  Creating a datasource via cfsetup, then when I go into cfadmin and verify, it fails.  If I just re-enter the password it's fine.

    Inspiring
    October 27, 2025

    Definitely seems to be an issue on how they're storing the password in "C:\ColdFusion2025\cfusion\lib\neo-datasource.xml".   Steps to reproduce:

    1. Create a DSN via cfsetup.

    2. Open neo-datasource.xml and note the value in the <var name='password'> node

    3. Verify w/ CFAdmin (no good)

    4. Update the password in CFAdmin and submit (validates good)

    5. Repeat Step 2 and note the value in the <var name='password'> node

    6. Delete the DSN and let's repeat step 1 again

    7. Open neo-datasource.xml and replace the value in the <var name='password'> node with the value from step 5

    8. Restart CF service

    9. In CFAdmin, validate the DSN (good)

     

    Inspiring
    June 24, 2025

    I'm experiencing the same issue. I submitted bug ID CF-4227113

    Participating Frequently
    April 4, 2025

    I submitted a bug ticket about cfsetup for windows: https://tracker.adobe.com/#/view/CF-4226138 in case you want to vote it up.

    BKBK
    Community Expert
    April 5, 2025

    @Jim.F. , your bug ticket seems to be different from the issue @marcelom7631429 described.