I've been having an error that is randomly plaguing me. For some reason, I get the following error message:
The web site you are accessing has experienced an unexpected error.
Please contact the website administrator.
The following information is meant for the website developer for debugging purpose!
Error Occurred While Processing Request j
Security: The requested template has been denied
access to C:/ColdFusion10/cfusionl/wwwroot/CFIDE.
The following is the internal exception message: access denied (java.io.FilePermission c:/coldfusion10/cfusionl/wwwroot/CFIDE read)
Resources:
. Enable Robust Exception Information to provide greater detail about the source
of errors, In the Administrator, click Debugging & Logging > Debug Output
Settings, and select the Robust Exception Information option.
. check the coldFusion documentation to verify that you are using the correct
syntax.
. search the Knowledge Base to find a solution to your problem.
Screenshot:
Whenever I get this error, if I just refresh, it will return the page as expected. It only seems to happen if the site has been idle for some time. If I refresh it 100 times in a row afterwards, it loads every time without a problem.
Here is the code from the file:
<cfquery name="COLUMNTEST" datasource="myds">
SELECT table_name
FROM user_tables
</cfquery>
<cfdump var="#COLUMNTEST#">
This is on Windows Server 2008 R2, ColdFusion 10 Update 7. The application is inside a Security Sandbox. I originally thought that I might need to add that path to the security sandbox of the application for it to work but it doesn't make any sense why a refresh of the page would then magically make it work.
The CFIDE directory in IIS is actually just a virtual directory pointing to portions of the /CFIDE directory such as /CFIDE/scripts and /CFIDE/classes.
Any ideas?