We help IT Professionals succeed at work.
Get Started

Crystal Reports changed datasource location now getting no data

305 Views
Last Modified: 2012-05-07
I have a crystal report designed in VS 2008 Crystal Reports.  When I changed the datasource location using the field explorer from my test database to my live database, I am getting a blank report.

The report has 1 table.   The table name is the same.  I clicked on Verify database and got message it is up to date.

I have no idea how to troubleshoot this.  Any idea where to start?

I have another report printing fine from the same datasource after changing locations ...
Public Const sReportPath As String = "\\MWWDC\VISIBAR\MIS\Projects_DotNet\Reports\PttPickTicket\"
 
    Sub LoadReport2()
        Dim cr As New ReportDocument
        Try
            cr.Load(sReportPath & "crpPttPickTicket_label.rpt")
            frmReport.CrystalReportViewer1.ReportSource = cr
            frmReport.ShowDialog()
 
        Catch ex As Exception
            sErrNo = Err.Number.ToString
            sError = "LoadReport" & vbCrLf & Err.Description & " " & "ErrNo: " & sErrNo
            dispError(sError)
        End Try
 
    End Sub

Open in new window

Comment
Watch Question
Data Analyst
Commented:
This problem has been solved!
Unlock 1 Answer and 3 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE