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?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Gerald_WrightCommented:
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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic.NET

From novice to tech pro — start learning today.