|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
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
|
|||
|
|||
|
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! |
|
#2
|
||||
|
||||
|
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! |
|
#3
|
|||
|
|||
|
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 |
|
#4
|
|||
|
|||
|
Quote:
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! |
|
#5
|
||||
|
||||
|
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? |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > ColdFusion Development > ColdFusion and Cristal Reports |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|