Copy link to clipboard
Copied
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.
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
Copy link to clipboard
Copied
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
Copy link to clipboard
Copied
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?
Copy link to clipboard
Copied
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
Copy link to clipboard
Copied
Hi Dave,
Thanks you so much for the help.
Copy link to clipboard
Copied
You're welcome!
Dave Watts, Eidolon LLC