Copy link to clipboard
Copied
I'am getting this error:
Security: The requested template has been denied access to D:\Inetpub\wwwroot-ct\CFIDE\scripts\ajax\messages\cfmessage_nl_NL_.js.
The following is the internal exception message: access denied (java.io.FilePermission D:\Inetpub\wwwroot-ct\CFIDE\scripts\ajax\messages\cfmessage_nl_NL_.js read)
ColdFusion cannot determine the line of the template that caused this error. This is often caused by an error in the exception handling subsystem.
The webpage works perfectly on my local machine but not on my webhost environment. The strange thing is the cfmessage_nl_NL_.js file is not on my local machine.
This error is accompanied by a 500 - server error.
After further research is seems to be related to the tooltip attribute in de cfinput tag. As soon as I remove this attribute the error disapears.
Does anyone know of a solution or cause for this problem? Is it a bug?
Copy link to clipboard
Copied
waver wrote:
D:\Inetpub\wwwroot-ct\CFIDE\scripts\
The ..\CFIDE\scripts\... directory is where ColdFusion keeps all its client JavaScript, CSS, Flash, etc code used for any of the CFML wizard tags that build User Interface elements such as <cfform...> and <cfinput...>.
The server is complaining that it can not access files from that location. That means that the /CFIDE/scripts/ folder is not available OR its permissions have been locked down. (Since the ColdFusion Administrator Portal application also exists in the /CFIDE/ folder this in not uncommon.) The /CFIDE/ folder is usually a virtual directory mapping configured in the web server to where the ColdFusion Server was installed.
Luckily, you can just copy the /scripts/ folder into any handy location in your website from any other convient ColdFusion installation and use the capabilities to configure ColdFusion to use an alternate path to find these files. The easiest would be just copy them to a /CFIDE/scripts/ path under your web root.