locked
Blank Report in Crystal Report Viewer RRS feed

  • Question

  • User319666020 posted

    I have a asp.net page in VS 2013 with crystal report in C#.

    Recent i changed my database server and crystal report stop working. So i created new crystal report with new database info, still having same issue.

    When i preview the crystal report it works fine. But it is not showing up in crystal report viewer. When i use same code to show in pdf and it shows up in the pdf correctly.

    Thanks

    Thursday, June 22, 2017 1:51 PM

All replies

  • User1693942906 posted

    Hi dotNetProg,

    Just right click on Database Fields and inside that choose Verify Database will resolve your problem.

    Verify Database

    Wednesday, August 9, 2017 7:01 AM
  • User-1497429768 posted

    Hi dotNetProg,

       I have the same issue.My code is as follows:    

    Dim objRptDoc As New ReportDocument
    ......
    objRptDoc.PrintToPrinter(1, True, 0, 0)--the printer can respond and is correct.

    But when I change the code to-
    CrystalReportViewer1.ReportSource = objRptDoc

    The report is blank.

    I try to click on Database Fields and inside that choose Verify Database,and it still can't work.

    So ,have any idea? Thanks.

    jeff

    Wednesday, August 9, 2017 1:30 PM
  • User-1497429768 posted

    Hi,

        My problem resolved.I upgrade my crystal report from CRforVS_13_0_3 to CRforVS_13_0_20.It's great.

        Thanks.

     jeff

      

    Thursday, August 10, 2017 9:25 AM