ColdFusion Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - MoreColdFusion Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
  #1  
Old May 9th, 2008, 12:15 PM
dba_raf dba_raf is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2008
Posts: 6 dba_raf User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 54 m 13 sec
Reputation Power: 0
ColdFusion and Cristal Reports

Hi,
I've this software installed:

O.S. Windows 2000 server
ColdFusion MX 6.1
Autodesk Whip
Internet Explorer 6.0

When I run on link of ColdFusion I get this error:
"Sorry, your current version of ColdFusion does not support Crystal reports.
Please contact Macromedia regarding the support of Crystal reports with ColdFusion."

I hanven't installed Cristal Report.

I copied the crpe32.dll file from the C:\Program Files\Common Files\Crystal Decisions\2.0\bin directory to the C:\Winnt\system32 directory BUT I have same error.

Have someone any idea How Can I resolve this problem?

Thanks in advance!

Reply With Quote
  #2  
Old May 9th, 2008, 01:12 PM
Ebot's Avatar
Ebot Ebot is offline
Meatball Surgeon
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Jul 2004
Location: Elbow deep in code
Posts: 1,040 Ebot User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Ebot User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Ebot User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Ebot User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Ebot User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Ebot User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Ebot User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Ebot User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Ebot User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Ebot User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Ebot User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)  Folding Points: 10015 Folding Title: Novice Folder
Time spent in forums: 1 Week 3 Days 3 h 37 m 17 sec
Reputation Power: 462
I'm assuming since your haven't installed Crystal reports, then your not using Crystal Reports, so its probably something with your code. Can you post some?
__________________
The liver is evil and must be punished!

Reply With Quote
  #3  
Old May 9th, 2008, 01:43 PM
kiteless kiteless is offline
Moderator
Dev Shed Loyal (3000 - 3499 posts)
 
