CF8 Report Builder - Report Format Error
I'm trying out Report Builder for the first time to generate a report. While I can output the file to the screen without any problems (by leaving out the filename attribute), I am getting an error when trying to save it. If I place a document in the location where I've specified with the filename attribute, I can read it just fine from the browser...I'm just missing something here that's eluding me. Any ideas? The error: Report format error. The filename, directory name, or volume label syntax is incorrect The code: cfreport filename=http://dtsc-dev/temp/SBA_Temp.pdf; format = PDF template = c:\\inetpub\wwwroot\Database\Military_Billings\CFR_Templates\SBA.cfr overwrite = yes cfreportparam name=pINVOICE_ID value=#variables.Invoice_ID# /cfreport ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312590 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CF8 Report Builder - Report Format Error
Hi Jim, the filename attribute requires an absolute system path, you might try expandpath(). bye, marcus Jim Gabler schrieb: cfreport filename=http://dtsc-dev/temp/SBA_Temp.pdf; format = PDF template = c:\\inetpub\wwwroot\Database\Military_Billings\CFR_Templates\SBA.cfr overwrite = yes ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312591 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: CF8 Report Builder - Report Format Error
Thanks Marcus. Just using the absolute path did the trick (could have sworn that I had tried that). What threw me off was that Dreamweaver provided only 3 options for the filename attribute and they were ftp:, http:, and https:. So I was really led astray by Dreamweaver (guess this is a case of one division of adobe not communicating with another!). Hi Jim, the filename attribute requires an absolute system path, you might try expandpath(). bye, marcus ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312608 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4