coldfusion is undefined js error and ajax binding is not working
Copy link to clipboard
Copied
i am getting "coldfusion is undefined" js error and ajax binding also not working.
in my local environment it is working fine the code(using coldfusion built in server), but in my dev environment getting following error because there we are using IIS server as a webserver.
please need help.
Copy link to clipboard
Copied
I guess the problem is that there is a missing of mapping to CFIDE folder. Which contain all the javascript files which are used for coldfusion ajax features.
So you can do one thing just copy the CFIDE folders into "C:\Inetpub\wwwroot" directory and please verify that there is a mapping present to CFIDE in your ColdFusion application server.
This mapping is created by the ColdFusion server at the time of installation.
Before testing restart your ColdFusion application server.
Copy link to clipboard
Copied
thanks for your reply.
i checked CFIDE folder it is in "C:\Inetpub\wwwroot" directory and i did
mapping for CFIDE in my coldfusion admin.
still i am getting errors related to js those are
1) coldfusion is undefined
2) yahoo is undefined
3) invalid character in masks.js
4)Webpage error details
Message: Invalid character
Line: 1
Char: 1
Code: 0
URI: file:///C:/inetpub/wwwroot/CFIDE/scripts/ajax/messages/cfmessage.js
Message: Invalid character
Line: 1
Char: 1
Code: 0
URI: file:///C:/inetpub/wwwroot/CFIDE/scripts/ajax/package/cfajax.js
Message: Invalid character
Line: 1
Char: 1
Code: 0
URI:
file:///C:/inetpub/wwwroot/CFIDE/scripts/ajax/yui/yahoo-dom-event/yahoo-dom-event.js
Message: Invalid character
Line: 1
Char: 1
Code: 0
URI:
file:///C:/inetpub/wwwroot/CFIDE/scripts/ajax/yui/container/container-min.js
Message: Invalid character
Line: 1
Char: 1
Code: 0
URI:
file:///C:/inetpub/wwwroot/CFIDE/scripts/ajax/yui/animation/animation-min.js
Message: Invalid character
Line: 1
Char: 1
Code: 0
URI: file:///C:/inetpub/wwwroot/CFIDE/scripts/ajax/package/cftooltip.js
Message: Invalid character
Line: 1
Char: 1
Code: 0
URI:
file:///C:/inetpub/wwwroot/CFIDE/scripts/ajax/package/cfrichtexteditor.js
Message: Invalid character
Line: 1
Char: 1
Code: 0
URI: file:///C:/inetpub/wwwroot/CFIDE/scripts/ajax/FCKeditor/fckeditor.js
Message: Invalid character
Line: 1
Char: 1
Code: 0
URI: file:///C:/inetpub/wwwroot/CFIDE/scripts/cfform.js
Message: Invalid character
Line: 1
Char: 1
Code: 0
URI: file:///C:/inetpub/wwwroot/CFIDE/scripts/masks.js
i appreciate your help.
Copy link to clipboard
Copied
Can you please post your sample code. It will be easier to understand.

