Crystal Report not being displayed on user's PC
Posted on 2006-04-25
I am developing a system that uses Crystal Reports. I have Crystal report v8.5 on my PC and when I display a crystal report via VB.Net (2003), the report is displayed. The problem is that when I do the same report on a user's PC the report is not getting displayed. There are no error messages. What am I doing wrong.
Here is a sample of my code that is on the click event of the form....
'Load Crystal Report's rpt file
Dim cr As New CrystalDecisions.CrystalReports.Engine.ReportDocument
param1Field.ParameterFieldName = "PassParam"
param1Range.Value = sPassParam
CrystalReportViewer1.ParameterFieldInfo = param1Fields
Dim rpt As New CrystalDecisions.CrystalReports.Engine.ReportDocument
CrystalReportViewer1.ReportSource = strReportPath
'Set the CrystalReportViewer's apperance and set the ReportSource
CrystalReportViewer1.ShowRefreshButton = False
CrystalReportViewer1.ShowCloseButton = False
CrystalReportViewer1.ShowGroupTreeButton = False
'CrystalReportViewer1.ReportSource = cr