Quantcast
Channel: Adobe Community : Popular Discussions - Reporting
Viewing all 38309 articles
Browse latest View live

Template appears to be malformed

$
0
0

I have a group of reports that work perfectly in CF7, but when I try to view them with CF9 I get the following.

 

The ColdFusion  Report Builder report template  appears to be malformed or contains errors.

The error is: java.lang.String  cannot be cast to java.util.Map
The  error occurred in C:\wamp\www\rl\views\order_guide.cfm: line  25
23 : </cfif>
24 :
25 : <cfreport template="guides\order_guide.cfr" format="pdf">
26 :      <cfreportparam name="customerNbr" value="#URL.customerNbr#">
27 :      <cfreportparam name="storeNbr" value="#URL.storeNbr#">

 

Any thoughts?


Table with cell borders in Coldfusion Report Builder

$
0
0

I'm using ColdFusion Report Builder and I'm trying to create a table with cell borders, looking somewhat like Excel. The data comes from a query. How do I do this?

 

I'm running ColdFusion 9 on Windows XP.

CF Report Builder 9: Dynamic Footer Band Height

$
0
0

Problem:

I have a coldfusion (.cfr)  and need to be able to either set the height of the footer band or set the bottom margin so that the report can be printed onto custom paper which has pre-printed information in at the bottom of the page.

 

Can this be done:

Is it possible to programically set the Footer Height in report builder or even have the footer band expand with its contents. There are options there called Stretch with Overflow but these don't appear to work on this band.

 

Or

 

Is is possible to programically set the bottom margin of the report for all pages when I am calling it from coldfusion 9

 

 

<!---Create Report--->         
<cfreport template="../reports/reportFile.cfr"
          style="mystyle{ defaultStyle: false; font-family:'Arial'; color: ##000000;}"
          format="#reportFormat#"
          query="#reportQ#">

 

          <cfreportParam name="lblTitle" value="#reportTitle#">
</cfreport>

 

I cannot figure this out. Someone please help!

CF8 compiled code cannot be run in CF9 server

$
0
0

I have an enterprise application that is developed using ColdFusion. The application is compiled using CF8’s complier (using CFcomple.exe) to enhance performance and prevents un-authorized access to the source code. This application is used by several customers in different countries. Each customer has at least two CF8 servers hosting the application. New features and enhancements are constantly developed and deployed into my customers’ servers each week.

 

Recently, I have upgraded one of the sites from CF8 server to CF9 server and tried to run the CF8 compiled code. And, to my surprise the CF8 compiled code cannot be run in CF9 server.  Below are some of the errors captured by CF9 server’s log:

"Error","jrpp-3","04/08/11","17:45:10",,"coldfusion.runtime.CfJspPage._validateTagAttrValu e(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; The specific sequence of files included or processed is: C:\VESALIUS\vx_uat\his\index.cfm, line: 2 "

java.lang.NoSuchMethodError: coldfusion.runtime.CfJspPage._validateTagAttrValue(Ljava/lang/String;Ljava/lang/String;Lj ava/lang/String;)Ljava/lang/String;

                at cfapplication2ecfm153200315.runPage(C:\VESALIUS\RSPI_DEV\his\application.cfm:2)

                at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:231)

                at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:416)

                at coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:65)

                at coldfusion.filter.CfincludeFilter.include(CfincludeFilter.java:33)

                at coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:261)

                at coldfusion.filter.RequestMonitorFilter.invoke(RequestMonitorFilter.java:48)

                at coldfusion.filter.MonitoringFilter.invoke(MonitoringFilter.java:40)

                at coldfusion.filter.PathFilter.invoke(PathFilter.java:87)

                at coldfusion.filter.LicenseFilter.invoke(LicenseFilter.java:27)

                at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:70)

 

Initially, I thought it was the Java version compatibility problem. I have tried installing the latest Java SDK version into both CF8 server (for compilation) and CF9 server (for hosting). I have confirmed the “Java Virtual Machine Path” is set to the correct Java path.  But still, the application cannot be launch from CF9 server with same type of error.

 

