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

Similar Messages

  • Error:When adding RDC runtime library (Crystal report XI R2) to Lotus notes

    Background : We have reporting feature implemented in one of lotus notes application using crystal reports 6 (OCX) and as Crystal report is going to be upgraded to CR XI version in my organisation, we need to implement the same using RDC component available in crystal XI . we have installed Crytal report XI R2 - SP 6 version for testing the integration.
    we are  referring a document available on SAP web site(attached below) that illustrates the steps required to integrate the Crystal Reports®  Report Designer Component into a Lotus® Dominou2122 application.  http://www.sdn.sap.com/irj/boc/go/portal/prtroot/docs/library/uuid/509b02de-a81e-2b10-f598-822b6d6f2024?quicklink=index&overridelayout=true
    Steps which have been outlined for adding runtime library in lotus domino application is shown below:-
    1. In Domino Designer, add a Form to the application.
    2. In the programmeru2019s pane, go to the (Declarations) handler of the Form and enter:
       Dim App As Variant,    Dim Rep As Variant
    3. Select Create | Object and select the u201CControlu201D radio button in the u201CCreate Objectu201D dialog box that comes up. From the list of controls, select u201CCrystal Report Viewer Control.u201D This adds the control to the Form.
    4. Click on the control and select Edit | Properties. In the u201CAppletu201D properties dialog, select the u201CSize object to fit windowu201D radio button and then close the properties dialog.
    We are getting an error message while trying to add 'Crystal Report Viewer Control' control (illustated in Step 3 above) in the lotus notes form . Error message which we get is 'An error has occured while processing a request on an object'.
    Alternatively , we created the object of Crystal Report Viewer on lotus notes form by adding viewer object file (Crviewer.dll) from the file system  after selecting the u201CObject from a fileu201D radio button in the u201CCreate Objectu201D dialog box and added following code in the postopen event of lotus notes form .
    Set m_Viewer = Source.GetObject("Crystal Report Viewer Control")
    Set App = CreateObject("CrystalRuntime.Application")
    Set Rep = App.OpenReport(u201Cc:lotus
    otes
    ep.rptu201D)
    Set m_Viewer.ReportSource = Rep
    Again, when lotus notes form is opened , it gives error 'Variant does not contain object' at 'Set m_Viewer.ReportSource = Rep' .
    Can any one suggest us any workaround or if iit is not possible in CR XI R2 into a Lotus® Dominou2122 application. Also, can any one provide us sample code if CR 2008 version can be integatred with lotus notes.

    I believe, Lotus was never a "supported" development platform, though it did work - at one time or another. Eventually it did not and you are at that point. I think it was CR 10 where it started to be impossible to add the viewer to Lotus. This was never fixed and we never did find out if this was a Lotus thing or a CR thing.
    Re. CR 2008 and Lotus. The RDC has been retired in CR 2008, so no luck there either for you. The only SDKs available in CR 2008 are for .NET and Java.
    Ludek

  • Get error when add new object in crystal report

    hi
    i have this error "You are attempting to use functionality that falls under the Crystal Decisions Report Creation API license. This system does not have a valid license, or the evaluation copy of the license has expired. Please contact Crystal Decisions to obtain a Report Creation API license."
    when i add new object in crystal report with vb.net
    ""CRReport.Sections.Item(ii).AddTextObject("new text", 1000, 0)
    i do same program for 3 months ago but i lost it work without error
    ihave a license key for crystal report
    use cr10 with vb.net 2005
    can help me
    thanks

    Also, check out the blog [Use of the Report Designer Component (RDC) in VS .NET|http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=(J2EE3414700)ID0468837450DB00359707053703393347End?blog=/pub/wlg/15939].
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup

  • Get error when passing server name to Crystal Reports in Visual Studio 2012

    Hello,
    I work on Visual Studio 2012 with Crystal Report 13.0.12 (both developer and run-time). When I pass the name of the server to the Crystal Reports, I get an error -- Failed to open the connection.  Database Vendor Code 17.  I use SQL OLEDB as the provider.  It worked before.  Not sure what has happened.
    Any help is much appreciated!!!
    John

    Hi,
    See this: Failed to open the connection - database vendor code 17
    --dj

  • Deploying VS 2005 Applications with Crystal Reports

    Using VS 2005 with Crystal Reports bundled, I created a web site that uses Crystal Reports. On my own web server (which I have total control over), I can deploy it using CR merged modules and everything is fine. Ultimately, however, my website is going to be hosted by another company and I am not sure if they are going to be willing to run the setup file that loads the Crystal Report dependencies (like I was able to do on my own web sever). So my question is this, is it possible to upload a website to a host provider and have CR reports work without having the host provider run a CR setup program? If this is not possible, do you know of any host providers that support CR?
    Thanks in advance!

    Hello,
    The Crystal Report .NET runtime files will need to be deployed to the eventual web host.  If your web host won't run the CR.NET deployment package then your Crystal application won't run.
    I know there are web hosts that support deploying Crystal Reports runtime packages, but I don't have any specific names to give you.  You can probably Google for some options.
    Sincerely,
    Dan Kelleher

  • [Infoview - BOXI3.1] Error when attempting to schedule a crystal report

    Hi,
    I have an error, when i attempt to schedule a report.  When i click on the "Format" link I get the error below:
    An error has occurred:Item SI_XSLT_INFO was not found in the collection.
    Googling this error suprisingly returns no results!  I have no idea what could be at fault and would love to get some help from any experts!  I am a very new user to business objects enterprise.
    Thanks a lot in advance,
    Dom

    Hi Friend,
    I faced the same problem while scheduling the crystal report in BO XI R3 Infoview.
    How I resolved it is by publishing(Using Publishing Wizard) the crystal report in the BO XI R3 enterprise and then scheduling. It worked fine.
    The crystal report which I created was in Crystal Reports XI and the new BO XI Infoview supports Crystal Reports 2008.
    I think this might be the problem.
    Thanks and Regards

  • Error when attempting to create new Crystal Report against SAP BW

    We're getting an error when attemptiing to create a new report using the SAP toolbar in CR:
    "Failed to retrieve SSO2 logon ticket. Please contact your BW administrator".
    Any ideas? We're able to run existing reports fine. Just can't create new ones using the toolbar.

    Hi,
    but you do realize that it is a pre-requisite ?
    your BW system needs to be configured for reading and generating SSO token
    Ingo

  • VS2010 Error creating an application with Crystal Reports

    Hi
    I've loaded the RTM version for Crystal reports, but when I try to add a crystal reports  application as a new project I get an exception error as below.
    Error     1     Custom tool error: "Code generator 'ReportCodeGenerator' failed.  Exception stack = System.TypeInitializationException: The type initializer for 'CrystalDecisions.CrystalReports.Engine.ReportDocument' threw an exception. ---> System.Runtime.InteropServices.COMException: Retrieving the COM class factory for component with CLSID {C0D87D96-8D57-4274-AA18-D465E31F901E} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)).
       at CrystalDecisions.CrystalReports.Engine.ReportDocument..cctor()
       --- End of inner exception stack trace ---
       at CrystalDecisions.CrystalReports.Engine.ReportDocument..ctor()
       at CrystalDecisions.VSDesigner.CodeGen.ReportClassWriter..ctor(String filePath)
       at CrystalDecisions.VSDesigner.CodeGen.ReportClassWriter..ctor(String filePath, String resourceNamespace)
       at CrystalDecisions.VSDesigner.CodeGen.ReportCodeGenerator.GenerateCode(String inputFileName, String inputFileContent)"     C:\Users\Neil\AppData\Local\Temporary Projects\CrystalReportWpfApplication1\CrystalReport1.rpt     1     1     CrystalReportWpfApplication1
    I've tried uninstalling and reinstalling but without any joy. I still get the same error.
    I'm running an Acer 5332 laptop (64bit), with Windows 7 home premium and 4GB of ram.
    I'd appreciate any help you give me as I'm on a tight deadline for a project.
    Rgds

    Hi'
    I tried using Process Monitor, but it hung up the PC, whilst trying to run the install. After about an hour I had to restart the PC by removing the power supply and battery. So no further forward.
    I did notice that there was check box which stated 'create log file'. Would this file give me a clue if I could look at it. Is fo what is it and where would it be created?
    Don, I create the application by going into vs2010 and taking the option to create a Crystal reports application. It is at this point that I get a warning 'The deigner cannot process the code at line 20 Me.CrystalReport1 = NewCrystalReport1, and then follows the  exception error. How do I know which NET 4.0 framework it is using?
    Thanks both for your suggestions, it is appreciated.

  • Error deploying the application with Crystal Report

    Hello,
    I'm using Visual Studio 2010 and I installed the required version of crystal report for it. I'm developing a windows Application with C# and Crystal Reports. The program runs correctly in the visual studio but when I tried to deploy it by adding the setup it gives me the following warnings:
    - Unable to find dependency 'MICROSOFT.VISUALSTUDIO' (Signature='B03F5F7F11D50A3A' Version='1.0.5000.0') of assembly 'crdb_adoplus.dll'
    +- The 'SAP Crystal Reports Runtime Engine for .NET Framework 4.0' item selected requires 'Microsoft.Net.Framework.2.0'. Select the missing prerequisite in the Prerequisites Dialog Box or create a bootstrapper package for the missing prerequisite.     +
    - No 'HomeSite' attribute has been provided for '.NET Framework 2.0 SP2', so the package will be published to the same location as the bootstrapper.
    I tried to ignore the warnings and deploy it but when I try to open the crystal report and in the program it gives me an error message then an empty report.
    I also tried in the Prerequisites to choose the option : Download prerequisites from the same location as my application. but when I do that I receive the following errors:
    - The install location for prerequisites has not been set to 'component vendor's web site' and the file 'MDAC28\mdac_typ.exe' in item 'Microsoft Data Access Components 2.8' can not be located on disk. See Help for more information.
    - General failure building bootstrapper.
    - Unrecoverable building error.
    of course In addition to the previous error.
    I'm not using the click-once deployment.
    Can you please help and advice me with that? I tried to search through the net for these warnings but with no luck of the solution.
    Thank you,

    No, .Net Framework 2 is not installed. I'm using windows 7 so I installed .Net framework 4. I tried to Install .Net 2 but it doesn't install because of windows 7. I also tried to add it in the prerequisites but again with no luck in solving the issue.
    If I try to deploy the App and install it. When I try to open the crystal report the app crushes and gives me the following error:
    Report load failed.
    exceptions:
    CrystalDecisions.Shared.CrystalReportsException: Load report failed. ---> System.Runtime.InteropServices.COMException: Unsupported Operation. A document processed by the JRC engine cannot be opened in the C++ stack.
       at CrystalDecisions.ReportAppServer.ClientDoc.ReportClientDocumentClass.Open(Object& DocumentPath, Int32 Options)
       at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.Open(Object& DocumentPath, Int32 Options)
       at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened()
       --- End of inner exception stack trace ---
       at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened()
       at CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename, OpenReportMethod openMethod, Int16 parentJob)
       at CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename)
       at DataViewer2.Form5.crystalReportViewer1_Load(Object sender, EventArgs e)
       at System.Windows.Forms.UserControl.OnLoad(EventArgs e)
       at CrystalDecisions.Windows.Forms.CrystalReportViewer.OnCreateControl()
       at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
       at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
       at System.Windows.Forms.Control.CreateControl()
       at System.Windows.Forms.Control.WmShowWindow(Message& m)
       at System.Windows.Forms.Control.WndProc(Message& m)
       at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
       at System.Windows.Forms.Form.WmShowWindow(Message& m)
       at System.Windows.Forms.Form.WndProc(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
       at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
    Edited by: starrysky88 on Sep 13, 2011 11:35 AM

  • VB Application with crystal report

    Post Author: chriscasaje
    CA Forum: Data Connectivity and SQL
    I have an application created in VB with a report that used a crystal report. When I deploy the application in the other pc, the application was functioning except for the report. It has an error "Physical database not found". I did not install the crystal report to the pc where I install the application. Do I need to install the crystal report to that pc? Is that necessary? Or I have done an error when I make the application package? Please help me..

    Moved to Legacy SDK forum.
    Are you still using the RDC and VB 6 or have you moved to .NET and Visual Studio .NET?
    Typically those error usually are caused by IIS permissions on the CrystalReportsViewer folder.
    Thanks
    Don

  • Exception-Error when excecuting JSP-File in Crystal reports for Eclipse

    Hi,
    I have created a jsp-File from an rpt-File in Crystal report for Eclipse. When I start the jsp-File on Apache Tomact 5.5 then only errors occurs.
    Coud anyone help me?
    HTTP Status 500 -
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    org.apache.jasper.JasperException: Unable to compile class for JSP:
    An error occurred at line: 6 in the generated java file
    Only a type can be imported. com.crystaldecisions.report.web.viewer.CrystalReportViewer resolves to a package
    An error occurred at line: 7 in the generated java file
    Only a type can be imported. com.crystaldecisions.reports.sdk.ReportClientDocument resolves to a package
    An error occurred at line: 8 in the generated java file
    Only a type can be imported. com.crystaldecisions.sdk.occa.report.application.OpenReportOptions resolves to a package
    An error occurred at line: 9 in the generated java file
    Only a type can be imported. com.crystaldecisions.sdk.occa.report.lib.ReportSDKExceptionBase resolves to a package
    An error occurred at line: 10 in the generated java file
    Only a type can be imported. com.crystaldecisions.sdk.occa.report.reportsource.IReportSource resolves to a package
    An error occurred at line: 13 in the jsp file: /Bericht1-viewer.jsp
    ReportClientDocument cannot be resolved to a type
    10:      try catch (ReportSDKExceptionBase e)
    60:      
    An error occurred at line: 58 in the jsp file: /Bericht1-viewer.jsp
    e cannot be resolved
    55:
    56:
    57:      } catch (ReportSDKExceptionBase e)
    60:      
    61: %>
    Stacktrace:
         org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:93)
         org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:330)
         org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:435)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:298)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:277)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:265)
         org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:564)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:302)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    note The full stack trace of the root cause is available in the Apache Tomcat/5.5.26 logs.
    Apache Tomcat/5.5.26
    Bericht1.jsp:
    <%@page import="com.crystaldecisions.report.web.viewer.CrystalReportViewer,
    com.crystaldecisions.reports.sdk.ReportClientDocument,
    com.crystaldecisions.sdk.occa.report.application.OpenReportOptions,
    com.crystaldecisions.sdk.occa.report.lib.ReportSDKExceptionBase,
    com.crystaldecisions.sdk.occa.report.reportsource.IReportSource"%><%
         // This sample code calls methods from the JRCHelperSample class, which
         // contains examples of how to use the BusinessObjects APIs. You are free to
         // modify and distribute the source code contained in the JRCHelperSample class.
         try {
              String reportName = "Bericht1.rpt";
              ReportClientDocument clientDoc = (ReportClientDocument) session.getAttribute(reportName);
              if (clientDoc == null) {
                   // Report can be opened from the relative location specified in the CRConfig.xml, or the report location
                   // tag can be removed to open the reports as Java resources or using an absolute path
                   // (absolute path not recommended for Web applications).
                   clientDoc = new ReportClientDocument();
                   // Open report
                   clientDoc.open(reportName, OpenReportOptions._openAsReadOnly);
                   // Store the report document in session
                   session.setAttribute(reportName, clientDoc);
                   // ****** BEGIN CONNECT CRYSTALREPORTPAGEVIEWER SNIPPET **************** 
                        // Create the CrystalReportViewer object
                        CrystalReportViewer crystalReportPageViewer = new CrystalReportViewer();
                        //     set the reportsource property of the viewer
                        IReportSource reportSource = clientDoc.getReportSource();                    
                        crystalReportPageViewer.setReportSource(reportSource);
                        // set viewer attributes
                        crystalReportPageViewer.setOwnPage(true);
                        crystalReportPageViewer.setOwnForm(true);
                        // Apply the viewer preference attributes
                        // Process the report
                        crystalReportPageViewer.processHttpRequest(request, response, application, null);
                   // ****** END CONNECT CRYSTALREPORTPAGEVIEWER SNIPPET ****************          
         } catch (ReportSDKExceptionBase e) {
             out.println(e);
    %>
    Thanks
    Arnold

    According to the release notes, for the JRCHelperSample to compile, you must set the target runtime for the project.
    To do this, either create a project from scratch that uses the Tomcat 5.5 target runtime, or go to the properties menu and ensure that the target runtime is set to the application server you will be using.

  • Installing windows application with crystal reports runtime on 64 bit

    I have a windows application created on 32 bit windows xp platform using visual studio 2005 with oracle 10g as database and crystal reports XI as reporting tool. The platform on which the application was created has Oracle 10g 32 bit Client, Crystal Reports Developer XI R2 and Crystal Reports XI Server Client. The application has to be installed on 64 bit Windows 7 machine. The application fails with following error
    An error has occured while attempting to load the Crystal Reports runtime. Either the Crystal Reports registry key permissions are insufficient or Crystal Reports runtime is not installed correctly.
    Please install the appropriate Crystal Reports redistributable (CRRedist.msi) containing correct version of Crystal Reports runtime (x86, x64, or Itanium) is required. Please go to http://www.businessobjects.com/support for more information.*

    We have an Windows Forms apps developed in VB.NET 2005 using Reports Documents from Crystal Reports XI R2 Server. The application is running fine on 32 bit Windows XP machine. We are trying to install the application on 64 bit Win 7 machine. We are getting following error while doing so
    An error has occured while attempting to load the Crystal Reports runtime. Either the Crystal Reports registry key permissions are insufficient or Crystal Reports runtime is not installed correctly.
    Please install the appropriate Crystal Reports redistributable (CRRedist.msi) containing correct version of Crystal Reports runtime (x86, x64, or Itanium) is required. Please go to http://www.businessobjects.com/support for more information.*
    We have installed "Crystal reports XI R2 SP4 full build" and "SP6 incremental". We have also installed "CrystalReports11_5_NET.MSI from CR XI R2 FP 6.4 .NET Server Install" as well as "CRRedist2005_X64.msi".
    We are still getting the same error.

  • Error while running Java application using Crystal Reports 2011

    Hello,
    I would like to ask for your help.
    Environment details:
    Java based standalone application in Development environment.
    Crystal Reports 2011 (no SP applied)
    Oracle 11g ( 32 bit client installed)
    Win7 64 bit OS.
    Workflow:
    While running the java application, which will display the reports I am getting the below mentioned error. I guess that is because I am missing the Crystal runtimes (Correct me if I am wrong).
    I know that CR2011 do not have any sdks/ jar available for deployment. In this case, which runtimes should I be using? Does installing CR2011 be enough in the development box?
    Please provide me the link from which I can download the same.
    Let me know if I need to provide more details on this. Any suggestions are most welcome.
    Thank You.
    Code used:
    reportClientDoc = new ReportClientDocument();
    System.err.println("Opening the Report ");
    reportClientDoc.open(REPORT_PATH, 0);
    // this is where the error or exception is thrown
    _Error: _
    log4j:WARN No appenders could be found for logger (com.crystaldecisions.reports.reportdefinition.ReportDocument).
    log4j:WARN Please initialize the log4j system properly.
    com.crystaldecisions.sdkreport.lib.ReportSDKException: com/businessobjects/reports/jdbinterface/common/DBException---- Error code:-2147467259 Error code name:failed
                    at com.businessobjects.reports.sdk.JRCCommunicationAdapter.<init>(SourceFile:286)
                    at com.businessobjects.sdk.erom.jrc.a.<init>(SourceFile:43)
                    at com.businessobjects.sdk.erom.jrc.ReportAgentFactory.createAgent(SourceFile:46)
                    at com.crystaldecisions.proxy.remoteagent.RemoteAgent.<init>(SourceFile:703)
                    at com.crystaldecisions.proxy.remoteagent.RemoteAgent.a(SourceFile:662)
                    at com.crystaldecisions.proxy.remoteagent.RemoteAgent.a(SourceFile:632)
                    at com.crystaldecisions.sdk.report.application.ClientDocument.if(SourceFile:504)
                    at com.crystaldecisions.sdk.report.application.ClientDocument.open(SourceFile:669)
                    at com.crystaldecisions.reports.sdk.ReportClientDocument.open(Unknown Source)
                    at rp.batch.bo.RpJRCExportReport.runReportExport(RpJRCExportReport.java:517)
                    at rp.batch.bo.RpSchedReportRun.process(RpSchedReportRun.java:163)
                    at rp.batch.bo.RpSchedReportRun.drive(RpSchedReportRun.java:240)
                    at rp.batch.bo.RpSchedReportRun.main(RpSchedReportRun.java:265)
    Caused by: java.lang.NoClassDefFoundError: com/businessobjects/reports/jdbinterface/common/DBException
                    at com.crystaldecisions.reports.queryengine.Session.a2(SourceFile:244)
                    at com.crystaldecisions.reports.datafoundation.DataFoundation.do(SourceFile:376)
                    at com.crystaldecisions.reports.dataengine.dfadapter.DFAdapter.do(SourceFile:111)
                    at com.crystaldecisions.reports.dataengine.datafoundation.CreateDataConnectionCommand.new(SourceFile:81)
                    at com.crystaldecisions.reports.common.CommandManager.a(SourceFile:71)
                    at com.crystaldecisions.reports.common.Document.a(SourceFile:203)
                    at com.businessobjects.reports.reportconverter.v12.e.a(SourceFile:442)
                    at com.businessobjects.reports.reportconverter.v12.e.a(SourceFile:231)
                    at com.businessobjects.reports.reportconverter.v12.d.m(SourceFile:192)
                    at com.businessobjects.reports.reportconverter.v12.f.if(SourceFile:210)
                    at com.businessobjects.reports.reportconverter.v12.V12SaveLoader.a(SourceFile:242)
                    at com.businessobjects.reports.loader.ReportLoader.a(SourceFile:205)
                    at com.businessobjects.reports.sdk.JRCReportLoader.a(SourceFile:137)
                    at com.businessobjects.reports.sdk.JRCReportLoader.a(SourceFile:76)
                    at com.businessobjects.reports.sdk.requesthandler.ReportDocumentRequestHandler.a(SourceFile:136)
                    at com.businessobjects.reports.sdk.JRCCommunicationAdapter.<init>(SourceFile:229)
                    ... 12 more
    Caused by: java.lang.ClassNotFoundException: com.businessobjects.reports.jdbinterface.common.DBException
                    at java.net.URLClassLoader1.run(URLClassLoader.java:200)
                    at java.security.AccessController.doPrivileged(Native Method)
                    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
                    at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
                    at sun.misc.LauncherAppClassLoader.loadClass(Launcher.java:301)
                    at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
                    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
                    ... 28 more

    Help me ...
    Ambient:
    Crystal Reports Viewer 14.0.0.0
    java.vendor = Sun Microsystems Inc.
    java.version = 1.6.0_37
    os.name = Windows NT (unknown)
    os.version = 6.2
    os.arch = amd64
    Exception:
    com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: com.businessobjects.sdk.erom.jrc.ReportAgentFactory---- Error code:-2147215357 [CRSDK00000026] Error code name:internal
              at com.crystaldecisions.sdk.occa.report.lib.ReportSDKException.throwReportSDKException(ReportSDKException.java:112)
              at com.crystaldecisions.proxy.remoteagent.RemoteAgent.createDefaultAgent(RemoteAgent.java:1000)
              at com.crystaldecisions.sdk.occa.report.application.ClientDocument.initRemoteAgent(ClientDocument.java:770)
              at com.crystaldecisions.sdk.occa.report.application.ClientDocument.open(ClientDocument.java:961)
              at com.crystaldecisions.sdk.occa.report.application.ReportClientDocument.open(ReportClientDocument.java:226)
              at src.HelloWorldSwing.createAndShowGUI(HelloWorldSwing.java:54)
              at src.HelloWorldSwing.main(HelloWorldSwing.java:24)
    Source:
    import java.awt.BorderLayout;
    import javax.swing.JFrame;
    import com.crystaldecisions.ReportViewer.ReportViewerBean;
    import com.crystaldecisions.sdk.occa.report.application.DatabaseController;
    import com.crystaldecisions.sdk.occa.report.application.OpenReportOptions;
    import com.crystaldecisions.sdk.occa.report.application.ReportClientDocument;
    import com.crystaldecisions.sdk.occa.report.data.IConnectionInfo;
    import com.crystaldecisions.sdk.occa.report.reportsource.IReportSource;
    public class HelloWorldSwing {
               * @param args
              public static void main(String[] args) {
                        HelloWorldSwing pgm = new HelloWorldSwing();
                        try {
                                  pgm.createAndShowGUI();
                        } catch (Exception e) {
                                  e.printStackTrace();
                                  //JOptionPane.showMessageDialog(null, e.toString());
               * @throws Exception
              public void createAndShowGUI() throws Exception {
                        // Make sure we have nice window decorations.
                        JFrame.setDefaultLookAndFeelDecorated(false);
                        // Create and set up the window.
                        JFrame frame = new JFrame("HelloWorldSwing");
                        frame.setTitle("Titolo del Report");
                        frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
                        ReportViewerBean viewer = new ReportViewerBean();
                        viewer.init(new String[0], null, null, null);
                        ReportClientDocument rpt = new ReportClientDocument();
                        rpt.setReportAppServer(ReportClientDocument.inprocConnectionString); // inproc:jrc
                        rpt.open("Report.rpt", OpenReportOptions._openAsReadOnly);
                        IReportSource rptSource = rpt.getReportSource();
                        viewer.setReportSource(rptSource);
                        frame.getContentPane().add(viewer, BorderLayout.CENTER);
                        frame.setSize(1930, 1030);
                        frame.setVisible(true);
                        viewer.start();

  • Error WHen trying to print a crystal report

    I am trying to print a system crystal report and it is giving me the following error: "Error during printing; ensure all parameters are defined". And it prints the first page, but none of the consecutive pages if there are more than 1. Is there some type of setting that needs to be set for printing?

    Hmmmmm it says "page range" ALL. I was able to print fine until I created a new layout and saved it. THen I went to print it and got the error. But it seems I get the error when I print any crystal report in any DB. Is this a setting in crystal, SAP, or printer itself? I can print the second page if I toggle through to the second page on the crystal report view, and go to print, and put 2 next to pages feild. Otherwise it is set to print ALL, however it is not doing that.

  • Deploying an application with crystal reports

    Hi, we have a license for Crystal reports (please contact me for key information, if needed), and have been developing them in a VB.Net application.
    Now, we are trying to install on the application on the client side.
    We have followed this guide for setup:
    http://vb.net-informations.com/crystal-report/vb.net_crystal_report_deployment_setup.htm
    And it worked for a while.
    In our recent setup for the customer, this stopped working and we get the following error:
    Could not load file or assembly 'CrystalDecisions.Windows.Forms,Version:12.0.2000.0,Culture=neutral,PublicKeyToken=692fbea5521e1304' or one of it's dependencies.
    What are we doing wrong??
    The developers have Crystal Reports 2008 12.1.0.892 installed.

    Check the GAC (windows\assembly) and make sure that the CrystalDecisions.Windows.Forms dll  version 12.2 is there.
    If it is not then you did not deploy correctly and will need to make sure to deploy the Crystal Reports 2008 runtimes to the machine.
    Also is the machine running a 32 or 64 bit OS?

Maybe you are looking for

  • Multiple users accessing the ODI.

    Hi Experts,, I have set up the odi and created the physical and logical schema. My question is that when i'm creating the physical schema i entered the user name and password for the planning,essbase and hfm as admin id. How do we differ between the

  • Satellite Pro A200: Windows cannot find WLan

    Something's wrong with my laptop, I have Toshiba Satellite Pro A200 with XP Pro SP3... When I try to search for wireless networks using Microsofts program, it can't find anything, but TOSHIBA's ConfigFree can. You probably say, that well use Toshiba'

  • Text Editor from ALV grid

    Hello Experts,                  I have an ALV Grid where the last column is displayed as push buttons. When i click on a pushbutton, a text editor is opened up using ABAP OO. Now, I enter the text and SAve it. A  standard text is created against the

  • E6-00, Screen blacks out as soon as a call is rece...

    I'm posting this on behalf of a friend who has asked me to take a look at their E6-00 which has a problem that when a call is received the screen blacks out instantly and therefore she can't see the caller display. I've read elsewhere that it is an i

  • Marking only one of two quizzes for bilingual content - Captivate 4

    I'm trying to create bilingual content with Captivate 4 that has a language selection screen and then a French quiz or an English quiz but only score one of them for the LMS (Saba 5.4 SP2). I can create a multi-Scorm package but the LMS will score ag