Cannot view Crystal Reports 2008 API documentation

I've purchased Crystal Reports 2008 From the On-line Store.
I found the documentation on the API in the SAP Help Portal
I downloaded the Crystal Reports 2008 .Net API manual.
I get this great outline but there is no content with the statement "Navigation to the webpafe was canceled"
Were can I get a usable manual?

Hi Edward,
Try to download product guide  from the following link:
[https://websmp105.sap-ag.de/bosap-support].
Have a look to this thread:
[Read Before Posting - Where to find Crystal Reports .NET SDK resources;
you will get all the links of SDK Libraries,Business objects notes, Sample code.
If you have any issue with SDK post your question in
NET Development - Crystal Reports Forum
[SAP Crystal Reports, version for Visual Studio;
Hope this helps!!
Regards,
Shweta

Similar Messages

  • Using MS Access to Pull Up the Report Viewer - Crystal Reports 2008

    We recently purchased Crystal Reports 2008 Developer so that we can create standardized and feature rich reporting solutions for our company. Many of our current applications are developed in MS Access XP. It has been quite some time since I have worked in Crystal Report and it seems a lot has changed.
    One thing I remember is that there was an ActiveX control that could be added to an Access application, giving the application the ability to pull up a report in a separatre Crystal Viewer. I am having difficulties is finding an object in Access for Cyrstal Reports 2008 (Crystal 12) for the Report Viewer. Is there still such an ActiveX object available for MS Access applications?

    Thanks. I got it now.
    Now my problem is getting the crpe32.dll registered. I keep getting an error and the CrystalVCL example application fails due to not beign able to fnd the correct version.
    You'll have to treat me like I'm stupid on this one. I usually work in the over simplified Access application "development". So dealing with any real object oriented environment and any complex dll registering is a bit beyond me at this point. But I'm learning.
    I have two crpe32.dll's on my computer one is in C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86
    And another is in C:\Program Files\Common Files\BusinessObjects\3.0\bin
    I have tried registering both of these and neither one will work. So, maybe that means that the're not supposed to be registered through regsvr32?

  • Crystal Reports XI API documentation

    Hi.  I'm using the activex object for Crystal Reports Viewer (version XI).  Can someone please point me to the unabridged documentation for the API (full class and function syntax/descriptions).  Thanks.

    You can get developer documenation on the [Dev Library|http://www.sdn.sap.com/irj/boc/sdklibrary;jsessionid=(J2EE3417200)ID1988526350DB01651156239711280771End]
    Here is the [XI Documentation|http://devlibrary.businessobjects.com/BusinessObjectsXI/en/devlib.htm]
    Jason

  • Cannot view Crystal Report in JSP page ( error loading ? )

    Hi,
              Can someone please help or pass on any suggestions,
              I am trying to view my crystal report (test.rpt) in my JSP page but get the following error and im having trouble sorting it out. I am using Crystal 10 with weblogic. My report is just a simple report ( no data connection needed) with just some hard coded text. I simply want to view it through a JSP page. Can anyone shed any light on the error. The error message is shown below. In my browser i get the message
              An error has occurred:
              Error loading C:/Bea/user_projects/applications/crystaltest/crystaltestWeb/WEB-INF/test.rpt
              the important part of the full error message below i guess is :
              Root cause of ServletException.
              com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: Error loading C:/Bea/user_projects/applications/crystaltest/crystaltestWeb/WEB-INF/test.rpt ---- Error code:-2147215356 Error code name:fileNotOpened
              at com.crystaldecisions.sdk.occa.report.lib.ReportSDKException.throwReportSDKException(Unknown Source) etc
              Full error message is here ->
              ####<11/08/2004 11:56:10 AM EST> <Debug> <HTTP> <TAS0707> <cgServer> <ExecuteThread: '0' for queue: 'weblogic.socket.Muxer'> <<WLS Kernel>> <> <BEA-101147> <HttpServer(32071428,null default ctx,cgServer) Found no context for "/". This request does not match the context path for any installed Web applications, and there is no default Web application configured.>
              ####<11/08/2004 11:56:12 AM EST> <Notice> <WebLogicServer> <TAS0707> <cgServer> <main> <<WLS Kernel>> <> <BEA-000331> <Started WebLogic Admin Server "cgServer" for domain "workshop" running in Development Mode>
              ####<11/08/2004 11:56:12 AM EST> <Notice> <WebLogicServer> <TAS0707> <cgServer> <main> <<WLS Kernel>> <> <BEA-000360> <Server started in RUNNING mode>
              ####<11/08/2004 11:56:12 AM EST> <Debug> <HTTP> <TAS0707> <cgServer> <ExecuteThread: '0' for queue: 'weblogic.socket.Muxer'> <<WLS Kernel>> <> <BEA-101147> <HttpServer(32071428,null default ctx,cgServer) Found no context for "/wlwdir". This request does not match the context path for any installed Web applications, and there is no default Web application configured.>
              ####<11/08/2004 11:56:12 AM EST> <Info> <Management> <TAS0707> <cgServer> <ExecuteThread: '0' for queue: 'weblogic.admin.RMI'> <<WLS Kernel>> <> <BEA-140009> <Configuration changes for the domain have been saved to the repository.>
              ####<11/08/2004 11:56:12 AM EST> <Info> <Configuration Management> <TAS0707> <cgServer> <ExecuteThread: '0' for queue: 'weblogic.admin.RMI'> <<WLS Kernel>> <> <BEA-150007> <The booted configuration .\config.xml has been backed up at C:\Bea\WEBLOG~1\samples\domains\workshop\.\config.xml.booted.>
              ####<11/08/2004 11:58:29 AM EST> <Info> <HTTP> <TAS0707> <cgServer> <ExecuteThread: '13' for queue: 'weblogic.kernel.Default'> <<anonymous>> <> <BEA-101047> <[ServletContext(id=1439407,name=crystaltestWeb,context-path=/crystaltestWeb)] /ensureAppDeployment: init>
              ####<11/08/2004 11:58:53 AM EST> <Info> <HTTP> <TAS0707> <cgServer> <ExecuteThread: '13' for queue: 'weblogic.kernel.Default'> <<anonymous>> <> <BEA-101047> <[ServletContext(id=1439407,name=crystaltestWeb,context-path=/crystaltestWeb)] /wlwdir: init>
              ####<11/08/2004 11:59:02 AM EST> <Info> <HTTP> <TAS0707> <cgServer> <ExecuteThread: '13' for queue: 'weblogic.kernel.Default'> <<anonymous>> <> <BEA-101047> <[ServletContext(id=1439407,name=crystaltestWeb,context-path=/crystaltestWeb)] *.jsp: init>
              ####<11/08/2004 11:59:02 AM EST> <Info> <HTTP> <TAS0707> <cgServer> <ExecuteThread: '13' for queue: 'weblogic.kernel.Default'> <<anonymous>> <> <BEA-101047> <[ServletContext(id=1439407,name=crystaltestWeb,context-path=/crystaltestWeb)] *.jsp: param verbose initialized to: true>
              ####<11/08/2004 11:59:02 AM EST> <Info> <HTTP> <TAS0707> <cgServer> <ExecuteThread: '13' for queue: 'weblogic.kernel.Default'> <<anonymous>> <> <BEA-101047> <[ServletContext(id=1439407,name=crystaltestWeb,context-path=/crystaltestWeb)] *.jsp: param packagePrefix initialized to: jsp_servlet>
              ####<11/08/2004 11:59:02 AM EST> <Info> <HTTP> <TAS0707> <cgServer> <ExecuteThread: '13' for queue: 'weblogic.kernel.Default'> <<anonymous>> <> <BEA-101047> <[ServletContext(id=1439407,name=crystaltestWeb,context-path=/crystaltestWeb)] *.jsp: param compilerclass initialized to: com.sun.tools.javac.Main>
              ####<11/08/2004 11:59:02 AM EST> <Info> <HTTP> <TAS0707> <cgServer> <ExecuteThread: '13' for queue: 'weblogic.kernel.Default'> <<anonymous>> <> <BEA-101047> <[ServletContext(id=1439407,name=crystaltestWeb,context-path=/crystaltestWeb)] *.jsp: param compileCommand initialized to: javac>
              ####<11/08/2004 11:59:02 AM EST> <Info> <HTTP> <TAS0707> <cgServer> <ExecuteThread: '13' for queue: 'weblogic.kernel.Default'> <<anonymous>> <> <BEA-101047> <[ServletContext(id=1439407,name=crystaltestWeb,context-path=/crystaltestWeb)] *.jsp: param compilerval initialized to: com.sun.tools.javac.Main>
              ####<11/08/2004 11:59:02 AM EST> <Info> <HTTP> <TAS0707> <cgServer> <ExecuteThread: '13' for queue: 'weblogic.kernel.Default'> <<anonymous>> <> <BEA-101047> <[ServletContext(id=1439407,name=crystaltestWeb,context-path=/crystaltestWeb)] *.jsp: param pageCheckSeconds initialized to: 1>
              ####<11/08/2004 11:59:02 AM EST> <Info> <HTTP> <TAS0707> <cgServer> <ExecuteThread: '13' for queue: 'weblogic.kernel.Default'> <<anonymous>> <> <BEA-101047> <[ServletContext(id=1439407,name=crystaltestWeb,context-path=/crystaltestWeb)] *.jsp: param encoding initialized to: null>
              ####<11/08/2004 11:59:02 AM EST> <Info> <HTTP> <TAS0707> <cgServer> <ExecuteThread: '13' for queue: 'weblogic.kernel.Default'> <<anonymous>> <> <BEA-101047> <[ServletContext(id=1439407,name=crystaltestWeb,context-path=/crystaltestWeb)] *.jsp: param superclass initialized to weblogic.servlet.jsp.JspBase>
              ####<11/08/2004 11:59:02 AM EST> <Info> <HTTP> <TAS0707> <cgServer> <ExecuteThread: '13' for queue: 'weblogic.kernel.Default'> <<anonymous>> <> <BEA-101047> <[ServletContext(id=1439407,name=crystaltestWeb,context-path=/crystaltestWeb)] *.jsp: param srcCompiler initialized to weblogic.jspc>
              ####<11/08/2004 11:59:02 AM EST> <Info> <HTTP> <TAS0707> <cgServer> <ExecuteThread: '13' for queue: 'weblogic.kernel.Default'> <<anonymous>> <> <BEA-101047> <[ServletContext(id=1439407,name=crystaltestWeb,context-path=/crystaltestWeb)] *.jsp: param workingDir initialized to: C:\Bea\weblogic81\samples\domains\workshop\cgServer\.wlnotdelete\extract\cgServer_crystaltest_crystaltestWeb>
              ####<11/08/2004 11:59:04 AM EST> <Info> <HTTP> <TAS0707> <cgServer> <ExecuteThread: '13' for queue: 'weblogic.kernel.Default'> <<anonymous>> <> <BEA-101047> <[ServletContext(id=1439407,name=crystaltestWeb,context-path=/crystaltestWeb)] *.jsp: initialization complete>
              ####<11/08/2004 12:04:14 PM EST> <Info> <HTTP> <TAS0707> <cgServer> <ExecuteThread: '13' for queue: 'weblogic.kernel.Default'> <<anonymous>> <> <BEA-101047> <[ServletContext(id=1439407,name=crystaltestWeb,context-path=/crystaltestWeb)] /*: init>
              ####<11/08/2004 12:04:15 PM EST> <Info> <HTTP> <TAS0707> <cgServer> <ExecuteThread: '13' for queue: 'weblogic.kernel.Default'> <<anonymous>> <> <BEA-101047> <[ServletContext(id=1439407,name=crystaltestWeb,context-path=/crystaltestWeb)] /*: Using standard I/O>
              ####<11/08/2004 12:18:03 PM EST> <Error> <HTTP> <TAS0707> <cgServer> <ExecuteThread: '12' for queue: 'weblogic.kernel.Default'> <<WLS Kernel>> <> <BEA-101017> <[ServletContext(id=1439407,name=crystaltestWeb,context-path=/crystaltestWeb)] Root cause of ServletException.
              com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: Error loading C:/Bea/user_projects/applications/crystaltest/crystaltestWeb/WEB-INF/test.rpt ---- Error code:-2147215356 Error code name:fileNotOpened
              at com.crystaldecisions.sdk.occa.report.lib.ReportSDKException.throwReportSDKException(Unknown Source)
              at com.crystaldecisions.reports.reportengineinterface.JPEReportSource.<init>(Unknown Source)
              at com.crystaldecisions.reports.reportengineinterface.JPEReportSource.a(Unknown Source)
              at com.crystaldecisions.reports.reportengineinterface.JPEReportSourceFactory.createReportSource(Unknown Source)
              at jsp_servlet.__index._jspService(index.jsp:27)
              at weblogic.servlet.jsp.JspBase.service(JspBase.java:33)
              at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:996)
              at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419)
              at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28)
              at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
              at com.bea.wlw.netui.pageflow.PageFlowJspFilter.doFilter(PageFlowJspFilter.java:208)
              at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
              at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:316)
              at com.bea.wlw.netui.pageflow.PageFlowRequestProcessor.superForward(PageFlowRequestProcessor.java:1301)
              at com.bea.wlw.netui.pageflow.PageFlowRequestProcessor$DefaultHttpRedirector.forward(PageFlowRequestProcessor.java:1317)
              at com.bea.wlw.netui.pageflow.PageFlowRequestProcessor.doForward(PageFlowRequestProcessor.java:1199)
              at com.bea.wlw.netui.pageflow.PageFlowRequestProcessor.processForwardConfig(PageFlowRequestProcessor.java:1093)
              at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:279)
              at com.bea.wlw.netui.pageflow.PageFlowRequestProcessor.process(PageFlowRequestProcessor.java:650)
              at com.bea.wlw.netui.pageflow.AutoRegisterActionServlet.process(AutoRegisterActionServlet.java:527)
              at com.bea.wlw.netui.pageflow.PageFlowActionServlet.process(PageFlowActionServlet.java:152)
              at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
              at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:996)
              at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419)
              at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:315)
              at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:318)
              at com.bea.wlw.netui.pageflow.PageFlowRequestProcessor.superForward(PageFlowRequestProcessor.java:1301)
              at com.bea.wlw.netui.pageflow.PageFlowRequestProcessor$DefaultHttpRedirector.forward(PageFlowRequestProcessor.java:1317)
              at com.bea.wlw.netui.pageflow.PageFlowRequestProcessor.doForward(PageFlowRequestProcessor.java:1199)
              at com.bea.wlw.netui.pageflow.PageFlowRequestProcessor.process(PageFlowRequestProcessor.java:637)
              at com.bea.wlw.netui.pageflow.AutoRegisterActionServlet.process(AutoRegisterActionServlet.java:527)
              at com.bea.wlw.netui.pageflow.PageFlowActionServlet.process(PageFlowActionServlet.java:152)
              at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
              at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:996)
              at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419)
              at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:315)
              at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6456)
              at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
              at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
              at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3661)
              at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2630)
              at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
              at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)

    I am getting the same error... Is there any one who can help us... Or is the problem solved, if so please let me know How did you do that...
              Thanks
              Hara

  • Cannot View Crystal Report Outside Company (Red X)

    I just publsihed a website to the web and when I try to run the crystal report from the net I get a red x. Internally it works fine. I copied the Virtual directories from the default website to my extranet site. E.G. Crystalreportsviewer115 and businessobjects.
    I use recrystalize which creates the .asp pages with parameters and uses active x plugins. I do not get prompted for the active x plug in outside the company.  Any help would be much appreciated.
    Jerry Kane

    Appreciate the response. I tried your first article in regards to dynamic images with no luck. I was a bit confused on granting access to the C:\Temp folder with an asp account. I cannot find the asp account is it a network account? Is it listed in AD?
    - just right click on the temp folder (C:\windows\temp). Choose properties and then go to the Permissions tab. Add the ASP net worker process and give it full control.
    I did create a new web.config file. When you say comment out do you mean remove? If so that is what I did. Nothing has changed. I am running XI R2.
    - can you give me the specific page(s) you are refering to?
    Ludek

  • Cannot install Crystal report 2008

    Dear All,
    I am trying to instal CR_2008_SP01_for_B1 on my PC. I got a screen said "please wait while the installer finishes determining your disk space requirements" forever. If I hit cancel, it will cancel the installation. So it looks like the installation process is not frozen. It didn't give me any error message as well. I have windows XP and SQL2008. I have SAP8.8 PL16. I have around 10G free space on C drive. That is the only local hard drive I have. Can anybody let me know how to install Crystal? Thanks in advance.
    Regards,
    Yuka

    Hi Yuka.........
    If you are not getting any errors while installation and taking time then I would suggest you let it run else if you cancel in between then it may corrupt dll files which are being created while installation. Because while installation a setup checks all those prerequisites which are required so it generally takes time.
    Regards,
    Rahul

  • Customizing ActiveX Viewer for Crystal Reports 2008

    Here's the scenario.
       We have reports designed in Crystal Reports 2008, that are deployed on Business Objects 3.1 Infoview. All reports have Parameters for users to choose. All reports are expected to refresh on open.Some are dynamic some are standard static ones. There is an application developed in JAVA that is rendering these reports using the ActiveX viewer.
    The users are not comfortable with the way reports look in JAVA viewer. Hence the choices are either HTML viewer or ActiveX viewer.
    The application achieves this by making OpenDoc call to the report and using
    sViewer=actx
    as one of the parameters. Here's the issue that we run into. When users land on the parameter screen, the parameter screen alone Pops Up in a new window. Once all the parameter values are entered and the users clicks OK, the window vanishes and actual report is rendered in the original window.
    If we use HTML viewer by setting
    sViewer=html
    The report Parameter screen is rendered in the main window without popping up. However we do not wish to use HTML viewer because, some of the reports are linked to other reports with OpenDoc calls. i. e. Parent report calls child report with a OpenDoc call. In the HTML viewer, when you click on the link to child report, it opens in same window despite setting
    sWindow=new
    in that opendoc call. Thereby losing parent report and no way to navigate back to it. This problem does not happen in ActivX viewer.There it seems to obey the command to open in new window.
    Lastly you can recreate all this behavior by setting your viewer preferences in Info View settings. 
    So, here's my questions.
    1. Should I use the .Net viewer instead of ActiveX Viewer ? If so, where can I find Syntax for the same ?
    2. Can someone point me to documentation on the ActiveX Viewer ? Specifically making it not to Pop Up the Parameter Screen ?
    3. Should the Java application use a different method other than Open Doc to cal the reports ? If so where can I get the details ?
    Apologies for the long post. I tried to anticipate most of the questions that may arise in your mind. Thanks in advance for the time invested.

    Thank you Adam for the help.
    I already have the Open Document document you mentioned. Can't seem to search for the KB article in Marketplace. No results found.
    Just to clarify, I do not want to avoid the Parameter screen. Its the fact that it Pops Up in ActiveX viewer is the issue. The only thing I want in ActiveX viewer is to make that screen appear in main window just like HTML viewer.
    I understand that there is no difference as far as opendoc is concerned between .Net or JAVA. I am looking for the SDK behind the viewers themselves.
    To my third question, your answer is what I was looking for. But need a bit clarification.
    >
    Adam Stone wrote:
    > If you do not like the functionality that OpenDocument provides, you could use the SDK to view the reports, but you will likely run into the same issue as you are running into when using the html viewer.  The only workaround for that is to set a property on the viewer object in the SDK but it will affect all hyperlinks in the report not just a single one.
    By setting Property in SDK for the viewer Object, are you referring to Meta Tag encapsulation such as
    <a href= http://infoview.server.com/Infoview/opendoc/openDocument.jsp?iDocID=ABZR3Z&sIDType=CUID&&sType=wid&sRefresh=Y&sWindow=new>Report Title</a>
    May be I didn't get your point with setting property. I know there is documentation on Viewer SDK. I just can't seem to find it. I hope it would answer the questions.
    Edited by: SAMEER UPADHYE on Oct 6, 2010 5:46 PM

  • Export from Crystal Reports 2008 viewer fails if run on separate thread

    I have a windows desktop application written in Visual Basic using Visual Studio 2008.  I have installed and am trying Crystal Reports 2008 to run a report.  Everything seems to work well except that when I preview a report (using the viewer control) and click the export button found in the upper left corner of that control, I get the following message:
    Error 5: Current thread must be set to single thread apartment (STA) mode before OLE calls can be made.  Ensure that your Main function has STAThreadAttribute marked on it.  This exception is only raised if a debugger is attached to the process.
    I am a little confused on what to do exactly.  Is the problem because I am running in the Visual Studio 2008 IDE?  It says this exception is only raise if a debugger is attached to the process.  No, I tried running it outside the IDE.  The exception wasn't generated but the application hung when the button was clicked.
    It says the current thread must be set to single thread apartment (STA) mode.  If the report is run on its own thread, is the "current" thread the thread the report is running on or is the main application's UI thread?  I don't think I want to set my main application to single thread apartment mode because it is a multi-threaded application (although I really don't know for sure because I am new to multi-threaded programming). 
    My objective is to allow reports to run asynchronously so that the user can do other things while it is being generated.  Here is the code I use to do this:
        ' Previews the report using a new thread (asynchronously)
        Public Sub PreviewReportAsynch(ByVal sourceDatabase As clsMainApplicationDatabase)
            Dim backgroundProcess As System.ComponentModel.BackgroundWorker
            ' Start a new thread to run this report.
            backgroundProcess = New System.ComponentModel.BackgroundWorker
            Using (backgroundProcess)
                ' Wire the function we want to run to the 'do work' event.
                AddHandler backgroundProcess.DoWork, AddressOf PreviewReportAsynch_Start
                ' Kick off the report asynchronously and return control to the calling process
                backgroundProcess.RunWorkerAsync(sourceDatabase)
            End Using
        End Sub
        Private Sub PreviewReportAsynch_Start(ByVal sender As Object, ByVal e As System.ComponentModel.DoWorkEventArgs)
            ' The source database needed to call preview report was passed as the only argument
            Call PreviewReport(CType(e.Argument, clsMainApplicationDatabase))
        End Sub
        ' Previews the report.  From the preview window, the user can print it.
        Public Function PreviewReport(ByVal sourceDatabase As clsMainApplicationDatabase) As FunctionEndedResult
            Dim errorBoxTitle As String
            Dim frmPreview As frmReportPreview
            ' Setup error handling
            errorBoxTitle = "Preview " & Name & " Report"
            PreviewReport = FunctionEndedResult.FAILURE
            On Error GoTo PreviewError
            ' Set up the crxReport object
            If InitializeReportProcess(sourceDatabase) <> FunctionEndedResult.SUCCESS Then
                GoTo PreviewExit
            End If
            ' Use the preview form to preview the report
            frmPreview = New frmReportPreview
            frmPreview.Report = crxReport
            frmPreview.ShowDialog()
            ' Save any settings that should persist from one run to the next
            Call SavePersistentSettings()
            ' If we got this far everything is OK.
            PreviewReport = FunctionEndedResult.SUCCESS
    PreviewExit:
            ' Do any cleanup work
            Call CleanupReportProcess(sourceDatabase)
            Exit Function
    PreviewError:
            ' Report error then exit gracefully
            ErrorBox(errorBoxTitle)
            Resume PreviewExit
        End Function
    The variable crxReport is of type ReportDocument and the windows form called 'frmPreview' has only 1 control, the crystal reports viewer. 
    The print button on the viewer works fine.  Just the export button is failing.  Any ideas?

    Hi Trevor.
    Thank you for the reply.  The report document is create on the main UI thread of my application.  The preview form is created and destroyed on the separate thread.  For reasons I won't get into, restructuring the code to move all the initialization stuff inside the preview form is not an option (OK, if you a really curious, I don't always preview a report, sometimes I print and/or export it directly which means the preview form isn't used).
    What I learned through some other research is that there are some things (like COM calls and evidently some OLE automation stuff) that cannot be run on a thread that uses the MTA threading model.   The export button probably uses some of this technology, thus the message stating that an STA threading model is required.  I restructured the code as follows to accomodate this requirement.  Here is a sample:
    ' Previews the report using a new thread (asynchronously)
        Public Sub PreviewReportAsynch(ByVal sourceDatabase As clsMainApplicationDatabase)
            Dim staThread As System.Threading.Thread
            ' Start the preview report function on a new thread
            staThread = New System.Threading.Thread(AddressOf PreviewReportAsynchStep1)
            staThread.SetApartmentState(System.Threading.ApartmentState.MTA)
            staThread.Start(sourceDatabase)
        End Sub
        Private Sub PreviewReportAsynchStep1(ByVal sourceDatabase As Object)
            Dim staThread As System.Threading.Thread
            ' Initialize report preview.  This includes staging any data and configuring the
            ' crystal report document object for use by the crystal report viewer control.
            If InitializeReportProcess(DirectCast(sourceDatabase, clsMainApplicationDatabase)) = FunctionEndedResult.SUCCESS Then
                ' Show the report to the user.  This must be done on an STA thread so we will
                ' start another of that type.  See description of PreviewReportAsynchStep2()
                staThread = New System.Threading.Thread(AddressOf PreviewReportAsynchStep2)
                staThread.SetApartmentState(System.Threading.ApartmentState.STA)
                staThread.Start(mcrxReport)
                ' Wait for step 2 to finish.  This blocks the current thread, but this thread
                ' isn't the main UI thread and this thread has no UI anymore (the progress
                ' form was closed) so it won't matter that is it blocked.
                staThread.Join()
                ' Save any settings that should persist from one successful run to the next
                Call SavePersistentSettings()
            End If
            ' Release the crystal report
            Call CleanupReportProcess(DirectCast(sourceDatabase, clsMainApplicationDatabase))
        End Sub
        ' The preview form must be launched on a thread that use the single-threaded apartment (STA) model.
        ' Threads use the multi-threaded apartment (MTA) model by default.  This is necessary to make the
        ' export and print buttons on the preview form work.  They do not work when running on a
        ' thread using MTA.
        Public Sub PreviewReportAsynchStep2(ByVal crxInitializedReport As Object)
            Dim frmPreview As frmReportPreview
            ' Use the preview form to preview the report.  The preview form contains the crystal reports viewer control.
            frmPreview = New frmReportPreview
            frmPreview.Report = DirectCast(crxInitializedReport, ReportDocument)
            frmPreview.ShowDialog()
        End Sub
    Thanks for your help!
    Andy

  • Issue with use of shared variables in Crystal Reports 2008 Offline Viewer

    Hi,
    I have a report that contains a number of sub-reports which include drill-down functionality. The report returns data relating to an individual team with the user being able to view top level summary information in each area from the parent report and then drill into the sub-reports to view see more detail. The data returned by the sub-reports is filtered, using sub-report links, based on the team code parameter value given by the user. This parameter field resides in the main report.
    One of the values returned by the main report is the team name. This is passed to each sub-report using a shared variable and each sub-report displays this team name as part of a heading.
    This all works fine in Crystal Reports 2008, but when a report, containing data, is opened using Crystal 2008 Offline Viewer there is a problem with the shared variable. The value is displayed correctly when the user initially drills into the sub-report. However, when the user begins to drill into grouped data within the sub-report the value passed to the sub-report using the shared variable disappears. 
    How can I ensure that, when a report is viewed using Crystal Offline Viewer 2008, the value within the shared variable is not lost when users drill into grouped data within sub-reports
    Thanks
    Stuart

    Please re-post if this is still an issue or purchase a case and have a dedicated support engineer work with you directly:
    http://store.businessobjects.com/store/bobjamer/DisplayProductByTypePage&parentCategoryID=&categoryID=11522300?resid=-Z5tUwoHAiwAAA8@NLgAAAAS&rests=1254701640551

  • Crystal Reports 2008 viewer, print function, Comunication error

    I installed cr2008 on a web server and isntalled sp0
    if I bring up a reprot in smartviewer from a client it works and I can print
    once I installed sp1, sp2 and or sp3 for crystal reports 2008 the print button in crystal reports viewer gives an error when I click the print button.
    If I remove and re-isntall cr2008 and just installed sp0 the print button works again
    Is there a fix to make the print button work in crystal reports smart viewer once sp1 or above have been installed
    thank you
    ted

    Translating the error message on bablefish I get:
    Mistake with the store of the data bank information. Mistake in the file Report {C6512421-348A-4621-B1ED-895D28646A0A} .rpt
    Which I'm sure is not 100% accurate, but it gives a good hint. As well, because of this:
    "Do I need to install an additional / diffrent runtime than 2008 Runtime"
    I wonder how you installed the CR 12 runtime on that computer? For more info on CR runtimes, see [this|https://wiki.sdn.sap.com/wiki/display/BOBJ/CrystalReportsforVisualStudio.NETRuntimeDistribution-Versions9.1to12.0] wiki.
    If my suggestion above does not help, make sure the Win\temp directory can be accessed buy the application. Crystal Reports runtime needs to write and read files from the temp directory.
    Ludek

  • How to view multiple reports using crystal reports 2008

    Hi ,
    I am working on vb6 project where in i am trying to generate reports using crystal reports 2008.
    For this , i am making use of Interop Form Wrapper class in vb6.
    I have a business requirement where in i need to view multiple reports  on my screen.
    please suggest me as to how this can be achieved.
    Thanks in Advance
    Regards,
    Ramnath

    Hi Ludek,
    I  am directly now using crystal report viewer control in my vb6 project.
    As mentioned in previous mail, i have created a Interop Wrapper class over crystal report viewer control in .Net using visual studio 2008 and i am making use of wrapper class in my vb6 project.
    I am able to access all the properties that have been defined in my Interop wrapper Class but the only stuff i need is to view multiple reports generated one after the another for a single button click Event.
    Please find below the code that iam using to load and generate reports.
    Note:
    1. frm is the instance of my Interop Wrapper Class built over CR viewer control
    2. All the user defined methods of Wrapper class that you see below will internally call the actual crystalreportviewer   properties defined in my Wrapper class
    Say for e.g   frm.DisplayToolbar(True) will internally  execute  crystalreportViewer1.DisplayToolbar = True
    frm.SetReportSource(strRptFilePath,0)          
    frm.SetSelectionFormula(strrecordSelectionFormula)
    frm.DisplayToolbar(True)               
    frm.ShowExportOption(True)
    frm.ShowPrintOption(True)
    frm.ShowRefreshOption(True)
    frm.ShowPAgeNavigateOption(True)
    frm.ShowZoomOption(True)
    frm.ShowParameterPanelOption(True)
    frm.Show()
    Thanks in Advance
    Regards,
    Ramnath

  • Crystal Report 2008 and SAP B1 8.8 Cannot import as report

    Dear Friends,
    I has a problem a bout crystal report 2008 SAP with SAP B1 8.8 cannot imported as "Report", if imported as "layout" crystal report working fine, any solution for this, i'am using SAP 8.8 PL 10 if any bug with crystal report in this page level?
    did any body now the solution?

    Hi,
    Try in other way, Open rpt file.
    In Add-in menu > SAP > Save
    provide necessary detail (Company Name,License Server,SQL User/Password)
    "save as per your need"
    Try to generate by this way...
    Thanks
    Shamseer

  • Cannot see System DSN in Crystal Reports 2008 on Vista/Windows 2008

    I've been making quite a bit of progress in switching migrating our Crystal Reports 8.0 reports and apps to Crystal Reports 2008 on our Windows 2008 server, but am currently stuck on a DSN issue that I hope someone here can help me out with.
    When I go to select a new ODBC data source in Crystal Reports 2008, the only ODBC data sources that show up in the list are User DSNs.  These reports will be served via our intranet website, so I need to use System DSNs.  The same is true on both my development computer running 64-bit Vista and the production server running Windows Server 2008.
    I'm using Visual Studio 2008 (C#) for development along with Crystal Reports 2008 (not the Crystal Reports Basic that comes with Visual Studio).
    How can I use a System DSN?  Any help or advice will be much appreciated!

    Hi, Paul;
    The first thing to check is to ensure you are creating a 32 bit ODBC DSN, and not a 64 bit one. Crystal Reports 2008 is 32 bit only.
    http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=381384&SiteID=1
    Best Regards,
    Jonathan

  • Cannot See ODBC System DSN's on Windows Vista 64bit in Crystal Reports 2008

    Hi,
    I have installed Crystal Reports 2008 on my Windows Vista 64 bit PC and have setup an ODBC connection to my mySQL box which I wish to report on.
    Crystal Reports however does not see the ODBC DSN's which I have configured.
    I have installed the product on a 32 bit Windows system with no problems.
    Is there a solution to this?
    Thanks.

    I have found the solutions;
    My ODBC drivers did in fact install. Microsoft, in all their wisdom, has 2 versions of odbcad32. A 32 bit and a 64 bit. They are both named odbcad32.exe.
    They put the 32 bit odbcad32.exe in the syswow64 directory. They put the 64 bit odbcad32.exe in the system32 directory. 32 bit apps will pick up the 32 bit registry setting and 64 bit will pick up the 64 bit registry setting. system32 comes before syswow64 in the system path so the 64bit software runs before the 32 bit software.
    So, when I manually ran odbcad32.exe in the syswow64 directory, I was able to configure my connections and everything worked fine.

  • Crystal Reports 2008 failed to retrive data, and instead deleted it.

    I have been using crystal reports 2008 for the past year or so with our billing software through an OBDC data source. I was using xp pro sp3. However I recently upgraded to a new computer running xp pro sp3 as well, and now I am having some serious issues.
    When I try to connect to a data source in the database expert, it shows all the tables, and then the field explorer shows the fields, but when I actually try to brows the data, view a preview, verify the database, or refresh an old report it gives me an error and DELETES the .dat file that the field was located in. I am so glad I have regular backups to restore too, because pulling a report nuked 5 .dat files.
    The errors I am getting are as follows:
    "Failed to retrieve data from database."
    Clicked ok
    "Failed to retrieve data from database."
    Clicked ok
    "Database Connector Error: 'HY000:[Pervasive][ODBC Client Interface][LNA][Pervasive][ODBC Engine Interface][Data Record Manager]The file cannot be created with Variable-trail Allocation Tables (VATs)(Btrieve Error 105)'"
    Clicked ok
    "Failed to retrieve  data from database.
    Details:HY000:[Pervasive][ODBC Client Interface][LNA][Pervasive][ODBC Engine Interface]Unable to open table: <nameoftable>"
    Click ok
    and Crystal stays open but has just deleted the .dat file that the table was located in. It will still show the fields but  no data. Trying to open the other software leads to an error "missing <name of table>.dat" It then has to be restored from a backup.
    I have tried updating crystal as well as fully uninstalling it and reinstalling it, we have created a new ODBC connection, and cloned the database for testing purposes. The same thing occurs with the new database and ODBC data source.
    We have no other computers, except my old one that has crystal reports on it. I have tried the old computer again and it is working fine.
    Does anyone have an suggestions? This is pretty critical. Thanks in advance.
    Edited by: Russellk on Jan 13, 2010 8:27 PM

    Hello, you could try turning on ODBC tracing to see if it logs anything. It's a pain to get going but here's how.
    Go to ODBC Admin, Click on the Tracing tab and create a log file and save. Don't start tracing yet. Close the ODBC admin and then re-open it and then turn tracing on. You may have to do this a few times to get it working.
    Once it's tracing then open CR and try the demo data. Then close the report, log off, log onto the real data and do the same with a new report. You'll see a bunch of ODBC API's but there may be one or 2 that don't look right or errors may be logged compared to the DEMODATA.
    Another suggestion is it may not be your PC doing the deleting. Maybe the Server thinks you have infected the data files and it's deleting them. Have a look in anti-virus quarantine logs on the server to see if it's doing the nasty....
    Check the trust between your PC and the server.
    I've also seen this type of odd behaviour with corrupted Profiles. Check with your IT guys on creating a new one for you, it's apain because you loose everything on your work station.
    What happens if you log on from another PC using your account? Does that also delete the files? Or get someone else who it does work for log into your PC, does that work? If so it may be your Profile is either not trusted or it's been corrupted.
    Good luck
    Don

Maybe you are looking for