hi... to all
the following code is to deploy the reports programatically...
i've one problem ..
by using the filestream it takes more time to load the reports..
hence burden on server..
is there any option or any solution to make less burden on server....
one more thing the records are converting to bytes hence getting late to load..
code.ReportingService20051.Warning[] warnings;
FileStream stream = File.OpenRead("E:\\Rptsubcharts\\charts\\charts\\samp.rdl");
reportDefinition = new Byte[stream.Length];
stream.Read(reportDefinition, 0, (int)stream.Length);
stream.Close();
warnings = (code.ReportingService20051.Warning[])rs.CreateReport(reportPath.Remove
(reportPath.Length - 4, 4), @"/test1", true, reportDefinition, null);
please help me...
Loading
Sivaraman DhamodaranPosted Oct 25, 2010, 10:16 AM
It shows that the file is opened from the local system. Are you refering the local system as server?
reportDefinition = new Byte[stream.Length];
The above line makes, records are converted into bytes as You asked for it.
What is Samp.rdl?