Skip to Content
Former Member
Jul 26, 2012 at 05:37 PM

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"


CrystalReportViewer1.ReportSource = repdoc