I have always thought Coldfusion is backward compatible. Code complied using earlier version of CF servers should have no problem running in later version of CF. Running application using pure source code and upgrading of all CF8 servers to CF9 at one go are not feasible options that I can choose.

 

Can someone please provide solution to my problem? Your help will be greatly appreciated.

 

 

Coldfusion report builder download has no help included

$
0
0

I just downloaded both the CF Report builder versions for 8 and 9 and there is no English language help file included.

 

Does anyone know where or how I can download this?

 

Clicking on help just gives you a warning saying 'MS Html Help is not installed on this PC.'

 

Michael

Report Data Binding Error with CFREPORT

$
0
0
I'm getting this error on my production server but not my testing server when I try to print a report:

Report data binding error Unknown column name : PK_RegistrationID.

The thing is, the column PK_RegistrationID is not in the query I'm passing to the cfreport file. And it's not in the cfreport fiile itself. It is used in other cfreport files in my application. I'm wondering if this has anything to do with the version of cfreport on the production server.

CFDOCUMENT

$
0
0
I am using cfdocument's ability to generate PDF documents from XHTLM 1.0 Transitional webpages. I using supported CSS styles to format the page by importing the style sheet. All styles with the exception of text-align:justified work perfectly. Does anyone have any ideas on how to get this working?

Code Sample of doc...

<!--- cfdocument pdf attribute collection --->
<cfset pdfdef = structNew()>
<cfset pdfdef.format = "PDF">
<cfset pdfdef.orientation = "portrait">
<cfset pdfdef.pageType = "letter">
<cfset pdfdef.mimeType = "text/html">
<cfset pdfdef.pageType = "letter">
<cfset pdfdef.encryption = "40-bit">
<cfset pdfdef.ownerPassword = "arsiarsi">
<cfset pdfdef.marginLeft = 1>
<cfset pdfdef.marginRight = 1>
<cfset pdfdef.marginTop = 1>
<cfset pdfdef.marginBottom = 1>
<cfset pdfdef.permissions = "AllowPrinting,AllowDegradedPrinting">


<!--- Generate PDF report --->
<cfdocument attributeCollection="#pdfdef#">

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>AZCF</title>

<!--- Link to Waivers.css for formating --->
<style type="text/css">
<!--
@import url("waivers.css");
-->
</style>

</head>

<body>
<p>A paragraph</p>
</body>

</html>

</cfdocument>

Code sample of Style Sheet...
@charset "utf-8";
/* CSS Document */

p {
width: 600px;
text-indent: 0.25in;
text-align: justify;
font-family: Verdana, Arial;
font-size: 11px;
line-height:2em;
}
td {
font-family: Verdana, Arial;
font-size: 11px;
}
th {
font-family: Verdana, Arial;
font-size: 14px;
}
.cliHead {
font-family: Verdana, Arial;
font-size: 12px;
color: #003366;
font-weight: normal;
}
.cliHeadBold {
font-weight: bold;
}
.labels {
font-style: italic;
font-weight: bold;
font-size: 9px;
}
.disclaimBox {
font-weight: bold;
text-indent: 0px;
border: thin solid #000000;
padding: 2px;
line-height: normal;
}

Thanks for the help in advanced and I will be sure to come back and help another!

Martin Franklin

Conflicts with CFReport tag and custom JasperReports feature within our application

$
0
0
My company's application was previously on ColdFusion 6.1 and working fine. We built a reporting feature using JasperReports to generate reports (which were created with iReport) which also allowed the ability to export in PDF (iText) or Excel (Apache POI) and included the use of Barcodes (IDAutomation). All of this was done either in ColdFusion CFC/CFM files or with Java JAR/class files.