Join Date: Jun 2002
Location: Raleigh, NC
Posts: 3,475 kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level)kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level)kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level)kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level)kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level)kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 1 Week 3 Days 17 h 7 m 51 sec
Reputation Power: 42
From the CF documentation (I'm not sure if this works on CFMX 6.1 or not since 6.1 over 5 years old):

Creating reports with Crystal Reports (Windows only)

When running on Windows, the cfreport tag also supports the execution of reports created using Crystal Reports version 9 or 10.

Note: When you install Crystal Reports, you must select the Enable export to HTML and Enable export to Disk options. These options are not enabled by default, so you must use the Custom Install option.
To invoke a Crystal Report report definition using the cfreport tag:

1. Create a report definition in Crystal Reports.
2. Create a CFM page and add a cfreport tag that invokes the Crystal Reports report definition. The following example shows the cfreport tag invoking a Crystal Reports report definition and passing a filter condition:

<cfreport report = '/reports/monthlysales.rpt'>
{Departments.Department} = 'International'
</cfreport>

3. Open a browser and display the CFM page.

Tip: ColdFusion MX uses COM to call Craxdrt9.dll for Crystal Reports version 9, and Craxdrt.dll for Crystal Reports version 10. If you have problems with the cfreport tag, ensure that these DLLs are registered and, if not, use regsvr32 to register them (the default location for these DLLs is C:\Program Files\Crystal Decisions\Report Designer Component\).

For complete information on defining reports in Crystal Reports, see the Crystal Reports documentation.
__________________
Ask if you have a question, but also help answer questions that you have knowledge of! Thanks, Brian.
How to Post a Question in the Forums

Reply With Quote
  #4  
Old May 9th, 2008, 04:46 PM
dba_raf dba_raf is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2008
Posts: 6 dba_raf User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 54 m 13 sec
Reputation Power: 0
Quote:
Originally Posted by Ebot
I'm assuming since your haven't installed Crystal reports, then your not using Crystal Reports, so its probably something with your code. Can you post some?


Ebot,
This is my code (file: prfinsum.cfm)

<HTML>
<HEAD><TITLE>Property Financial Summary - <CFOUTPUT>#Cookie.AFMDSN#</CFOUTPUT></TITLE></HEAD>
<CFIF IsDefined("URL.SuperCat")>
<CFCOOKIE NAME="hotlist_SuperCat" VALUE=#URL.SuperCat# >
</CFIF>
<CFIF IsDefined("URL.Cat")>
<CFCOOKIE NAME="hotlist_Cat" VALUE=#URL.Cat# >
</CFIF>

<BODY alink="fuchsia" >


<TABLE>
<tr><td><a href="/afm/afm_hotlist.cfm">
<IMAGE SRC="/afm/afminet.gif" ALT="ARCHIBUS/FM" ALIGN=CENTER BORDER="0"></a></td>
<td colspan=3 ALIGN=LEFT>
<Font face="Arial" size="+2">
<b> Property Financial Summary </b></FONT>
</td>
</tr>
</TABLE>
<cftry>
<CFREPORT REPORT="#GetDirectoryFromPath(GetTemplatePath())#prfinsum.rpt" DATASOURCE=#Cookie.AFMDSN#>
</CFREPORT>
<cfcatch type = "Any">

<table align="center">
<tr><td height="40"></td></tr>
<tr><td>
<Font face="Arial" size="+1">
Sorry, your current version of ColdFusion does not support Crystal reports.<br/>
Please contact Macromedia regarding the support of Crystal reports with ColdFusion.
</Font>
</td></tr>
</table>

</cfcatch>

</cftry>

</BODY>
</HTML>

I tried to connect with debugging and I get thi error:

Exceptions

23:46:55.055 - coldfusion.tagext.lang.CFReportTagException - in E:\Inetpub\wwwroot\afm\reports\prfinsum.cfm : line 25
An unexpected error occurred while using the Crystal Engine. Error number 536 ocurred (Error in File E:\INETPUB\WWWROOT\AFM\REPORTS\PRFINSUM.RPT:
Unable to connect: incorrect log on parameters.).


Have you any idea?

Thanks!

Reply With Quote
  #5  
Old May 12th, 2008, 06:28 AM
Ebot's Avatar
Ebot Ebot is offline
Meatball Surgeon
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Jul 2004
Location: Elbow deep in code
Posts: 1,040 Ebot User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Ebot User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Ebot User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Ebot User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Ebot User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Ebot User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Ebot User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Ebot User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Ebot User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Ebot User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Ebot User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)  Folding Points: 10015 Folding Title: Novice Folder
Time spent in forums: 1 Week 3 Days 3 h 37 m 17 sec
Reputation Power: 462
well, since you using Cristal reports, the first thing i would do is follow kiteless' instructions and install Cristal Reports on your server.

You are also catching the error from the report, what is the real error that the CF server gives to you?

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreColdFusion Development > ColdFusion and Cristal Reports


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

 Free IT White Papers!
 
Accelerating Trading Partner Performance
One in five. That's how many partner transactions have at least one error. That is an amazing statistic, particularly given the extraordinary leaps in innovation across the global supply chain during the past two decades. Download this white paper to learn more.

 
Competing on Analytics
This Tech Analysis is designed to help identify characteristics shared by analytics competitors, and includes information about 32 organizations that have made a commitment to quantitative, fact-based analysis.

 
Cost Effective Scaling with Virtualization and Coyote Point Systems
An overview of the industry trend toward virtualization, how server consolidation has increased the importance of application uptime and the steps being taken to integrate load balancing technology with virtualized servers.

 
Five Checkpoints to Implementing IP Telephony
Implementation planning for IP PBX software and IP telephony has become vital as businesses replace discontinued legacy PBX phone systems. This informative whitepaper outlines five "checkpoints" for any implementation plan that will help make IP communications a successful proposition.

 
Hosted Email Security: Staying Ahead of New Threats
In the last two years, email has become a fierce battleground between the nefarious forces of spam and malware, and the heroes of messaging protection. The spam volumes increased alarmingly every month, bringing clever new forms of phishing and virus propagation attacks.

 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway