How to keep Crystal Reports 2008 (libraries, dlls) Load resident in memory
We have several C# programs that are called thru out the day which in turn call crystal to print a particular report. It takes forever on the first load and then if you proceed to print more they are quicker. From what I read that is because each time you call the Load it has to load up some libraries (which ones would be nice to know ?), does it check to see if these are already loaded in memory? If so is there a way to keep these loaded in memory so we don't have this delay everytime. We tried creating a service to have the Crystal up and running, but that didn't seem to work or we did it incorrectly.
Please re-post if this is still an issue to the .NET Development - Crystal Reports Forum or purchase a case and have a dedicated support engineer work with your directly.
Load a dummy report and keep it in memory so it keeps the dependencies in memory
Similar Messages
-
How to integrate Crystal Report 2008 with java
Currently we are using Crystal Report XI with our application, it is working fine. Now we are updating to Crystal Report 2008.
We have build our application in enterprise archive file. There is a web archive file(.war) file in the EAR file which contains the crystal report. Inside the .war file we have reports folder which contain jsps and rpt folder. the jsps folder contains the crystalreportviewers12 folder and .jsp files. The rpt folder contain the.rpt files. The WEB-INF which is at the reports folder leavel contains the classes and lib folder. The crystal report jars are in the lib folder and the CRConfig.xml file inside the classes folder. I replaced all the crystal report jar with Crystal Report 2008 jars, modified the web.xml and the CRConfig.xml file accordingly. When I opened the report it gave me an error.
When the following line was execuated in the jsp:
reportClientDocument.open(report, 0);
it gave me following error:
com.crystaldecisions.sdk.occa.report.lib.ReportSDKServerException: There is no server specified.---- Error code:-2147217390 Error code name:serverNotFound
at com.crystaldecisions.sdk.occa.report.lib.ReportSDKServerException.throwReportSDKServerException(Unknown Source)
at com.crystaldecisions.sdk.occa.report.application.ReportAppSession.do(Unknown Source)
at com.crystaldecisions.sdk.occa.report.application.ReportAppSession.int(Unknown Source)
at com.crystaldecisions.sdk.occa.report.application.ReportAppSession.initialize(Unknown Source)
at com.crystaldecisions.sdk.occa.report.application.ClientDocument.new(Unknown Source)
at com.crystaldecisions.sdk.occa.report.application.ReportClientDocument.new(Unknown Source)
at com.crystaldecisions.sdk.occa.report.application.ClientDocument.open(Unknown Source)
at com.ibm._jsp._MessageStatusRpt.jbInit(_MessageStatusRpt.java:196)
at com.ibm._jsp._MessageStatusRpt._jspService(_MessageStatusRpt.java:313)
at com.ibm.ws.jsp.runtime.HttpJspBase.service(HttpJspBase.java:87)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1146)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:592)
at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:524)
at com.ibm.wsspi.webcontainer.servlet.GenericServletWrapper.handleRequest(GenericServletWrapper.java:122)
at com.ibm.ws.jsp.webcontainerext.AbstractJSPExtensionServletWrapper.handleRequest(AbstractJSPExtensionServletWrapper.java:232)
at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3548)
at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:269)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:818)
at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1478)
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:125)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:458)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:387)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:267)
at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators(NewConnectionInitialReadCallback.java:214)
at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:113)
at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)
at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:196)
at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:751)
at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:881)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1497)
[1/15/10 17:37:40:703 IST] 00000026 ServletWrappe E SRVE0068E: Uncaught exception thrown in one of the service methods of the servlet: /reports/jsps/MessageStatusRpt.jsp. Exception thrown : java.lang.NullPointerException
at com.crystaldecisions.sdk.occa.report.application.ReportClientDocument.f(Unknown Source)
at com.crystaldecisions.sdk.occa.report.application.ReportClientDocument.getReportSource(Unknown Source)
at com.ibm._jsp._MessageStatusRpt._jspService(_MessageStatusRpt.java:314)
at com.ibm.ws.jsp.runtime.HttpJspBase.service(HttpJspBase.java:87)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1146)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:592)
at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:524)
at com.ibm.wsspi.webcontainer.servlet.GenericServletWrapper.handleRequest(GenericServletWrapper.java:122)
at com.ibm.ws.jsp.webcontainerext.AbstractJSPExtensionServletWrapper.handleRequest(AbstractJSPExtensionServletWrapper.java:232)
at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3548)
at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:269)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:818)
at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1478)
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:125)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:458)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:387)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:267)
at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators(NewConnectionInitialReadCallback.java:214)
at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:113)
at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)
at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:196)
at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:751)
at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:881)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1497)
[1/15/10 17:37:40:703 IST] 00000026 WebApp E [Servlet Error]-[/reports/jsps/MessageStatusRpt.jsp]: java.lang.NullPointerException
at com.crystaldecisions.sdk.occa.report.application.ReportClientDocument.f(Unknown Source)
at com.crystaldecisions.sdk.occa.report.application.ReportClientDocument.getReportSource(Unknown Source)
at com.ibm._jsp._MessageStatusRpt._jspService(_MessageStatusRpt.java:314)
at com.ibm.ws.jsp.runtime.HttpJspBase.service(HttpJspBase.java:87)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1146)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:592)
at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:524)
at com.ibm.wsspi.webcontainer.servlet.GenericServletWrapper.handleRequest(GenericServletWrapper.java:122)
at com.ibm.ws.jsp.webcontainerext.AbstractJSPExtensionServletWrapper.handleRequest(AbstractJSPExtensionServletWrapper.java:232)
at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3548)
at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:269)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:818)
at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1478)
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:125)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:458)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:387)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:267)
at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators(NewConnectionInitialReadCallback.java:214)
at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:113)
at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)
at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:196)
at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:751)
at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:881)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1497)Hello Ted,
As per the samples in the link provided by you I identified that the following statement was missing.
reportClientDocument.setReportAppServer(ReportClientDocument.inprocConnectionString);
After adding this statement the jsp was not able to compile, it gave me an error:
ReportClientDocument.inprocConnectionString cannot be resolved
Now my queries are:
1. What is Report Application server(RAS)?
2. Is it required to set Report application server in JSP page? It was not required in Crystal Reports XI. If YES, then how to configure RAS inside our applications WAR file?
3. I am using WebSphere Application Server for deploying the WEB Archive file (WAR file). The Crystal Reports 2008 library (JARS) are embedded inside the WEB-INF/lib folder. How to specify the RAS server inside thhe WAR file? Is it some XML configuration file which we have to keep at WEB-INF level? Or we have to modify the existing CRConfig.xml file?
4. I would like to mention here that we have bundled crystalreportviewers12/ folder in our WAR file at the same level where reports JSP pages exits.
Thanks in advance. -
How to connect Crystal Report 2008 server with SAP BI/BW server
Hi ,
I have downloaded the 60 Days trial version of "Crystal Report 2008 Server' from sap site to my machine. Now i would like to connect this Crystal server with SAP BI and want to use the data of BI Bex queries and Infoproviders.
Can you please guide me how to connect them?
Aslo how can i get the free trial version of Intergration kit ..here please provide me the entire full path of site(to download the Integration Kit).....
Any inputs would be appreciated!!
Regards,
NaweenHi Michelle,
Older versions of CR would allow you to run CR from a network share point but you still had to have a license for each user. Current versions of CR do not allow you to do this any more, possibly using a Citrix or Terminal Server would allow this but you still need a license for each user. Older versions had a Network install option.
And as suggested exporting to PDF or some other format is fine for end users viewing your output. They are not using CR but Adobe Reader or Word etc. to view the reports, they just can't use the Designer to view the reports.
Hope this is clear now?
Thank you
Don -
How to configure Crystal Reports 2008 and IIS7 and Windows Server 2008?
I have downloaded and installed the trial for Crystal Reports 2008 on our Windows 2008 server. I can open Crystal Reports on the server just fine, but I get HTTP 500 errors when I attempt to view a report hosted on that server via the web.
As far as I can tell, the handler mappings in IIS7 are not configured properly, although I confirmed that the Crystal Reports 2008 install did add several handlers. I read that I must configure the application pool to enable 32-bit applications. I did that and am still getting the same error. Documentation seems sparse and I've spent the better part of the day searching the forum here with no luck. What am I missing?Don,
Thank you for the quick response!
We will ultimately be using ASPX/C#, but this simple case has a very basic report with no databind, just a single text label that reads "test succeeded" and I'm attempting to access it by direct URL (i.e. "http://192.168.99.21/crystalreportviewers12/test.rpt"). This works on our Windows 2000 server running Crystal Reports 8.
I've also tested with a simple test.aspx file with only the line "Response.Write(System.DateTime.Now.ToString())" and that works just fine. This file is in the same folder as the test.rpt file.
If I leave the Application Pool set for the "Integrated" managed pipeline mode, I continue to get a rather generic "500 - Internal server error". If I switch it to "Classic", I get the following error:
Failed to Execute URL.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Web.HttpException: Failed to Execute URL.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[HttpException (0x80004005): Failed to Execute URL.]
System.Web.Hosting.ISAPIWorkerRequestInProcForIIS6.BeginExecuteUrl(String url, String method, String childHeaders, Boolean sendHeaders, Boolean addUserIndo, IntPtr token, String name, String authType, Byte[] entity, AsyncCallback cb, Object state) +2004965
System.Web.HttpResponse.BeginExecuteUrlForEntireResponse(String pathOverride, NameValueCollection requestHeaders, AsyncCallback cb, Object state) +390
System.Web.DefaultHttpHandler.BeginProcessRequest(HttpContext context, AsyncCallback callback, Object state) +223
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +8674594
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +155 -
How to create crystal report 2008 with running totals?
i want to create a report with running totals as follows:
Balance B/F 1000.00
Invoices Receipts Running B/ce
100 1100
500 600
500 100
300 400
400 0
The B/F field is passed as a Parameter.Hi panayiotis,
In order to create a running total you need to have absolute clarity on the following:
(i)Whether the running total be set on change of field/record/group.
(ii)Whether the running total be set on change of record/group OR never.
Make the appropriate choice.
Apply this to the field to summarize and type of summary in Running Total Pane.
Thanks,
Amogh. -
Crystal Reports 2008: Failed to load database information
Hi,
I have an application (windows forms) that loads a report as a ReportDocument, and prints it to a predefined printer.
This report is drawing its data from an xml file with an xml schema, both of which have hardcoded paths in the report.
I have built the project into an installer and have installed it on my local machine. Works great, prints fine.
However whenever I install it on another machine (and thus deploy the redistributable) I get the following error when the user tries to print.
CrystalDecisions.CrystalReports.Engine.DataSourceException: Failed to load database information.
Error in File temp_b647a5f7-7ab3-4f76-8154-0063f3b2b394 {1ADFD95E-D1A2-42A9-AC96-E8DBE2B9940A}.rpt:
Failed to load database information. ---> System.Runtime.InteropServices.COMException (0x800002CD): Failed to load database information.
Error in File temp_b647a5f7-7ab3-4f76-8154-0063f3b2b394 {1ADFD95E-D1A2-42A9-AC96-E8DBE2B9940A}.rpt:
Failed to load database information.
I have narrowed the exception in my code down to the following line (which I don't think is the problem)
LabelToPrint.Load(Util.workingDirectory + "Labels\\" + fileName + ".rpt");
LabelToPrint.PrintToPrinter(ps.PrinterSettings, ps, false);
Is there something that I need to set up on the users system that I don't know about? Could the system not have ODBC capability? Any help would be greatly appreciated.
Thanks,
~Adam
PS. I am using VS2008A sugestion and a question:
Make sure you are using SP 2:
https://smpdl.sap-ag.de/~sapidp/012002523100009038092009E/cr2008win_sp2.exe
msm:
https://smpdl.sap-ag.de/~sapidp/012002523100009159092009E/cr2008sp2_mm.zip
msi:
https://smpdl.sap-ag.de/~sapidp/012002523100009159002009E/cr2008sp2_redistinstall.zip
How are you conencting to the xml? Native (crdb_xml.dll), ODBC, etc.?
Ludek
Follow us on Twitter http://twitter.com/SAPCRNetSup -
Crystal Reports 2008 - PDF Digital Signatures
Hello All,
I'll appreciate if somebody can help me with a customer requirement.
We are using .NET Crystal Reports 2008 libraries to render reports, basically, programatically we open an RPT file, inyect data vía XML and render the report. Everything works fine, and the same .NET component let us to get a PDF version of the report.
What we need to do now, according to our customer's requirement is how to add a Digital Signature to the PDF report.
The one million question is: Is there any way using Crystal Reports 2008 .NET Libraries to add a Digital Signature to a report (in its PDF version)???
Thanks in advance for your Help
AdriáAt least one of the 3rd-party Crystal report Desktop Scheduling tools listed at: http://www.kenhamady.com/bookmarks.html
provides this functionality. -
How to use CRAXDDRT.DLL in crystal report 2008?
Hello All,
We have purchased Crystal report 2008 Full software.
We need to insert BLOB field into Crystal report 2008 at runtime using *CRAXDDRT.DLL*.
How can I insert OLE object and bind it at Runtime using crystal report 2008?
Is it possible to insert Ole Object runtime using crystal report 2008? If yes how and if not is there alternative to perform this job.
Please let me know your feedback.
ThanksCrxDDrt.dll is only provided in order for the Crystal Reports designer in the .NET IDE.
1) You are not licensed to use this CraxDDrt.dll
2) Even if you were, in previous versions of CR, there were licensing implications to using the craxDDrt.dll (read $$)
3) Once your project would be done, using CR 2008, you would not be able to distribute the runtime as there is no CR MSM or MSI that contains the craxDDrt.dll and it's supporting runtime.
In your original post you say:
"I need to show Word and Pdf file in to Crystal report 2008 using CRAXDDRT.DLL";
I do not understand why you'd need to do this using the craxddrt.dll? You should be able to insert a BLOB field using the RAS SDK for .NET and CR 2008. Now, one hting you will have to keep in mind. If you insert a multipage .doc or .pdf file into the report, you will only get the first page of that document. I suggest you try this in the CR designer first. Always remember that if you can not do a certain thing in the designer, you will not be able to do it at runtime either. Giving all the limitations above, if you are still interested in doing this using RAS, let me know and I'll set you up with some resources to get you going.
Ludek -
Invalid export DLL or export format" with Crystal Reports 2008 to Excel xls
We are experiencing the same issue as reported in the sticky thread. I answered in that thread, but thought that I woudl open a new thread to keep track of this issue. I can give you the responses to your questions you have requested in that thread:
Server Operating System - MS Windows Server 2003 R2 Enterprise Edition SP2
Version of the .NET Framework - MS .NET Framework 3.5 SP1
How did you deploy? - Installed CR 2008 SP1 runtime with msi package
If you deployed with CRRuntime_12_0_mlb.msi - what was the date of the file and its size? CRRuntime_12_1_mlb.msi dated Sept. 16, 2008 12:55:00 PM, size: 56,717,824 bytes
What is the file version of crpe32.dll on your server? You'll find this in the C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86 directory - File was created 9/13/08 11:21AM, 9451KB File Version: 12.1.0.882
How many libpng10.dll files are on your system? List all instances. - 1 instance is on the system located in C;\Program Files\Business Objects\Business Objects Enterprise 12.0\win32_x86 directory. It is dated 9/13/08 8:52:26AM 132KB version 1.0.30.1
Any additional comments - We have tried to export to PDF and this works successfully. However, we can not export to xls or rft formats.
CRXF_XLS.dll is 905KB 9/13/08 9:38AM Version 12.1.0.882
CRXF_RTF.dll is 509KB 9/13/08 9:35AM Version 12.1.0.882
We also have the CR XIR2 server runtime installed side by side on the server as we migrate from CR 2008 to CR XIR2 SP4 ( where this function does work currently).
Please let me know if you need anything additional.
Phil
"Invalid export DLL or export format" with Crystal Reports 2008
Posted: Sep 27, 2008 12:36 AM E-mail this message Reply
I've included this sticky because we are seeing many posts in this forum regarding the error Invalid export DLL or export format when exporting to Excel and RTF in .NET applications using the Crystal Reports 2008 .NET SDK.
Issue
Exporting a Crystal Report to Excel or RTF format
.NET application using the Crystal Reports 2008 runtime (version 12.0)
error Invalid export DLL or export format
We've been doing some testing in-house and haven't reproduced this behavior. In order to figure this issue out we will need your help. If you are getting this error please reply to this post with the following information:
Server Operating System
Version of the .NET Framework
How did you deploy?
If you deployed with CRRuntime_12_0_mlb.msi - what was the date of the file and its size?
What is the file version of crpe32.dll on your server? You'll find this in the C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86 directory
How many libpng10.dll files are on your system? List all instances.
Any additional comments
What We Know
The error invalid export DLL or export format may occur when exporting to Excel and RTF formats in .NET applications utilizing the Crystal Reports 2008 runtime (v 12.0)
Other export formats like Adobe PDF, Crystal Reports, CSV all export with no error
Some customers have resolved this by adding C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86 to their environment path variables
This may have something to do with the file libpng10.dll. Both crxf_xls.dll and crxf_rtf.dll are dependent on it.
Thanks in advance for your co-operation. We hope to figure out what is causing this issue soon.Hi,
I am also having the same problem, except that I am not using Crystal Report 2008 runtime but the actual Crystal Report 2008 installation on Windows XP SP2 with VS Studio 2005 (VC++). MS .NET Framework 2.0.
Cyrstal Report XIR2 was installed on the same machine but uninstalled before installing Crystal Report 2008.
So only one instance of libpng10.dll and found in C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86
Crpe32.dll 3/1/2008 version 12.0.0.683
Crxf_xls.dll 3/1/2008 version 12.0.0.683
Crxf_rtf.dll 3/1/2008 version 12.0.0.683
crdb_oracle.dll 3/1/2008 version 12.0.0.683
libpng10.dll 3/1/2008 version 1.0.30.0 122880 bytes
There is no problem for exporting to pdf, html, word, csv, Crystal Report. If I create a testing report without any data from database, the testing report can then be exported also to rtf and xls.
Oracle 11.1.0.6 is the DB for the reports.
Adding C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86 to the path did not resolve my problem.
Any idea to fix this issue?
Thanks
Kin H Chan -
Crystal Reports 2008-Vista-ERROR-crw32.exe Entry Point Not Found in dll
Hi Experts,
I just installed the Crystal Reports 2008 (with SP0) on my Vista (Home) machine. When I try to start the CR 2008, I am getting the below error message:
Error Title: crw32.exe - Entry Point Not Found
Error Message: The procedure entry point ?PrintLegend@CMapXLegend@CSLib300@@QAEXJJJJJ@Z could not be located in the dynamic link library cslibu-3-0.dll
Here are the things I tried to resolve the above problem:
1) Uninstall and Reinstall the CR 2008. - No change.
2) I configured the DEP to accept Crystal Reports (Performance - Advanced - DEP allow).
None of these seem fix the problem.
Can you please help me kick start the Crystal Reports 2008?
Thanks,
ArunPlease try with this:
Run a command prompt as administrator. From the start menu, select "All Programs", then "Accessories" and right-click on the "Command Prompt" shortcut and choose "Run As Administrator". From here you can use the following command to disable Data Execution Prevention (DEP) with the following command:
bcdedit.exe /set nx AlwaysOff
Keeping your command prompt open, run your setup or other process being stopped by DEP. Then, to turn it back on again, do the same and run the following:
bcdedit.exe /set nx AlwaysOn
Regards,
Shweta -
How to overcome the Memory leakage issue in crystal report 2008 SP2 setup.
I have developed the small windows based application tool with help of Visual studio 2008 for identify the memory consumption of crystal report object. It helps to load the crystal report objects in the memory and then released the object from the memory. The tool simply does the u201CLoading and Unloadingu201D the objects in the memory.
The tool will be started once u201CTest_MemoryConsumption.Exeu201D executed. The u201CTest_MemoryConsumption.Exeu201D consumes u201C9768 KBu201D memory before load the crystal report object in memory. It means, 9768 KB is normal memory consumption for run the tool.
Crystal report object initiated by the tool and object help to load the report in memory once the tool initiated the crystal report object. Now u201CTest_MemoryConsumption.Exeu201D consumes u201C34980 KBu201D memory during the crystal report object creation and report load process. The actual memory consumption of crystal report object is 34980u20139768=u201C25212u201DKBu201D.
The memory consumption u201C34980 KBu201D will be continued till the end of the process. The memory consumption will be reduced to u201C34652 KBu201D from u201C34980 KBu201D once report load process completed. It means, u201C328 KBu201D memory only released from the memory consumption. Tool enables the Release command for the crystal report object. But crystal report object does not respond to the command and will not release his memory consumption.
The memory consumption u201C34652 KBu201D will be stayed in the memory once job ends. If i again initiate the crystal report object then it crystal report object start to consume the memory from 34652 KB.
Database objects and crystal report objects are properly used in the tool. The object release commands properly communicated to crystal report setup. But the u201CCrystal report service pack 2u201D setup unable to respond the commands which has enabled from .Net Tool. Crystal report objects are properly initiated and disposed in the tool. But the crystal report unable to release from the server.
The memory consumption will be reduced once the server restarted or kill the application.
Crystal report 2008 and crystal report 2008 SP2 setup available in the server.
Microsoft .Net Framework 2.0 SP2, Microsoft .Net Framework 3.0 SP2 and Microsoft .Net Framework 3.5 SP1 are available in the server,
Could you please suggesst how to avoid the memory consumption keep increasing and how to release the memory consumption once the crystal object disposed???Hi Don..
My case is different one. I hope, the problem with Run time Installation setup file (Crystal report 2008 Serivce Pack2 installer) which we installed in the server.
Let me explain with Live scenario which our client faced in crystal report 2008 Service pack2 Installer.
Our client is using a application to help to print their reports. The application is developed with Windows service.
Windows service keep on running in the server. Windows service executes the client 's crystal reports( Labels Report, Stock report) which designed for clients need and the reports will be printed from printer.
10 Same type report (Label Report) will be printed in 1 minute. Reports are not printing during non business hours. But the windows service keep on running. Memory cosumption of application will be 160 MB in business hours.
For Example, On Monday the application memory consumption starts with 160 MB. The Memory consumption will be reached 165 MB in peak business hours. Then the memory will be ended in163 MB in the End of Monday. It means, The memory consumption will be in 163 MB during the non business hours. Reports will not be printed in non business hours.
On Tuesday, the application memory consumption starts with 163 MB and it will be reached 168 MB during the peak hours. The Memory consumption will be ended in 165 MB in the end of Tuesday. The same process contiues till friday. End of friday, the memory consumption of the application will be ended with 170 MB.
Application Memory Consumption slowly increasing in the server. In 5 days, Memory consumption reached Threshold value (170 MB) of the server. Application gets hanged up once the memory consumption reached 170 MB. We got the error messages as "Attempted to read write protected memory " / "Not Enough memory for process". If we restart server / If we restart the service then memory consumption of application get reduced to 160 MB.
From the above scenario, We came know that the either the problem with Application object or the problem crystal report object. In the application, We have checked dispose methods of application objects completly. I am sure that application objects are properly disposed in the application. I hope the problem not with application objects. The problem with Crystal report objects.
Application properly communicates the dispose methods to crystal report objects. Crystal report objects are not released from
the memory.
Crystal report 2008 Serive Pack 2 setup installed in the server.
As you said, If Crystal report runtime is not released from memory then memory consumption keep increase??? In service oriented architecture application, how to unload the crystal report runtime??
Do you any fix for this kind of issue??
Willl Crystal report 2008 service pack 3 help on this issue?? -
Problem with keydecoder.dll in Crystal Reports 2008 Trial Version
Hello,
My company is interested in purchasing Crystal Reports 2008 and has asked me to download and try the trial version. However, I have been running into a keydecoder.dll problem. Setup was smooth and here are the details:
Problem message:
"Crystal Reports: Application Error Couldn't load keydecoder.dll"
I have Windows Vista and I have already configured all permissions and administrative rights to the problem to full control. I have also attempted to drag the keydecoder.dll application extension out of win32_x86 to the file folder crystal reports 2008. I have also already attempted to reinstall and making a new program file location named 'Crystal Reports 2008'.
I'm running out of ideas and would appreciate some help. Thank youHi Key,
I have found a business objects Note 1198801.
Please have a look to it.
We can find Business objects Note/KBase from here
[https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_ossnotes&query=&adv=true#]
For your reference have a look to content of that Note:-
1198801 - Error: "Crystal Reports: Application Error - Couldn't load the keydecoder.dll" when attempting to start Crystal Reports XI
Symptom
When attempting to start Crystal Reports XI, the following error message appears:
"Crystal Reports: Application Error - Couldn't load the keydecoder.dll".
Cause :
The error message occurs because the CommonFiles entry has the wrong path in the registry.
Resolution :
CAUTION The following resolution involves editing the registry. Using the Registry Editor incorrectly can cause serious problems that may require you to reinstall the Microsoft Windows operating system. Use the Registry Editor at your own risk. It is strongly recommended that you make a backup copy of the registry files before you edit the registry. For information on how to edit the registry key, view the 'Changing Keys And Values' online Help topic in the Registry Editor (Regedit.exe).
To resolve the error message
Click Start > Run. The Run dialog box appears.
Type "regedit" in the Open: text field. Click OK. The Registry Editor appears.
Navigate to the following key: HKEY_LOCLAL_MACHINESOFTWAREBusiness ObjectsSuite 11.5Crystal Reports.
Double-click the CommonFiles string. The Edit String dialog box appears.
Ensure that the path points to the location of <installation directory>Common3.5 in.
For example, the default location is the following: C:Program FilesBusiness ObjectsCommon3.5 in.
Edit the path as necessary.
Click OK. Close the Registry Editor.
Crystal Reports starts successfully.
Hope that helps!!
Regards,
Shweta -
Alternative to craxddrt dll in crystal report 2008
Hi,
I have been using crystal report 8.5 where there was a control called RDC for end users to design the report which uses craxddrt dll. Now we have purchased crystal report 2008 and we have the same requirement but since RDC is not supported now, could you please guide how to implement the logic of RDC in Crystal report 2008 with Visual Studio 2008?
Your help will be appreciated.
Regards,
VibhutiHi, Vibhuti;
It's not that the RDC is not supported with CR 2008, it does not exist. You will have to use the .NET assemblies.
See the thread at the top of this forum for some getting started tips:
Read Before Posting - Where to find Crystal Reports .NET SDK resources
You can find some samples here:
http://wiki.sdn.sap.com/wiki/display/BOBJ/CrystalReportsfor.NETSDK+Samples
Regards,
Jonathan
Follow us on Twitter u2013 http://twitter.com/SAPCRNetSup -
"Invalid export DLL or export format" with Crystal Reports 2008
I've included this sticky because we are seeing many posts in this forum regarding the error Invalid export DLL or export format when exporting to Excel and RTF in .NET applications using the Crystal Reports 2008 .NET SDK.
Issue
- Exporting a Crystal Report to Excel or RTF format
- .NET application using the Crystal Reports 2008 runtime (version 12.0)
- error Invalid export DLL or export format
We've been doing some testing in-house and haven't reproduced this behavior. In order to figure this issue out we will need your help. If you are getting this error please reply to this post with the following information:
- Server Operating System
- Version of the .NET Framework
- How did you deploy?
- If you deployed with CRRuntime_12_0_mlb.msi - what was the date of the file and its size?
- What is the file version of crpe32.dll on your server? You'll find this in the C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86 directory
- How many libpng10.dll files are on your system? List all instances.
- Any additional comments
What We Know
- The error invalid export DLL or export format may occur when exporting to Excel and RTF formats in .NET applications utilizing the Crystal Reports 2008 runtime (v 12.0)
- Other export formats like Adobe PDF, Crystal Reports, CSV all export with no error
- Some customers have resolved this by adding C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86 to their environment path variables. Note the system must be restarted after editing the path variable.
- This may have something to do with the file libpng10.dll. Both crxf_xls.dll and crxf_rtf.dll are dependent on it.
- libpng10.dll has changed versions from SP0 to SP1. In SP0 it was 1.0.30.0 and in SP1 it is 1.0.30.1
libpng10.dll dependencies
The dependencies have also been updated for libpng10.dll in service pack 1. This may have something to do with the export issue. If you've deployed your application with the latest merge modules or setup package for service pack 1 you'll want to make sure you have version 1.0.30.1 of libpng10.dll.
Version 1.0.30.0
- zlib.dll
- msvcr71.dll
- kernel32.dll
Version 1.0.30.1
- boezlib.dll
- msvcr80.dll
- kernel32.dll
Thanks in advance for your co-operation. We hope to figure out what is causing this issue soon.
Edited by: David Hilton on Jan 14, 2009 10:07 AMOur company has also been experiencing this issue with deployed versions of our software, and during my examination of the error I have made the following discoveries:
For us the error has only been reproduced on Windows 2003 running Citrix
The error does not occur on Windows XP, Windows 2003 or Vista without Citrix
For installation of our application we use the CRRuntime_12_0.msm merge module (version 12.0.0.683, file size 46790KB)
As mentioned in the first post this error is related to the files crxf_rtf.dll and cfxf_xls.dll being unable to locate its reference to the file libpng10.dll during load.
I have run the application with ProcMon (http://technet.microsoft.com/en-us/sysinternals/bb896645.aspx) attached on both environments that work correctly and that does not work and iIve made these observations:
During load of dlls Windows searches for references in the following orders (see http://msdn.microsoft.com/en-us/library/ms682586.aspx):
1. The directory from which the application loaded.
2. The system directory.
3. The 16-bit system directory.
4. The Windows directory.
5. The current directory.
6. The directories that are listed in the PATH environment variable.
Looking at the ProcMon log for the environment where it works correctly (Windows XP, no Citrix) it looks like this . Numbers represent the search order mentioned above:
Load Image C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\crxf_rtf.dll SUCCESS Image Base: 0x3e640000, Image Size: 0x79000
(1) QueryOpen C:\Program Files\<our application name>\libpng10.dll NAME NOT FOUND
(2) QueryOpen C:\WINDOWS\system32\libpng10.dll NAME NOT FOUND
(3) QueryOpen C:\WINDOWS\system\libpng10.dll NAME NOT FOUND
(4) QueryOpen C:\WINDOWS\libpng10.dll NAME NOT FOUND
(5) QueryOpen C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\libpng10.dll SUCCESS ...
So you can see it finds the file in the "current directory"
Now, from the environment where it does not work (Windows 2003 Server / Citrix):
Load Image X:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\crxf_rtf.dll SUCCESS Image Base: 0x3e640000, Image Size: 0x79000
(1) QueryOpen X:\Program Files\<our application name>\libpng10.dll NAME NOT FOUND
(2) QueryOpen X:\WINDOWS\system32\libpng10.dll NAME NOT FOUND
(3) QueryOpen X:\WINDOWS\system\libpng10.dll NAME NOT FOUND
(4) QueryOpen X:\WINDOWS\libpng10.dll NAME NOT FOUND
(5) QueryOpen X:\Documents and Settings\<my user name>\WINDOWS\libpng10.dll NAME NOT FOUND
(6) QueryOpen ... loops trough all paths in the PATH variable, finding nothing
As you can see somehow the current directory is %USERPROFILE%\WINDOWS and not the Crystal Reports bin path in this environment at the time of loading the dll.
I have yet to discover why this is the case, but i tought i could share what I have found =)
The %USERPROFILE%\WINDOWS folder is not a standard Windows folder, and I think it is used by Citrix for some files (like win.ini)
This also shows why adding the bin folder to the PATH variable is a valid workaround for some, but for us this is not really a good solution as we need this to work out of our installer. We don't always have consultants do the installations for the customers and we cannot expect them to manually edit the PATH variable, and we don't want to add to the PATH variable in the installer unless this is the only way...
So, I hope this maybe can bring you closer to being able to reproduce it. I'm still looking into it, will post more if I find something else interesting -
How to get Description of parameter filed in Crystal report 2008
Hi expert,
I am creating a crystal report from Query ,which is created in BEX Query designer 7.
In query designer i have some selection variable.
The requirement from clint is that they want to see what value is selected for all variable.
when i tried to put all parameter field in crystal report it is showing only Technical name of value selected not description and also it show only for variable which is single value variable not for the range value variable and multiple selection variable.
can any one help me How to get description of value in report and can it is possible to show Range value and multiple value for a particular variable .
i am using Crystal report 2008 SP3 version.
Thanks and regards
devendraMoved to BEx forum
Maybe you are looking for
-
I have a large number of photos imported into iPhoto with the dates wrong. How can I adjust multiple photos (with varying dates) to the same, correct, date?
-
Can't login to obiee 11g analytics
Hi Guys, Client has installed obiee 11g in a server sitting at different place. We have deployed our own repository and catalog. Now we can't login to obiee analytics. It does not accept any username or password created in weblogic console. But if we
-
I just upgraded to the Edge program, do I need to turn in my old phone that I purchase? Im confused because I got my new phone in the mail, and the instructions say to return my old phone, which I did not receive under the Edge program.
-
URGENT EDL errors, deadling coming up
My friend is having a problem importing an EDL from Canopus Edius into FCP. She is in the bush and does not have access to reliable internet. Please help. THANKS. HEre is her message below Hi, I've been trying to export an EDL from edius 4.52 to Fina
-
How much data roaming do i need?
Hello. I'm going to be taking my US (ATT) iphone 4S to Europe for 9 days. I'll be using it for work/play so want to make sure i have enough data. The biggest bundle ATT offers is 800 megs, for $120. Just wondering if this will be enough for average t