Hello,
Good Day. I believe you have downloaded the 'SSRS Report Viewer Extension' ( not the 'SSRS Report Viewer') and calling the 'GetHTMLReport' method with given parameters. And you are getting the error.
It looks like the error is happening inside the .net code while calling the SSRS server. It could be either the report is expecting more parameter which we are not sending or there is an error in the extension.
Could you please try the following options
- Call the method GetPageCount() and see it works ?
- Test the report in SSRS Report Viewer or in your Reporting Server and see it is working.
If required we can have a screen sharing session next week and see if we can fix it. Or if you are comfortable in Visual Studio you can download the extension and Create a test windows application and debug the extension.
Carlos A. Aponte Roa wrote:
Amal,
I just downloaded module but I am getting an error calling GetHTMLReport. it shows
"An error was raised by application:
Array cannot be null.
Parameter name: bytes"
I am sending next parameters:
Url: http://myservername
username: myuser
password: mypass
domain: mydomain
reportPath: "Reports/report/MyCompany/Myreport"
params: <reportParanmList>
where reportParanmList is a list of ReportParams with only one record with
reportParam.Name = "Agent"
reportParam.Value = "1234567"
Do you have any clue what can be the problem?