question

GauravGupta-1893 avatar image
0 Votes"
GauravGupta-1893 asked GauravGupta-1893 edited

Calling ExcelHandler to populate the Data from Reporting Service

I am calling excel Handler to call a Reporting Service Report directly from the Report Link like this:

var MySheet= ExcelHandler.Workbook.Worksheets.Add();
MySheet.Name = MyDataSheet;

string webcn =
$@"https://www.abcz.com?ReportPage&reportid={reportId}&template=123&ReportId=123";

MySheet.QueryTables.Add(Connection: "URL;" + webcn, Destination: MySheet.Cells[1, 1]);

Earlier this code was working fine. But now in my application Single Sign On is implemented. After that it is not working. May be due to Authentication. Is there any way we can call this Report by passing Authentication Id and Pwd.


sql-server-reporting-servicesoffice-scripts-excel-dev
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

0 Answers