ACCESS DATABASE CONECTION WITH CRYSTAL REPORT XI
Hello
During many years we have been working with the CRYSTL32.OCX of the CR version 8.
Recently we have had to upgrade to CR XI Release 2 and many things are totally different.
Can somebody send me some example of using Visual Basic 6 to connect MSAccess Database 97 with CR XI versión ?
I supposse has not to be complicate because it is a very simple database but till now I have not got
it !!!
Thanks in advance
Well, the OCX was retired in CR 8.5. Your option now is to port your app to the report Designer Component (RDC). Another option is to go with the CR assemblies for .NET. I'd recommend the latter as the RDC has been retired in the currently shipping version of Crystal Reports, CR 2008 (12). Let me know which technology you choose and I'll supply links that will get you started.
Ludek
Similar Messages
-
Problem with Crystal reports for Eclipse and Postgres-databases
Hi,
Is there a known problem when using a PostgreSQL-database to create a report with Crystal reports Plugin? When I drag a table, then occurs a error-windows, that the object can't created.
I have found a workaround for solving the problem. After new installing Eclipse Platform Version: 3.4.1 Build id: M20080911-1700 and Crystal reports Plugin 11.8.6.v1371 with JRE 1.6.0_01 the error message allways occurs, when I select a table from a PostgreSQL database (Version 8.2). After restarting eclipse you see the last selected tables in the field explorer and you can drag the table fields in the report. A repeated choice of the same table causes aliases for the table in the field explorer after restarting eclipse.
Error.log:
eclipse.buildId=M20080911-1700
java.version=1.6.0_01
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE Command-line arguments: -os win32 -ws win32 -arch x86
Error
Tue Dec 16 14:03:53 CET 2008
Verursacht durch: java.lang.IllegalArgumentException
com.businessobjects.crystalreports.designer.core.ReportException: java.lang.IllegalArgumentException
at com.businessobjects.crystalreports.designer.core.ExceptionFactory.B(Unknown Source) at com.businessobjects.crystalreports.designer.core.ExceptionFactory.create(Unknown Source) at com.businessobjects.crystalreports.designer.core.elements.data.TableElement.add(Unknown Source) at com.businessobjects.crystalreports.designer.core.commands.AddCommand.doCommand(Unknown Source) at com.businessobjects.crystalreports.designer.core.commands.ReportCommand.C(Unknown Source) at com.businessobjects.crystalreports.designer.core.commands.ReportCommand.execute(Unknown Source) at com.businessobjects.crystalreports.designer.CoreCommand.execute(Unknown Source) at com.businessobjects.crystalreports.designer.dseintegration.DSEDropHandler.drop(Unknown Source) at org.eclipse.jface.util.DelegatingDropAdapter$3.run(DelegatingDropAdapter.java:211)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at org.eclipse.core.runtime.Platform.run(Platform.java:880)
at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:48)
at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175)
at org.eclipse.jface.util.DelegatingDropAdapter.drop(DelegatingDropAdapter.java:209)
at org.eclipse.swt.dnd.DNDListener.handleEvent(DNDListener.java:90)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1027)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1012)
at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:770)
at org.eclipse.swt.dnd.DropTarget.Drop(DropTarget.java:455)
at org.eclipse.swt.dnd.DropTarget$3.method6(DropTarget.java:257)
at org.eclipse.swt.internal.ole.win32.COMObject.callback6(COMObject.java:119)
at org.eclipse.swt.internal.ole.win32.COM.DoDragDrop(Native Method) at org.eclipse.swt.dnd.DragSource.drag(DragSource.java:362)
at org.eclipse.swt.dnd.DragSource.access$0(DragSource.java:288)
at org.eclipse.swt.dnd.DragSource$1.handleEvent(DragSource.java:171)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3823)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3422)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2382)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2346)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2198)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:493)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:488)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:386)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
Caused by: com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: java.lang.IllegalArgumentException---- Error code:-2147467259 Error code name:failed at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(Unknown Source) at com.crystaldecisions.proxy.remoteagent.x.a(Unknown Source) at com.crystaldecisions.proxy.remoteagent.q.a(Unknown Source) at com.crystaldecisions.sdk.occa.report.application.dd.a(Unknown Source) at com.crystaldecisions.sdk.occa.report.application.ag.a(Unknown Source) at com.crystaldecisions.sdk.occa.report.application.bu.if(Unknown Source) at com.crystaldecisions.sdk.occa.report.application.bu.void(Unknown Source) at com.crystaldecisions.sdk.occa.report.application.a6.for(Unknown Source) at com.crystaldecisions.proxy.remoteagent.u.performDo(Unknown Source)
Best Regards
ArnoldYour issue appears to be a Crystal Reports for Eclipse report designer thing, and not a JRC runtime thing. The JRC runtime does support Type 4 JDBC drivers, but all modern PostgreSQL drivers are Type 4.
The current report designer is more restrictive than the JRC runtime - and PostgreSQL, being not on the supported platforms list, has never been tested with the embedded designer.
Unless there's anybody out there with experience with PostgreSQL and CR4E designer, who would be willing to share their experiences.
Sincerely,
Ted Ueda -
New proprietary Database drivers for Crystal Reports
I have been working recently with a software group that is developing a new, proprietary DBMS. They would like the DBMS to be accessible by Crystal Reports for simple, end-user report creation.
Can you advise where/how we can get started to create adequate ODBC / JDBC / ADO.NET drivers to interface with Crystal Reports?Hi Athmaram
As the error message clearly mentioned that there is issue with the syntax or access violation, can you paste the stored procedure in the post so that we could check with the syntax?
Please let us know the following information:
1) Exact version of Oracle and the connectivity type(ODBC,OLEDB or Native).
2) Does the user who is creating the report has appropriate rights at the database level?
3) Is the Stored Procedure working fine at the database level?
Thanks
Poonam Thorat -
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 -
Error when opening a BW query with Crystal Reports
Hi all,
I am having problems when opening a BW query with Crystal Reports, the strange thing is that it only happens with
the bo user I have created. If I use a user that already exists and that has SAP_ALL authorization it works.
I don't know if this could be an authorizations issue, but I have created a role with all the authorizations stated in the manual.
The error I am getting is the following:
"An error occurred while generating a new report template. Error in UNKNOWN.RPT file"
Does anyone know what this could be?
ThanksWell,
I cannot access the system now. But I think it is not an issue of authorization, because I assigned all the good user's role to the bo user,
and even with that, it still don't work.
Thanks -
Why we need ABAP if we can connect With Crystal Reports to SAP R/3
Hi,
I am new to Crystal reports.I came to know that we can connect SAP R/3 by using SAP InfoSet,SAP Table Cluster and Function connectivity in Crystal Reports.So we can generate reports for SAP R/3 database with out need of ABAP.So why we need to go ABAP module.Is there any disadvantages if we dont use ABAP to generate reports or we can use always Crystal Reports to generate Reports for R/3 database?Hi,
it is correct that you can built a Crystal Report without the need to use ABAP, but we have lots of customers that have invested over the years into ABAP Routines and Crystal REports is able to leverage those as well. So with Crystal Reports you have the choice to leverage existing ABAP Functions as a source for reporting - which might help to leverage complex processing on the backend - or to use InfoSets and tables.
regards
Ingo -
Creating OLAP report with Crystal Reports and SQL Server Analysis Services 2005
Post Author: orahc_mao
CA Forum: Data Connectivity and SQL
Hi!
I am currently using the trial version of the Crystal Reports XI and I wanted to do an OLAP report. The problem is I cannot select a cube using "OLAP Connection Browser" (the popup window). I already selected Microsoft OLE DB Provider and entered the server name but still can't connect.
I don't think the problem is with SQL Server Analysis Services (2005) since Microsoft Excel - Import Data can detect the server as well as the cube I have created.
I also tried the "Database Expert" of Crystal Reports, created an OLE DB (ADO) connection with "OLE DB Provider for OLAP Services 8.0" driver, entered the server name, checked the integrated security and then I can readily select the database created at SQL Server Analysis Services. However, I still need the OLAP grid create the report but it goes back to my original problem... selecting a cube.
I hope somebody would help me with this issue.
Thanks a lot!
orahc_maoHello,
I don't recognize those variables as CR ones so it's likely something the original developer is setting in code.
You'll have to discuss with that person.
If your have SDK issues then post your question to one of the .NET or Java SDK forums.
Thank you
Don -
How to close database connections in Crystal Reports
I am using the following code to connect to database. I can either pass JNDIName or I can provide values for others by leaving JNDI name empty.
If i use JNDI name, it will use a connection from the connection pool of App Server (in my case Weblogic), but it is not releasing the connection after use. Connection remains even if I logoff from the application. If i keep my max connections as 15 in weblogic, after clicking the page with crystal report 15 times all will remain active and users will not be able to login to the application.
If i use connectionString and others without using JNDI Name, it directly connects to database. So it creates a connection in database server directly without using connection pool of weblogic. If i check weblogic, it shows no connection in use as expected, but if i check database, i can see the no. of connections increasing everytime a user clicks a crystal report page.
When the connection touches the maximum allowed connection in server, every application using the same server goes down
How can I close the connection which was created for the viewing the report?
String reportName = "/reports/BankBalance.rpt";
ReportClientDocument clientDoc = (ReportClientDocument) session.getAttribute(reportName);
if (clientDoc == null)
clientDoc = new ReportClientDocument();
clientDoc.setReportAppServer(ReportClientDocument.inprocConnectionString);
// Open report
clientDoc.open(reportName, OpenReportOptions._openAsReadOnly);
String connectString = ""; // jdbc:sybase:Tds:DBSERVERNAME:9812/DBNAME?ServiceName=DBNAME
String driverName = ""; // com.sybase.jdbc3.jdbc.SybDriver
String JNDIName = "DS_APP";
String userName = "";
String password = "";
// Switch all tables on the main report and sub reports
CRJavaHelper.changeDataSource(clientDoc, userName, password, connectString, driverName, JNDIName);
// logon to database
CRJavaHelper.logonDataSource(clientDoc, userName, password);
// Store the report document in session
session.setAttribute(reportName, clientDoc);
// Create the CrystalReportViewer object
CrystalReportViewer crystalReportPageViewer = new CrystalReportViewer();
String reportSourceSessionKey = reportName+"ReportSource";
Object reportSource = session.getAttribute(reportSourceSessionKey);
if (reportSource == null)
reportSource = clientDoc.getReportSource();
session.setAttribute(reportSourceSessionKey, reportSource);
// set the reportsource property of the viewer
crystalReportPageViewer.setReportSource(reportSource);
crystalReportPageViewer.setHasRefreshButton(true);
crystalReportPageViewer.setToolPanelViewType(CrToolPanelViewTypeEnum.none);
// Process the report
crystalReportPageViewer.processHttpRequest(request, response, application, null);the sample shows how to clear RAS and Enterprise resources after viewing report.
1. If you use unmanaged RAS - as I can see you using setReportAppServer, then remove the enterprise related stuff : instantiating and cleaning code.
The sample code is meant to give you an idea on how you can release the resources after done with viewing report. In your case all you need to do for cleaning is call close() on ReportDocumentObject. The sample will need to be modified for your requirements. -
Connection String with Crystal Report XI R2
Hello,
I am having an issue with Crystal Reports XI R2 and figured this would be a good place to start and post my question.
I created a report in Crystal Reports XI and am now trying to pass the user id and password so that the user can just run the report. I attempted to use the Crystal Report connection string setup but receive an Microsoft ODBC error when trying to use that.
My question is how can you pass a userid and password to crystal report XI so that when you open the report it runs without prompting the user? I do not have access to .NET. Can this be done using Crystal Reports XI only?
Thanks in advance for your help
ShaunHi Shawn,
Standalone CR can only do that if using a URL to open a report in BOE.
For CR Designer itself the only option is to turn on Trusted Authentication in your Server, used Mixed mode and then import all of your users into SQL Server. Refer to MS's Help file on how to.
Now when the user runs the reports CR will simply pass the local user info to SQL Server and no prompting will be required. We still respect DB security so if the user is not allowed to access the table then CR respects that.
Thank you
Don -
Connection to database in sap crystal reports enterprise xi 4.0
Hi,
When we are trying to connect to database in sap crystal reports enterprise xi 4.0 ,i am geting the below error.please advise.
Error:
Failed to establish a connection.The cause was:
Connot connect to SAP BussinessObjects Enterprise at this time.Please try again later.Thanks for your quick response Henry....
I checked all this things and all are working fine.
Now I am able to connect to BOE server.
The cause behind the issue was in "CMC > Applications > Web
Service > Access URL:" the URL was having different server name which we have changed earliar, I just correct the URL and issue got resolved.
But now when I am trying to access BOE Server through Crystal Reports for Enterprise 4.0 client tool directly not from launch pad, it probes me the same error. (Note: I used the same parameters which i got from launch pad token to this)
Is that a only way to use Crystal Reports for Enterprise 4.0 from launch pad ?? -
Hi,
Please help me in resolving the issue while changing the database dynamically in crystal reports using JSP. I followed the below link to change DB connection dynamically.
CRJava Modify DB Location
Please help me on this.
While switching from one database to another i found the issue.
dbController.replaceConnection(oldConnectionInfo, newConnectionInfo,pFields,replaceParams);
The Error is:
com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: Subreport does not exist.---- Error code:-2147467259 Error code name:failed
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(SourceFile:2284)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.if(SourceFile:732)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(SourceFile:166)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.a(SourceFile:528)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.call(SourceFile:526)
at com.crystaldecisions.reports.common.ThreadGuard.syncExecute(SourceFile:102)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.for(SourceFile:524)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.int(SourceFile:423)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(SourceFile:480)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.int(SourceFile:421)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(SourceFile:351)
at com.businessobjects.sdk.erom.jrc.a.a(SourceFile:54)
at com.businessobjects.sdk.erom.jrc.a.execute(SourceFile:67)
at com.crystaldecisions.proxy.remoteagent.RemoteAgent$a.execute(SourceFile:716)
at com.crystaldecisions.proxy.remoteagent.CommunicationChannel.a(SourceFile:125)
at com.crystaldecisions.proxy.remoteagent.RemoteAgent.a(SourceFile:537)
at com.crystaldecisions.proxy.remoteagent.RemoteAgent.char(SourceFile:220)
at com.crystaldecisions.proxy.remoteagent.RemoteAgent.new(SourceFile:240)
at com.crystaldecisions.proxy.remoteagent.RemoteAgent.do(SourceFile:452)
at com.crystaldecisions.proxy.remoteagent.RemoteAgent.if(SourceFile:429)
at com.crystaldecisions.proxy.remoteagent.UndoUnitBase.performDo(SourceFile:156)
at com.crystaldecisions.proxy.remoteagent.UndoUnitBase.a(SourceFile:106)
at com.crystaldecisions.sdk.occa.report.application.an.a(SourceFile:65)
at com.crystaldecisions.sdk.occa.report.application.ParameterFieldController.a(SourceFile:1921)
at com.crystaldecisions.sdk.occa.report.application.ParameterFieldController.setCurrentValues(SourceFile:2237)
at com.crystaldecisions.sdk.occa.report.application.ParameterFieldController.setCurrentValue(SourceFile:2328)
at org.apache.jsp.DynamicDB_jsp._jspService(DynamicDB_jsp.java:255)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1023)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: com.crystaldecisions.reports.reportdefinition.ReportModificationException: Subreport does not exist.
at com.businessobjects.reports.sdk.requesthandler.ParameterRequestHandler.a(SourceFile:229)
at com.businessobjects.reports.sdk.requesthandler.ParameterRequestHandler.for(SourceFile:214)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.do(SourceFile:1492)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.if(SourceFile:660)
... 47 more
Any help Appreciated.
Thanks
PenchalDo you have subreports in your reports?
If yes, set the connection info for the subreports as well.
Additionaly refer to the below discussion
http://scn.sap.com/thread/3153289
As you are using Crystal reports for ecllipse runtime libraries to build your jsp, you would need to post your dicussions in the below forum to get better response.
http://scn.sap.com/community/crystal-reports-for-eclipse
The above space is dedicated for the issues with crystal reports for ecllipse.
Thanks,
Prithvi -
INTERNET CONNECTION NOT DETECTED message with Crystal Reports 2011
Hello:
We upgrade from SQL 3008 R2 to SQL 2012 SP1. Had trouble with Crystal Reports not opening reports. Information on the internet indicated that you had to reinstall Crystal Reports after upgrading SQL. We did a repair of Crystal Reports 2011. I have the box checked to check for updates when Crystal Reports starts. I am now getting INTERNET CONNECTION NOT DETECTED and the application will not check for updates. We have tried turning of the firewall and almost everything else we can think of. I have access to the internet from that server and IE9 works just fine. Can anyone help, please.
Thank You,
Jack G.Hello Jack,
This one helps: INTERNET CONNECTION NOT DETECTED
Internet Connection failure
--Dhana -
Somebody pls. advise if it's possible to display images with Crystal Reports ?!
I want to generate a Price Catalog with images. I have uploaded images into the system.
Unfortunately, Oracle Report Builder has let me down.
A short tutorial on how to achieve this will be useful as i am still trying to get acquainted with CR.
Cheers - MaveHi..
I saw your snap shot, in your snap shot you are selecting table fields. The option is much before selecting table fields.
Like :
a. Select Standard Report wizard
b. It ask you to connect to your datasource (ODBC / OLE DB /Native)
c.Once you connect to your database you will see below options
- Your Database Name
Add Command
Tables
Views
Stored Procedures
Here you need to select Add Command and it will opend a window to type your sql.
Thanks,
Sastry -
Error when startup WPF Application with Crystal Report !
Hi!
I have an error when build & run a WPF Application with Crystal Report. Can anyone help me ?
First, I created 2 project, one is the WPF Application & one is Shell Start Up project (to show loading screen, then show main window when loaded, is WPF Application too)
WPF Application:
/// <summary>
/// Interaction logic for MainWindow.xaml
/// </summary>
public partial class MainWindow : Window {
public MainWindow() {
InitializeComponent();
// crViewer is SAPBusinessObjects.WPF.Viewer.CrystalReportsViewer
crViewer.ViewerCore.ReportSource = new CrystalReport1(); // Assign report to viewer
Shell Startup:
[STAThread]
public static void Main(string[] args) {
AppDomain.CurrentDomain.UnhandledException += new UnhandledExceptionEventHandler(CurrentDomain_UnhandledException);
Application app = new Application();
ShowLoadingWindow(); // Show loading screen
MainWindow mw = new MainWindow();
mw.Show();
app.Run();
static void CurrentDomain_UnhandledException(object sender, UnhandledExceptionEventArgs e) {
// Exception was throw here
And here is the exception & it's stack trace
Message: Object reference not set to an instance of an object.
Stacktrace:
at SAPBusinessObjects.WPF.Viewer.ViewerCore.<>c__DisplayClass1.<set_ReportSource>b__0()
at SAPBusinessObjects.WPF.Viewer.DelegateMarshaler.<>c__DisplayClass29.<QueueOnThreadPoolThread>b__28(Object )
at System.Threading.QueueUserWorkItemCallback.WaitCallback_Context(Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)
at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
at System.Threading.ThreadPoolWorkQueue.Dispatch()
at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()As far as I know the error is typically due to the fact that I'm trying to address an object that has not been set. E.g.; this could be due to bad scoping, bad inits/constructs, trying to access a member of a class without instance object and so on. I suspect this is a design \ code issue. You might be able to confirm this using [Process Monitor|http://technet.microsoft.com/en-ca/sysinternals/bb896645.aspx].
Other than that, I'd recommend creating a phone case here:
http://store.businessobjects.com/store/bobjamer/en_US/pd/productID.98078100?resid=S6I@hgoHAkEAAGsiyVkAAAAR&rests=1282226845369
- Ludek -
Re: Add-on with Crystal Report
I need help on how to make an ard installer for my Add on with Crystal Report.
I made couple of installers but I encountered an error. It says "Report Load Failed."
Thank You!I already have that. Can i also attach Merged Module FIles (.msm)?
I think i am having problem with the file path of my report load.
r.Load(Application.StartupPath & "\AddOnFiles\CrystalReport1.rpt")
Dim r As New ReportDocument
r.Load(Application.StartupPath & "\AddOnFiles\CrystalReport1.rpt")
r.Database.Tables(0).Dispose()
r.Database.Tables(0).SetDataSource(GetDeliveryTable)
Me.CrystalReportViewer1.ReportSource = Nothing
CrystalReportViewer1.ReportSource = r
Maybe you are looking for
-
How do i print multiple columns on 1 page in numbers
I think I am over thinking this but I have confused myself. I am using Numbers to create a spreadsheet of family names with their corresponding number. I would like to print multiple columns of names on one page to save paper but I can't figure how t
-
Tax statement item missing for tax code O1- VF02
Hello, We are trying to release a Billing document via VF02 and we are getting the below error message. Message no. FF805 Diagnosis No tax item exists for tax code O1 in a G/L account item. A possible cause is an incorrect transfer of parameters by
-
my requirement: 3 columns in table column a column b data column 10 9 13 10 acb 12 13 rerer 15 17 16 15 20 16 iiio output: column a column b d
-
Hi all, I have the next records table example: WITH taba AS (SELECT 2000 AS id, 'ORDEM' AS name, 'FILEA' AS description FROM DUAL UNION ALL SELECT 2000 AS id, 'ORDEM' AS name, 'FILEB' AS description FROM DUAL UNION ALL
-
Display different forms in script
hi experts, suppose i have two purchase orders.one is german specific, & another is india specific.i want to get p.o at a time in two different formats, how it is possible. regards. subhasis.