HighTechTalks DotNet Forums  

ReportViewer

ASP.net Web Controls microsoft.public.dotnet.framework.aspnet.webcontrols


Discuss ReportViewer in the ASP.net Web Controls forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Peter Ramsebner
 
Posts: n/a

Default ReportViewer - 07-06-2010 , 08:17 AM






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

Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.