Skip to main content
Participating Frequently
Oct 9, 2023 12:59 PM UTC
Answered

Failed to load resource wddx.js and wddxDes.js in coldfusion 2016

Hi We recently upgraded from coldfusion 9 to coldfusion 2016 and the error that we are getting when we try to load the code is runWddx.js:15 Uncaught ReferenceError: WddxDeserializer is not defined.

From inspecting it seems that it is not able to load wddx.js and wddxDes.js these two files.

Please suggest what needs to be done.

Screenshot is attached for ref.

    This topic is closed to new replies. Start a new post to keep the conversation going.
    Dave WattsCorrect answer
    Community Expert
    Oct 9, 2023 1:16 PM UTC

    I think you probably need to make sure your SCRIPTSRC points to the new location for the JS files that deliver WDDX client-side functionality.

     

    Dave Watts, Eidolon LLC 

    Dave Watts, Eidolon LLC

    5 replies

    Dave WattsCommunity ExpertCorrect answer
    Community Expert
    Oct 9, 2023 1:16 PM UTC

    I think you probably need to make sure your SCRIPTSRC points to the new location for the JS files that deliver WDDX client-side functionality.

     

    Dave Watts, Eidolon LLC 

    Translate
    Dave Watts, Eidolon LLC
    Participating Frequently
    Oct 10, 2023 10:00 AM UTC

    Hi Dave,

    thanks for the reply. you are correct my code was pointing to different location. As i checked in coldfusion 2016 the cf_script/script folder contains the wddx.js but it does not contain the wddxDes.js file. but in coldfusion 9 the CFIDE folder contains both. so in order to use wddxDes.js should i copy it form coldfusion 9 or is there any other way?

    Translate
    Community Expert
    Oct 10, 2023 9:47 PM UTC

    If I recall correctly, CF never included a wddxDes.js file as part of the default distribution. You had to get it from the WDDX SDK, which is a separate thing. Rather than look for that, just copy the wddxDes.js file from the old server to the new one.

     

    Dave Watts, Eidolon LLC

    Translate
    Dave Watts, Eidolon LLC