[SSRS Report Viewer Extension] SSRS Report Viewer Extension Example

Forge Component
(6)
Published on 16 Sep by Amal Raj
6 votes
Published on 16 Sep by Amal Raj

Hello 

Do you have an example of implementing this SSRS module? Is there a solution to download to see how to the module works?

Thank you.

Hello Steve,

Did you check the supporting component ssrs report Viewer. Check the link below. 

https://www.outsystems.com/forge/component-overview/5040/ssrs-report-viewer


This is built using SSRS Report Viewer extension to render SSRS reports. 


Regards

Amalraj

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?











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

  1. Call the method GetPageCount() and see it works ? 
  2. 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?