We were able to upgrade our system to the latest ColdFusion 8. Everything is working fine and so far we don't have any problems. That is until we decided to use ColdFusion Report Builder and the CFReport tag. After pounding our heads against the wall we have figured out that we can use one or the other but not both. If we use our JasperReport feature, any CFReport that is run, gives an error. We have tried using a different application scope but that doesn't seem to do anything. If we instead generate a CFReport first, then our custom JasperReports code is unable to compile any new templates. However we have noticed in this scenario that it is still able to generate a report if the template is already compiled (.jasper file instead of a .jrxml).

After some research on the web I've come across Java Proxy (can even see a JavaProxy called in the ColdFusion error dump). I believe that since the classes have the same name (net.sf.jasperreports.engine.*) different JARs are being used and loaded depending which is ran first (our custom jasperreports or cfreports).

What I'm needing is some help hopefully figuring out a way to get them both to peacefully coexist. Or at the very least some insight as to what is happening in hope I can understand it and figure out a solution.

Our application uses the following JARs:

jasperreports-1.2.6.jar
poi-2.5.1-final-20040804.jar (ability to write out in Excel file format)
iText-1.3.5.jar (ability to write out in PDF file format)
barbecue-1.1.jar (barcode used in iReport but can't create valid 2D barcodes)
iReport-1.2.6.jar (has façade/facade class that allows iReport to generate barcodes using barbecue)
IDAutomation-PDF417-4.10.jar (new 2D barcode meant to replace barbecue)
IDAutomation-Linear-4.10.jar (new 1D barcode meant to replace barbecue)

Digital Signature - Cold Fusion

$
0
0
we are in the process of implementing Digital Signature process with PKI technology complaint. Reports is geneated as a PDF format using cold fusion tools. Is there is any feature to implement digital signature process in Cold Fusion. since Cold Fusion is a Adobe Product ? How Can I take advantage of that ? Any suggestion/help is really appreciated.

Calculated Group Fields

$
0
0
I am brand new to CF reports but have used other report engines for quite some time.

What I am trying to do is create a counter in a group footer that increments based on the contents of a field. (ie. count male users)

I have looked at the calc.sumField and the count query... but I have not found anything that works like a countif function.

Any suggestions would be greatly appreciated.

Function to unformat HTML code

$
0
0
I start to build a report with CF Report Builder (8) and at some point, I realize that one of the field I need to display have HTML code (e.g.: <p>, <b>, etc...). The fact is that this field is using a Rich Editor (FCKEditor) when input the text. Until now, I did not have any problem with this but it displays all the code in the report (in the CF Report Builder) and it is not really human-friendly. I saw that it is a function to transform basic text in HTML but is it something to do the inverse?

Thank's for any help!

report data binding error unknown column name

$
0
0
Hi,

I am having a problem with the new 7.02 update of Report Builder. The issue is it's not finding my SQL query.

I have wrote my query initally in the advance mode, and it doesn't seem to reconize it. Is there an issue with this?
I did manage to fix one of my reports by using the basic mode and selecting all my tables and seting my linkage and criteria.

I have other computers that i have not updated to 7.02 and they do not have this issue. Below is the error:


------------------------------------------------------------------------------------------ --------------------------------------------------------------------------------
Error Occurred While Processing Request
Report data binding error Unknown column name : work_phone.


Please try the following:
Check the ColdFusion documentation to verify that you are using the correct syntax.
Search the Knowledge Base to find a solution to your problem.


Browser Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727)
Remote Address 127.0.0.1
Referrer
Date/Time 13-Jul-06 02:33 PM

Stack Trace (click to expand)



coldfusion.runtime.report.Report$ReportDataBindingException: Report data binding error Unknown column name : work_phone.
at coldfusion.runtime.report.Report.runReport(Report.java:420)
at coldfusion.filter.ComponentFilter.invoke(ComponentFilter.java:96)
at coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:225)
at coldfusion.filter.BrowserDebugFilter.invoke(BrowserDebugFilter.java:52)
at coldfusion.filter.PathFilter.invoke(PathFilter.java:86)
at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:69)
at coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:2 8)
at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38)
at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38)
at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)
at coldfusion.xml.rpc.CFCServlet.invoke(CFCServlet.java:106)
at coldfusion.xml.rpc.CFCServlet.doGet(CFCServlet.java:157)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:78)
at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:91)
at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:257)
at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:527)
at jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:204)
at jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:349)
at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:457)
at jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:295)
at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)
------------------------------------------------------------------------------------------ --------------------------------------------------------------------------------
This report works in 7.01. So all query variables match with a variable in the SQL select statement.

