Several of our users are getting the following error when previewing their content using our templates (I've removed some sensitive path information):
Template Preview And Generate Error:
Error creating file to be generated:\default\main\blah\blah\WORKAREA\blah\previews\preview.cfm
We're setting the
preview-dir setting in the templating.cfg to "/previews/" for all of our templates.
If the user closes the preview window and clicks the Preview button again, the preview usually works just fine. It's just that the initial time they try to preview, the error above comes up.
I was under the assumption that the preview filenames are supposed to be based off of the users name, like "zz_tst_username_1_preview.cfm". So why would it be trying to create a file named "preview.cfm" in the first place?