Skip to main content
Participating Frequently
October 9, 2023
해결됨

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

  • October 9, 2023
  • 1 답변
  • 720 조회

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.

    이 주제는 답변이 닫혔습니다.
    최고의 답변: Dave Watts

    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 

    1 답변

    Community Expert
    October 9, 2023

    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
    Participating Frequently
    October 10, 2023

    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?

    Community Expert
    October 10, 2023

    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

    Dave Watts, Eidolon LLC