Skip to Content
author's profile photo Former Member
Former Member

How to load Crystal Repository Report in VS2010 Report Viewer

I wonder is it possible to to load report from Bussiness Objects Repository in VS2010 ReportViewer? If it is not possible, is there any way i can load repository report in my webpage (I want to let User to enter parameters, view then print/export reprort and send report directly to printer)? Below is the code for loading report from an application path(this is winform app). My requirement is load to report from Bussines Objects Reports Repoistory. I followed some discussions they mentioned to use enterprise. I didn't get what is that. Is it product or class?

Dim repdoc As ReportDocument = New ReportDocument()

Dim s As String

s = Application.StartupPath + "\..\..\Reports\sample.rpt"

repdoc.Load(s)

CrystalReportViewer1.ReportSource = repdoc

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    Posted on Jul 30, 2012 at 05:40 PM

    Hello,

    No, not using Cr for VS 2010. BOE 4.0 moved to a Managed report SDK only and CR for VS 2010 does not include the dll's to connect to BOE 4.0.

    If you have BOE 4.0 you have access to the Support Pack 4 which has the Client tools install which includes the .NET SDK

    See this link for more info on how to download the SDK:

    http://scn.sap.com/docs/DOC-23481

    Requires SMP access to get it.

    Also, Runtime will not work for older versions of BOE, as before the SDK must match the BOE version.

    Don

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.