Quantcast
Viewing all articles
Browse latest Browse all 3636

blank crystal report on VS2013

I have installed CRforVS_13_0_16 and CRRuntime_32bit_13_0_16.msi on my 32 bit Window 7 machine. I am using Visual Studio professional 2013.

I have created a report which contains only text . This report is coming fine in "Main Report Preview" but when i am running my page on browser. the page is coming as blank. I have read all discussion regarding this, but still not able to resolve my problem.

my code is following

 

        protected void Page_Init(object sender, EventArgs e)

        {

            ReportDocument crystalReport = new ReportDocument();

            crystalReport.Load(Server.MapPath("CrystalReport2.rpt"));

            CrystalReportViewer1.ReportSource = crystalReport;

            CrystalReportViewer1.RefreshReport();

        }

 

When I am running same code on different machine , it is successfully displaying report.


Viewing all articles
Browse latest Browse all 3636

Trending Articles