Writing DLL fom Report Rendering(SQL Server Repor)
Hi all
I have done some work with SQL server reporting service. I am saveing the Server generated reports into some physical space of hard disk.
now I have made one DLL using the same code to render the reports.
When I am calling the DLL from any web applicaton that time it is going inside the DLL but the folowing lines of the DLL is not working :-
rs2005.ReportParameter[] parameters = rs.GetReportParameters(ReportName1, historyID, false, null, null);
rsExecService.ExecutionInfo execInfo = new rsExecService.ExecutionInfo();
rsExecService.ExecutionHeader execHeader = new rsExecService.ExecutionHeader();
rsExec.ExecutionHeaderValue = execHeader;
execInfo = rsExec.LoadReport(filePath, historyID);
rsExec.SetExecutionParameters(reportHistoryParamet ers, "en-us");
Can any one tell me why??
With Regards
Somesh
__________________
somesh chaterjee
|