Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2005 Forums
 Analysis Server and Reporting Services (2005)
 deploying reports

Author  Topic 

vinu
Starting Member

34 Posts

Posted - 2010-10-20 : 09:00:36
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...
   

- Advertisement -