ReportViewer

  • Thread starter Peter Ramsebner
  • Start date
P

Peter Ramsebner

Hi,

my ReportViewer control works fine on my development environment.
After deployment to the production Server the ReportViewer Control remains
empty.

This is the configuration of my ReportViewer:

private void OpenReport(string report, string datasourcename)

{

ReportViewer1.Visible = true;

ReportViewer1.LocalReport.ReportPath = report;


ReportDataSource dsrc = new ReportDataSource(datasourcename, dt);

ReportViewer1.LocalReport.DataSources.Clear();

ReportViewer1.LocalReport.DataSources.Add(dsrc);

ReportViewer1.LocalReport.Refresh();

}



By the way: anohter similar project on the same Server works perfectly.



Thanks for help

Peter
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,767
Messages
2,569,571
Members
45,045
Latest member
DRCM

Latest Threads

Top