• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

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

New Here ,
Oct 09, 2023 Oct 09, 2023

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.

Views

246

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Oct 09, 2023 Oct 09, 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 

Votes

Translate

Translate
Community Expert ,
Oct 09, 2023 Oct 09, 2023

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 

Dave Watts, Eidolon LLC

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Oct 10, 2023 Oct 10, 2023

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?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 10, 2023 Oct 10, 2023

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

Dave Watts, Eidolon LLC

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Oct 10, 2023 Oct 10, 2023

Copy link to clipboard

Copied

Hi Dave,

Thanks you so much for the help.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 11, 2023 Oct 11, 2023

Copy link to clipboard

Copied

LATEST

You're welcome!

 

Dave Watts, Eidolon LLC 

Dave Watts, Eidolon LLC

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation