Crystal Report Viewer is not appearing after hosting on server

Dear Friends
I developed a web application in Visual Studio 2010, and my Database is SQL Server 2008 R2.
I created reports using Crystal Report 13 in Visual Studio and my Operating System is Windows 7 32-Bit.
All reports are running fine at my machine.
When I copied published folder into "wwwroot" folder and hosted, all reports are working Good.
Here i have my web application in "Default Web Sites" in IIS.
Then After I added a new website in IIS with a port No. and created a virtual folder and hosted my web application.
The application is running fine, But the problem is Reports are not appearing on Web Page.
I have created an toolbar to export the report. And when I am exporting the report to PDF, It is working well and reports are exported successfully.
I didn't understand why this is happening?
Is this a problem of  port no. ?
or
Is this a problem of IIS?
or
Is this a problem of Browser?
or
Is this a problem with CrystalReportViewer?
or
something else?
In fact I have the folder for  "C:\inetpub\wwwroot\aspnet_client\system_web\4_0_30319\crystalreportviewers13". for crystal reports.
Dear All kindly help me in this issue, it is disturbing me since 5 days.
All helps are appreciable.
Thank you.

Enter the following:
viewer blank net crystal
into the search box in the top right corner. You should get a number of hits (Kbases and articles) that should point you to a solution.
Ludek
Follow us on Twitter http://twitter.com/SAPCRNetSup
Got Enhancement ideas? Try the [SAP Idea Place|https://ideas.sap.com/community/products_and_solutions/crystalreports]

Similar Messages

  • Crystal report viewer does not observe the PaperSize and PageOrientation setting

    Hi:
    My application is a 3 tier application, where the WinForm client is connected to the WCF Services hosted in IIS server.
    The report is generated on server side using WCF service, and export as.rpt with data, the .rpt file is then sent to the WinForm client, the Crystal Report viewer is used to load the .rpt file for preview and print.
    On server side I've Microsoft XPS Document Writer installed and set as default printer. On the client side if the default printer is XPS or Nitro PDF creator, the report can be view and print correctly, report design in landscape will be able to show in the landscape in CR viewer, report design using custom paper size (e.g. Half Letter), CR viewer able to show it in Half Letter.
    The problem that I'm facing is when the default printer is set to HP LaserJet P1120 or others (I've tried Epson ESC/P Standard driver), the report is always shown in the portrait, and it will not be able to show in custom paper size either. Here is my code:
         Dim settings As New System.Drawing.Printing.PrinterSettings
         Dim rep as New ReportDocument
         rep.Load(sOutputFileName)     'The report is download from server and save in sOutputFileName
         SetReportPaperSize(rep, sPaperSizeName, False, settings) ' sPaperSizeName store the name of the custom paper used in the report
         CrViewer.ReportSource = rep
       Public Shared Sub SetReportPaperSize(rep As ReportDocument, paperSizeName As String, isHardCopy As Boolean, settings As Printing.PrinterSettings)
          Dim installedPrinters As Printing.PrinterSettings.StringCollection = Printing.PrinterSettings.InstalledPrinters
          Dim printers As New List(Of String)
          Dim sPrinter As String
          If installedPrinters.Count = 0 Then
             Return
          End If
          SetPrinterDefaultPaperSize(rep.PrintOptions, paperSizeName, settings)
          With rep.PrintOptions
             .PrinterName = settings.PrinterName
             .PaperSource = PaperSource.Auto
             If paperSizeName.Trim.Length > 0 Then
                .PaperSize = DirectCast(GetPapersizeId(paperSizeName, settings, rep.PrintOptions.PaperSize), CrystalDecisions.Shared.PaperSize)
             End If
          End With
       End Sub
       Public Shared Sub SetPrinterDefaultPaperSize(printOptions As PrintOptions, paperSizeName As String, settings As Printing.PrinterSettings)
          With settings.DefaultPageSettings
             If paperSizeName.Trim.Length = 0 Then
                . PaperSize = GetPaperSize (printOptions.PaperSize, settings)
             Else
                For Each size As Printing.PaperSize In settings.PaperSizes
                   If size.PaperName.EqualsTo(paperSizeName) Then
                      .PaperSize = size
                      Exit For
                   End If
                Next
             End If
             .Landscape = printOptions.PaperOrientation = PaperOrientation.Landscape
             .Margins.Top = printOptions.PageMargins.topMargin
             .Margins.Left = printOptions.PageMargins.leftMargin
             .Margins.Bottom = printOptions.PageMargins.bottomMargin
             .Margins.Right = printOptions.PageMargins.rightMargin
          End With
       End Sub
       Public Shared Function GetPaperSize(paperSizeId As Integer, defaultPrinterSettings As Printing.PrinterSettings) As Printing.PaperSize
          Dim settings As Printing.PrinterSettings = defaultPrinterSettings
          Dim result As Printing.PaperSize
          If settings Is Nothing Then
             settings = New Printing.PrinterSettings
          End If
          ' Default paper Size defined in the printer
          result = settings.DefaultPageSettings.PaperSize
          For Each size As Printing.PaperSize In settings.PaperSizes
             If size.RawKind = paperSizeId Then
                result = size
                Exit For
             End If
          Next
          Return result
       End Function
       Public Shared Function GetPapersizeId(paperSizeName As String, defaultPrinterSettings As Printing.PrinterSettings Optional defaultpaperSizeId As CrystalDecisions.Shared.PaperSize = CrystalDecisions.Shared.PaperSize.DefaultPaperSize) As Integer
          Dim settings As Printing.PrinterSettings = defaultPrinterSettings
          Dim result As Integer = defaultpaperSizeId
          If settings Is Nothing Then
             settings = New Printing.PrinterSettings
          End If
          If Not String.IsNullOrEmpty(paperSizeName) Then
             For Each size As Printing.PaperSize In settings.PaperSizes
                ' Height and Width in Printing.PaperSize is measure in hundredths of an inch
                If size.PaperName.EqualsTo(paperSizeName) Then
                   result = size.RawKind
                   Exit For
                End If
             Next
          End If
          Return result
       End Function
    Setting the PrintOptions.PaperSize and PageOrientation seem like no effect on the viewer. My code to load the report to CR viewer is much more complicated than the code I show above, I've a background worker thread to download the report, and when the worker thread finished download the report from the server, it will assign the report to CRViewer. Do the changes in report PrintOption before assign to CRViewe and after assigning to CRViewer make any different?
    I'm using VS2010, CR XI R2 (Version 11.5.3700.0). Please Help. Thanks
    Regards
    JC Voon

    Hi JC,
    CRXI R2 is a no go with VS 2010, these two are not compatible.
    With CR 11.5 use VS 2005.
    Or Use VS 2010 and CR for VS 2010 (13.0)
    Once you have the supported / compatible conbination of CR and VS, use the In Proc RAS .NET code from below KBA.
    http://search.sap.com/notes?id=0001561333&boj=/sap/bc/bsp/spn/scn_bosap/notes.do?access=69765F6D6F64653D3939382669765F7361706E6F7465735F6E756D6265723D30303031353631333333
    Also, see the KBAs returned by below search. The top right corner search box on this page is quite helpful.
    http://search.sap.com/ui/scn#query=crystal%252C+paper%252C+orientation%252C+.net%252C+sdk&startindex=1&filter=scm_a_site(scm_v_Site11)&filter=scm_a_modDate(*)&timeScope=all
    - Bhushan
    Senior Engineer
    SAP Active Global Support
    Follow us on Twitter
    Got Enhancement ideas? Try the SAP Idea Place
    Getting started and moving ahead with Crystal Reports .NET applications.

  • Crystal report viewer do not show on client computer installation

    hi
    hope all you are fine
    i develop a simple project that show "Hello word My First Crystal Report" on crystal report viewer. after this i add new project "setup and deployment". In Setup Project I add 4 files of .msm for show crystal report.
    1. CRRuntime_13_0_tr.msm  2. Microsoft_VC100_ATL_x86.msm
    3. Microsoft_VC100_CRT_x86.msm
    4. Microsoft_VC100_MFC_x86.msm 5. Microsoft_VC100_OpenMP_x86.msm
    when i install on developer computer. it runs successfully. when i install on client computer, software runs fine but crystal report did not show and having error "METHOD NOT FOUND VOID CrystalDecision.WINDOWS.FORMS.CrystalREPORTViewer.SET_CACHEDPAGENUMBERPERDOC(INT32)"
    i install .net frame work and CRforVS_13_0_9.exe on client computer but .net frame work show form but crystal report did not show. 
    Please Help

    Hello,
    For Crystal repot related question ,please consult on SAP Crystal report forum instead of here.
    Best regards,
    Barry
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Crystal reports viewer will not prompt for parameters

    Help,
    I can not get crystal report viewer to prompt for parameters when called from IIS 8 on Server 2012 r2
    I can get crystal report viewer to prompt for parameters when run from vs 2010 built in web service.

    Thanks,
    The solution for me was to uninstall the latest crystal reports runtime 13.10.x and install 13.6.x instead.
    Thanks anyway.

  • Crystal Report Viewer Closes the application after showing "The text cannot be found in the report" when searching for a text in a multipage report

    Post Author: Farooque
    CA Forum: Other
    Hi,
    I am using Crystal report viewer (Crviewer.dll) version 11.0.0.1282 to show crystal reports in my VB6 application. When we search for any text in a multipage report after the last find system shows a message "Crystal Report Viewer" "Text cannot be found in the report" and trows an unhandled error and closes the application. How can I fix this?
    Please help
    Thanks in advance.
    Farooque. ([email protected])

    Enter the following:
    viewer blank net crystal
    into the search box in the top right corner. You should get a number of hits (Kbases and articles) that should point you to a solution.
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup
    Got Enhancement ideas? Try the [SAP Idea Place|https://ideas.sap.com/community/products_and_solutions/crystalreports]

  • The "next" button of crystal report viewer does not work

    hi
    I use crystal report viewer control to show my crystal report on my aspx page.
    like:
    <CR:CrystalReportViewer id="CRViewer" runat="server" HasRefreshButton="False" PrintMode="ActiveX" DisplayGroupTree="False"
    AutoDataBind="True"
    SeparatePages="TRUE"
    Height="520px"
    Width="900px">
    </CR:CrystalReportViewer>
    however when I try to navigate to next page by click "Next" arrow button on the crystal report viewer toolbar, it only can navigate to the page 2, whatever I click the "Next" button, it still stay on page 2,
    actually this report has 10 pages.
    On the other hand, if I input the page number, such as 5 on the "goto" textbox, it will jump to page 5 correctly.
    Could you give me any good advices to solve this problem?
    Thanks.

    There are a few threads discussing the issue in this forum. See if these provide some guidance:
    "Next Page" wont go beyond page 2 in Html Viewer (Crystal.NET for VS 2008)
    Re: Crystal Reports .NET Visual Studio 2005
    Problem in CrystalReportViewer
    Ludek

  • Crystal Reports - Charts do not appear on reports in some cases

    We have a few reports that include charts on them (created with Crystal 2008 Designer).  These reports have run fine for quite a while but this morning we got a support call with a client reporting that though the reports process and appear correctly, the charts do not appear - instead the client can see a box where the charts should be - but no charts appear.
    Wait...  This has a curve ball...
    The same client then ran our application on the SAME machine, but in a VM (virtual machine) on that machine, and now, the charts appear! 
    I can understand that if a machine is low on memory, charts might not appear - but then why when a VM is used on the same machine do charts suddenly appear?
    Is there any way, any suggestion someone can offer by which I can 'trap' this situation in code, PRIOR to producing a report that is going to have a big blank spot where a chart normally appears?
    Thanks for any help - much appreciated.

    Nope...  Not video corruption...  We finally figured it out...
    Its the 12_0 runtime.  Run it, and you dont see any charts, no errors, no warnings, just no charts - update to the 12_1 runtime and voila, charts are suddenly present.
    Just to be sure we were not going nuts we uninstalled, reinstalled the 12_0 and no charts again - put in the 12_1 runtime and there they are again.
    Problem solved.
    Edited by: Bruce Landry on Mar 9, 2010 7:50 PM

  • Conversion from VS2003 to VS2005 Crystal Report View is not compatible

    I am trying to migrate an application from VS2003 to VS2005.  I am trying to run it locally, using the localhost method.  I am getting a parser error: The base class includes the field u2018CrystalReportViewer1u2019 but itu2019s type (CrystalDecisionsWeb.CrystalReportViewer) is not compatible with the type of control (CrystalDecisions.Web.CrystalReportViewer)
    I have a tried a number of solutions, including removing and then readding Crystal Report references (picking the 10.2.3600 ones).
    I also created a websetup project, trying either the windows installer and the merge modules.  Those both gave me the error "The setup requires Internet Information Server 4.0 or higher and Windows NT 4.0, Windows 2000 or higher.  This setup cannot be installe don Windows 95, Windows 98, or Windows ME.  Please install Internet Information Server and run this setup again." so I guess I don't understand how localhost works, but I know it's not a true web server.
    I also followed a post to delete the assembly information that was in my web.config, which was      <add assembly="CrystalDecisions.CrystalReports.Engine, Version=9.1.5000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/><add assembly="CrystalDecisions.ReportSource, Version=9.1.5000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/><add assembly="CrystalDecisions.Shared, Version=9.1.5000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/><add assembly="CrystalDecisions.Web, Version=9.1.5000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/>
    and expected it to be readded when I re-added my references and rebuilt but there is now just an empty <assemblies></assemblies> tag.
    Note that I have VS2003, VS2005 and VS2008 all installed on my computer as we have application in various stages of conversions.  I think I just downloaded SP1 for Crystal Reports for VS2005 but it doesn't specify when I do Help-About in VS so maybe I didn't.
    I have spent so many countless hours and only just found this forum buried under the rather confusing SAP website.
    Thank you SO much for any help,
    Penny

    removing all of the references and adding the 10.2 references is a good start.  the problem is most likely that you still have a 9.1.5000 reference to CrystalDecisions.Web in the HTML source of your web form with a viewer control on it.  Easiest way to upgrade that is to delete the viewer control and drag a new one on from the toolbox.  the drag and drop of the viewer control is what will populate your "add assembly" tags.
    Dan

  • Emdedding Flash in Crystal Report 2008 - does not upload to XI R2 Server

    Hello:
    There was an error while retrieving data from the server: Failed to read data from report file C:\WINDOWS\TEMP\SOD Dashboard_Xcelcius.rpt. Reason: Crystal Reports: Print Engine Error
    Flash is created from Xcelcius 2008. IIS has Local Account permissions. There is a reference to DLL Installation in forums (but that message is not shown up).
    Please suggest any help or solution

    You have to match BOE with the version of CR to make this work.

  • Crystal Report Viewer GroupTree no Hyperlink after disable SeparatePages

    Hello,
    This problem has puzzeled me enough. I would really appreciate any help i can get.
    First my environment is ASP.NET VS.NET using VB.NET
    When i set the "Separate Pages" property to "True" i get hyperlinks in the group tree. The hyperlinks drills down to the specific item. However, if the "Separate Pages" property set ot false, I lose the hyperlinks in the group tree. Any ideas why or how to resolve this issue?
    Thanks.

    Sorry, the web / win question was quite silly of me to ask.
    Since you do not have any service packs, let's start with that. SP 1 is here:
    https://smpdl.sap-ag.de/~sapidp/012002523100009351512008E/crbasic2008sp1.exe
    I did try to reproduce the issue with CR 2008 and .NET 2008 and there this works as expected. I don't have CR 10.5 image running right now,  but try the SP and if that does not work I'll test that version. Just an FYI;  It may be that this is something that will need to be fixed for CR 10.5. Fixes normally take 6+ months so if this is reproducible after SP 1 is applied, you'll have to consider your options.
    Ludek

  • Crystal Report Viewer Not Releasing Oracle Database Connections

    I have a very simple vb.net 3.5 web application that uses the Crystal Report viewer 2008 to open a report. My requirements are as follows:
    1. Reports are built by another company and provided to us and used in a web environment
    2. All reports contain parameter fields
    3. The web application must be generic enough that a report can be added to a list and the user simply selects the report and provides database login information. The Crystal report viewer with handle the request for parameter values and prompt the user for their values.
    4. All reports connect to an Oracle 10g server.
    The above requirements have been meet and we have an extremely simple web application that runs the reports. It is working very well other than the crystal report viewer is not releasing the database connections. This is bad because the credentials are on a per user basis and that same user must login to a different oracle application simultaneously. They are being denied access because the credentials are already in use. We do not have control nor influence over the policies in use on the Oracle server. Ideally we would like to control the Crystal Report viewer so that it closes connections after use.
    The web application code is:
    Private Sub viewReports_Init(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Init
    If Not IsPostBack Then
    ConfigureCrystalReport()
    End If
    End Sub
    Private Sub ConfigureCrystalReport()
    'Load the Crystal Report viewer with a report.
    Try
    Dim reportPath As String = Server.MapPath(Session("reportname"))
    crViewer.ReportSource = reportPath
    Catch ex As Exception
    Response.Write(Server.MapPath(Session("reportname")) & "
    " & ex.Message.ToString & "
    " & ex.StackTrace.ToString)
    End Try
    End Sub
    Can anyone shed some light on this topic? Thank you

    Hello, Timothy;
    By default, having the report in session will hold it open for 20 minutes.
    If you create the report as a ReportDocument object you can take it out of session and release it more efficiently. That will release the connection.
        Private Sub ConfigureCrystalReports()
            If (Session("hierarchicalGroupingReport") Is Nothing) Then
                hierarchicalGroupingReport = New ReportDocument()
                hierarchicalGroupingReport.Load(Server.MapPath("Hierarchical Grouping.rpt"))
                Session("hierarchicalGroupingReport") = hierarchicalGroupingReport
            Else
                hierarchicalGroupingReport = CType(Session("hierarchicalGroupingReport"), ReportDocument)
            End If
            myCrystalReportViewer.ReportSource = hierarchicalGroupingReport
        End Sub
    In the Form Unload of the Viewer:
                'Take the report out of session
                Session("hierarchicalGroupingReport")  = Nothing
                Session.Contents.Remove("hierarchicalGroupingReport")
                'Clean up the ReportDocument object
                hierarchicalGroupingReport.Close
                hierarchicalGroupingReport.Dispose()
                hierarchicalGroupingReport = Nothing
                GC.Collect()
    Elaine

  • Crystal Report Viewer Error: Could not render the page

    Hi,
    I was facing the same issues whereby i creating my crystal report in VS2005 profesional built in crystal report designer. When preview in VS2005 the graph displayed correctly. However, when export to IIS it shows the error could not render the page.
    I am using Windows 2008 server, IIS7.
    I tried to install the CRREDIST x86.msi into my server, however it still could not show out the graph (pie chart) in the localhost.
    Appreciated anyone know this could kindly advice.
    thanks.
    ck

    Hello,
    Crystal Reports 10 is not supported on Windows 2008 Server.
    Please view the information [here|http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_dev/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes.do]
    Upgrade the Crystal Reports.
    Thanks,
    Bhushan.

  • Crystal Report Viewer Not viwed - Through APP Server Re-Direction

    Hello Team
    I have a critical problem in my organizaion for viewing the reports.
    Configuration that we are using:
    1. Windows Server 2008 R2
    2. Crystal 13 - Server Trial Version - Expiring on Aug-25th, 2014
    3. Used Visual Studio 2010 - .NET
    4. IIS 7.0 - configured a  Virtual Directory for ASP.NET application
    Out Application is using an Oracle APP Server to view the HTML. A button is provided in the HTML to redirect to view the Crystal Report.
    when I click on the Hyperlink and the url is directly accessed, then the Report is being shown without any issue.
    But ours is a corporate application and we have given a provision of accessign this application when users are outside of network. Hence the Crystal Server is under fire-wall. So, I cannot access it directly with a URL. Hence the app server is configured in such a way that if it find a name like "Reports" in the URL, then it redirects to the actual Web Server and gets back the data to the browser.
    for URL redirection, the app server is configured as below
        ProxyPass /crystalreportviewers/ http://<<ServerIP>>/crystalreportviewers/
        ProxyPassReverse /crystalreportviewers/ http://<<ServerIP>>/crystalreportviewers
        ProxyPass /reports10/ http://<<ServerIP>>/reports10/
        ProxyPassReverse /reports10/ http://<<ServerIP>>/reports10
    When the user redirects from the APP server using those redirection rules, the pages are being executed but the final crystal report viewer control is not being shown on the browser. I am not sure if we need to perform any other steps to get these thigns done.
    Our server is behind fire-wall and whenever I am in network, I used to get the output but when the redirection happens not able to load the Crystal Report Viewer. Not sure, if there are any other security rules that I need to consider to get back the CrystalReportViewer.
    Also, there is something called CrystalReportInteractiveViewer prior to Crystal13. Do we have anything as such in Crystal 13 also? Please help me in getting this worked.
    Please let me know if I am not clear in my explanation and I can certainly provide you a better information based on your queries.
    Thanks
    -Srinivasa Nadella

    Hi Srinivasa,
    Please move this thread to SAP Crystal Reports, version for Visual Studio
    Helpful threads: Having issues with Crystal reports report viewer
    c# - Application level assembly redirection not working - Stack Overflow
    asp.net mvc - Why is my Crystal Report and Viewer invisible on a Web Form in an MVC application? - Stack Overflow
    Regards,
    DJ

  • Crystal Reports Viewer 2008 and parameter fields

    Hello,
    I saw this product on the main Crystal Reports site this afternoon and decided to download it to try it out.  I have a number of users who would benefit from being able to preview their report results prior to actually running the report.  This seems like the perfect product.  I have a large number of Crystal Reports which were created in Crystal version XI.  I also downloaded the free 30 day version of Crystal Reports 2008 yesterday to see what new features are there.
    While testing Crystal Reports Viewer, I tried to run one of my reports which needs a parameter to run properly (account number).  This type of parameter is needed for probably 98% of this business' reports. 
    The problem: Crystal Reports Viewer does not prompt me to input the parameter.  In my actual Crystal Report, I had the box "Save Data with Report' left unchecked, as the account number frequently changes.  However, if that box is left unchecked, Crystal Reports Viewer will give me the error message "No Saved Data.  This report file does not contain saved data and cannot be viewed.  To get data into the report, please open and re-save it in the Crystal Reports designer application with the "Save Data with Report" option selected."
    Thinking that possibly it was the version of Crystal Reports in which the report was created (XI), I downloaded the free trial of Crystal 2008 and created a very simple test report with one parameter for account number where the account number is retrieved from our database.  And I am having the same trouble. 
    The "Help" section of Crystal Reports Viewer tells me that I can select my parameters in the parameter panel.  I do not see anything in my parameter panel other than the words "Current Data Set Last refreshed: 04/12/10 2:58 PM".  The help tells me that I can "select the parameter directly in this panel by entering a new value", but there is no option to do so.
    Any help would be appreciated.
    thanks,
    Noel

    What I've learned is that I was originally using Crystal Viewer XI and upon opening it I received a message indicating there was an update.
    I ran the update which put me on Crystal Viewer 2008.
    Since then I have not been able to refresh my screen to bring up the parameters.
    See the attached forum for another post concerning this same issue. 
    Paramter Prompts in Crystal Viewer

  • Casting of crystal report viewer

    I want to load crystal report in SAP B One.For this I have created a form through screen painter.I am trying to load crystal report on this form.I am using following code-
    Dim objCRViewer As New CrystalActiveXReportViewerLib10.CrystalActiveXReportViewer
    Dim objReport As CRAXDDRT20.Report
    objDT = GetData("Select * from OUSR")
    'Datable objDT created as per requirement
                objReport = objAppl.OpenReport("F:\Final\sdk\Crystal Report\CrystalReport\rptUsers.rpt")
                objReport.Database.SetDataSource(objDT)
    objCRViewer.DisplayToolbar = True
                objCRViewer.DisplayGroupTree = True
                objCRViewer.EnableExportButton = True
                objCRViewer.ReportSource = objReport
                objCRViewer.RefreshEx(True)
                objCRViewer.ViewReport()
    The above code does not create any problem.I want to add objCRViewer in the form.The method of adding a control is,
    oForm = SBO_Application.Forms.ActiveForm
    oForm.Items.Add("objCRViewer", SAPbouiCOM.BoFormItemTypes.it_ACTIVE_X)
    In BoFormItemTypes crystal report viewer is not present.How do I cast the crystal report viewer to activex control ?

    Hi Dilip,
    I guess its not possible to load a Crystal viewer in SBO form. Generally i use a windows form to show my crystal reports.
    If its possible to use Crystal viewer in SBO form, it will be great. Hope u'll be able to solve this problem so that i can use ur approach.
    Regards,
    Vasu Natari.

Maybe you are looking for