Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Microsoft Reports [rdlc] on Network ?
Message
From
03/06/2011 01:47:50
 
 
To
All
General information
Forum:
ASP.NET
Category:
Other
Title:
Microsoft Reports [rdlc] on Network ?
Environment versions
Environment:
C# 4.0
Miscellaneous
Thread ID:
01512677
Message ID:
01512677
Views:
121
Hi

Actaully from my system I used the below code and it works fine as a local Report. But my program has to be accessed by 2 more users on network. For that I have no any idea, what else I need? May be I need to install anything on my sqlserver installed machine in network?
or I have to install reportviewer to my users system ?

And any sample code for that?

Any Guidences will be happy.

reportViewer1.RefreshReport();
Microsoft.Reporting.WinForms.ReportDataSource VehRDS = new Microsoft.Reporting.WinForms.ReportDataSource();
RepDS.Name = "DataSet1";
RepDS.Value = MyDataTable1;
reportViewer1.LocalReport.DataSources.Clear();
reportViewer1.LocalReport.DataSources.Add(VehRDS);
reportViewer1.LocalReport.ReportPath ="C:\\Documents and Settings\\...\\My Documents\\Visual Studio 2010\\Projects\\MyProject\\My_Report.rdlc";
reportViewer1.RefreshReport();
reportViewer1.Visible = true;
I tried by the below code

reportViewer1.ServerReport.ReportPath = "//Mysever/MyProject/Expence_Report.rdlc";And I copied my report to that server folder And I tried. Is it correct or some other way?

Thanks For The Ideas & Guidences
Reply
Map
View

Click here to load this message in the networking platform