Application Error

ColdFusion Add comments

Have you ever just received this useless error from any of your cfm pages

"Application Error"

And nothing else, no debug output, nothing except a blank page.

Well I just found one reason for this today while trying to use CreateObject(java) when this function is disabled in the sites security sandbox. Specifically I was using "getPageContext().forward("#attributes.URL#");"
It seems CF doesn't like to give you any error at all in this situation, so I presume the same may apply to other tags/functions that are disabled by a security sandbox.

So be sure to check all your tags and fucntions are enabled if you get this error.

Also note that if you are calling such code via a custom tag, it also causes the page to take a very long time to return the error or timeout altogether. In FusionReactor the page will just hang and show in "Running Requests" indefinitely and you cannot kill it. 

 

 

0 responses to “Application Error”

Leave a Reply

Leave this field empty

Powered by Mango Blog. Design and Icons by N.Design Studio