Anyone have any Ideas??

Thanks,

Daniel



Report Builder Copy/Paste Bug?

$
0
0
In a report that I built I had attempted to copy and paste some fields. When I went to paste nothing showed. However, when I run the report I see this "hidden" text all over the report (There were several that I attempted to cut and paste). I don't see them anywhere in any of the bands. Is there something I can do to see where these fields are and get rid of them. I really don't want to rebuild the report from scratch (A lot of fields). Thanks.

Mark F

Calculate age in a function

$
0
0

I am trying to calculate and return the age of a person. My code is:

    <cfset variable.age = '(dateDiff("yyyy",query.birthdate, now()))'>

I get a "If the expression is a string, ensure that it is within quotes. Error: report.ModStat(query.soc_sec)

is not a valid ColdFusion expression." error message when I try to run the report.

Any help would be appreciated.

Thanks.

Infinite loop creating new page due to column header overflow.

$
0
0

i am getting an error and some pages "Infinite loop creating new page due to column header overflow. " --

 

using report builder 9, i have a fairly simple report - that contains 4 subreports.

 

for some pages i get the error - it seems if there is more data than would fit on 1 page.

smaller pages work fine.

the subreports are all simple queries and dumps....

containing page header, column header, detail sections.

page header has just a text bar of the name of the section.

column header has the field names

detail section has the data - 1 row for each row in the recordset.

 

nothing i do seems to change getting "Infinite loop creating new page due to column header overflow. " on a page with more than 15-20 records returned.

 

any ideas would be appreciated.


sub report data source at run time

$
0
0

I have a sub report and on the main report and I want to set up sub report and main report data soruce using stored procedures.

 

I have following code, it only runs sub report, but not main report has sub report on it.

 

I would like to know any way to set sub report and main report to run a report which has sub report on it,

 

Your help and information is great appreciated,

 

Regards,

 

Iccsi, 

 

<cfreport format = "PDF" template= "subReport.cfr"

      query = "#mysubStored#">

  </cfreport>

 

 

   <cfreport format = "PDF" template= "MainReport.cfr"

      query = "#mydata#">

  </cfreport>

  </CFIF>

insert sub report error message

$
0
0

Object: TfrmWizardTemplate, frmWizardTemplate

 

Exception:'String) into type (Boolean) when evaluation instruction OperEqual ($0' is not a value integer value

See error log for stack trace.

 

 

I got above error message while I insert a sub report to my report and I am unable to close Report Builde/ I had to use task manager to end task to close Report Builder.

The cancel, previouse, Next and Finish buttons are disabled on the sureport source form.

 

Your help and information is great appreciated,

 

Regards,

 

Iccsi,

how to hide a report builder field if it is zero

$
0
0

I am using Coldfusion Report Builder. If the value of a feild is zero, how can I hide it or show a blank. Keep in mind this field is a DollarFormat() field.

cfreturn variable return separate fields

$
0
0

I am creating a report in CF 10 report builder. I have a function that returns two separate fields in one variable I need to have the two fields returned separately, my output is an excel worksheet. Any advise will be greatly appreciated.

Stretch with overflow

$
0
0

I have a CF 10 report with an Excel Output format. One of my columns needs to stretch. When I set the Fromatting "Stretch with Over to True" and the Print Control "Position Type" to Floating and the "Stretch Type to Relative to Band Height" for all the fields on my detail I get an exxtra line in my excel output when there is an overflow condition. I am including an image of the output.Example.JPG

What am I missing?

Thanks

Viewing all 38309 articles
Browse latest View live