> Until we see the code that delivers the PDF, you have to look at what is > causing the compile error. It has nothing to do with when one is compiled or > not, or what order it is compiled in. ColdFusion will always compile > application.cfm/application.cfc and then the template you are trying to run, > and onRequestEnd.cfm if you have it. It can't do it any other way, because > it has to know what variables might be defined in the application.cfm.
No, in fact it has everything to do with this. The user is requesting a URL that looks like this: http://claudes_crazy_server/somedir/somefile.pdf.cfm That file will be compiled before the Application.cfm file runs. That file is causing a compilation error before Application.cfm runs, in this case. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, or onsite. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:345679 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

