<CFREPORT> Tag - ColdFusion


>> Return to ColdFusion Tag Index

The <CFREPORT> tag allows you ...



  <CFREPORT> Comments from Macromedia LiveDocsLiveDocs Comments - coldfusion - 5.0 - CFML_Reference - Tags85.htm
i got this problem when trying to use cfreport tag in cold fusion. already created a simple report without any connection to database for testing but get below message.

"Unable to load library".

My program is as below:
<html>
<head>
<title>Report1</title>
</head>
<body>
<CFREPORT REPORT="c:\paymentsystem\test1cf.rpt">
</CFREPORT>
</body>
</html>

test1cf.rpt is the report built from crystal report professional 9 and is a simple report without any connection to a database.

Thank you.

LiveDocs Comments - coldfusion - 5.0 - CFML_Reference - Tags85.htm
I used this
<CFREPORT report="http://hwxxxx/ports/ress.rpt" username="#Application.loginName#" password="#Application.pwd#" type="microsoft">
</CFREPORT>

I get this error
REPORT

The report file you have specified (http://hwxxxx/ports/ress.rpt) either does not exist or is not accessible to the ColdFusion service. Please verify that the name of the report file is spelled correctly and that the file is located in a directory which is accessible to the ColdFusion service.

The error occurred while processing an element with a general identifier of (CFREPORT), occupying document position (37:1) to (37:164) in the template file E:\Inetpub\wwwroot\........

LiveDocs Comments - coldfusion - 5.0 - CFML_Reference - Tags85.htm
I have a report working. Following is the code. Make sure when you run the report in testing that you have it closed. Make sure you have a hard coded path. I was having problems and refered to macromedia's support sire for cold fusion. Did a search on cfreport and found useful information that helped me successfully troubleshoot my problems.

<cfreport report="C:\Inetpub\wwwroot\StratPlanNew\reports\stratplan.rpt" username="#request.localdbuser#"
password="#request.localdbpass#">{palnning_tree_titles_with_detail_budget_view.budget_year_id}=2001</cfreport>



LiveDocs Comments - coldfusion - 5.0 - CFML_Reference - Tags85.htm
I have tried for over a year now on multiple servers and never been able to get anything but this error from the CFREPORT tag, nor have I ever heard of anybody else using it successfully. I think its somewhat of a myth, years ago a developer at Allaire made it work once and the marketing guys decided it would look great in the advertising slicks.

LiveDocs Comments - coldfusion - 5.0 - CFML_Reference - Tags85.htm
i cant get this to work at all
i am using CF Ent 5.0 & Crystal Reports 8

i have read every knowledge base articale, forum post et. all to no eval

Error Diagnostic Information
Error occurred while processing CFREPORT


An unexpected error occurred while using the Crystal Engine.

Error number 534 ocurred (Error detected by database DLL.).

Crystal Library = C:\WINNT\system32\CRPE32.DLL (3/20/2002 14: 6)
DLL Version = 8.80, Engine Version = 8.80


The error occurred while processing an element with a general identifier of (CFREPORT), occupying document position (9:1) to (9:151).


Date/Time: 03/20/02 11:06:28
Browser: Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0)
Remote Address: 127.0.0.1




[Top]


Recommended Books

[Top]

Web Sites

[Top]

Copyright © 2003- 2008, Orville Paul Chomer, All Rights Reserved