Crystal Report not being displayed on user's PC

Problem

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

                    cr.Load(strReportPath)

                    param1Field.ParameterFieldName = "PassParam"
                    param1Range.Value = sPassParam
                    param1Field.CurrentValues.Add(param1Range)
                    param1Fields.Add(param1Field)
                    CrystalReportViewer1.ParameterFieldInfo = param1Fields

                    Dim rpt As New CrystalDecisions.CrystalReports.Engine.ReportDocument
                    CrystalReportViewer1.ReportSource = strReportPath
                    CrystalReportViewer1.Refresh()

                    'Set the CrystalReportViewer's apperance and set the ReportSource
                    CrystalReportViewer1.ShowRefreshButton = False
                    CrystalReportViewer1.ShowCloseButton = False
                    CrystalReportViewer1.ShowGroupTreeButton = False
                    CrystalReportViewer1.Zoom(55)

                    'CrystalReportViewer1.ReportSource = cr

Any ideas?
directredAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
Gerald_WrightConnect With a Mentor Commented:
I had all kinds of problems with CR and VB.NET 2003.  Sounds like some of the same stuff you are running in to.  Reports not running at all, missing DLLs, the list went on and on.

I found a White Paper a while back called "Crystal Reports and Visual Studio .Net:  Application Deployment".  It solved a lot of problems for me.  It seemed that CR was extremely sensitive to getting the deployment setup JUST right.

http://support.businessobjects.com/communityCS/TechnicalPapers/crnet_deployment.pdf

Business Objects has a lot of additional documentation on different aspects of CR.  I've found them to be a tremendous resource.

Although it didn't answer your questions directly, I hope this helps...
- Gerald
0
All Courses

From novice to tech pro — start learning today.