Skip to main content
Participating Frequently
June 1, 2023
Answered

2023 upgrade, can't access pdf service admin page

  • June 1, 2023
  • 6 replies
  • 2532 views

Anyone know what's up with the pdf service page in 2023? I just upgraded one of our test servers and every time I go to the pdf service page to see the new pdf service settings, I get a the error page. Log has this in it: 

"Error","http-nio-8500-exec-6","06/01/23","08:59:37","cfadmin","Element ENGINE is undefined in THISPDFSERVICE. The specific sequence of files included or processed is: F:\ColdFusion2023\cfusion\wwwroot\CFIDE\administrator\document\pdfgservice.cfm, line: 602"

 

    This topic has been closed for replies.
    Correct answer zipform

    I had the same issue and the solution I found was to add the engine variable to neo-document.xml after isenabled.  Stopping and starting the CF service to do so.

    <var name='engine'>
    <string>pdfReactor</string>
    </var>

    6 replies

    Participant
    March 26, 2024

    Had the same issue and can confirm that zipform's solution worked.

    BKBK
    Community Expert
    Community Expert
    March 26, 2024

    This PDF-generation issue goes way back. The solution that Zipform mentions,

    <var name='engine'>
    <string>pdfReactor</string>
    </var

    appears among the comments of the bug report  I created in June 2023: https://tracker.adobe.com/#/view/CF-4218060 

     

    Adobe's ColdFusion engineer, Mohitha D., added an important remark in the comments:

    "this [the fix to the bug] is already available in the release build (2023.0.0.330468). You have got this error due to some issue while migrating from CF2021 to CF2023 so, the neo-document.xml was not updated."

     

     

    Participant
    March 26, 2024

    I forgot to mention that it was a migration from 2016. So yes, the neo-document.xml was not updated.

    Participant
    December 20, 2023

    I tried zipform's solution and it worked for me. 🙂

    Charlie Arehart
    Community Expert
    Community Expert
    June 6, 2023

    @impalerware, please see an elaborated comment I just offered in that tracker ticket BKBK offered (he's the AB listed there, if you didn't know/surmise). 

    /Charlie (troubleshooter, carehart. org)
    Participating Frequently
    June 6, 2023

    I did migrate settings and that seemed to have been the issue at least for us. I went through a bunch of troubleshooting steps with support which did include removing and re installing the htmltopdf package to no avail. What we ended up doing was a full uninstall and reinstall of 2023 and this time not migrating from 2021. That worked.

    zipformCorrect answer
    Participant
    October 18, 2023

    I had the same issue and the solution I found was to add the engine variable to neo-document.xml after isenabled.  Stopping and starting the CF service to do so.

    <var name='engine'>
    <string>pdfReactor</string>
    </var>

    Adobe Employee
    June 6, 2023

    Hi @impalerware ,

     

    Thanks,

    Mohitha

    BKBK
    Community Expert
    Community Expert
    June 6, 2023

     I tried doing the following as a workaround:

    1.  Use CFPM to uninstall the htmltopdf package, then to reinstall it.
    2.  Restart CF2023.

    Alas, that hasn't helped. When I go to the PDF Service page in the Administrator, I still get the error "Element ENGINE is undefined in THISPDFSERVICE."

     

    My setup: I did install CF2023 alongside CF2021 on the same Windows 10 Operating System.

    BKBK
    Community Expert
    Community Expert
    June 5, 2023
    Vikram Kumar M
    Community Manager
    Community Manager
    June 1, 2023

    Hi @impalerware ,

     

    Please reach out to our support team at cf.install@adobe.com.

     

    Thanks,

    Vikram