#1 2019-12-17 07:17:28

Aggr
Member
Registered: 2018-12-03

Executing Reports via URL does not work for me.

Im trying to config some BIRT reports with drill-down.
If I run URL like "http://SERVER:PORT/reportserverbasedir/ReportServer.html#reportexec/" I only have default RepotServer page with Dashboard view.
In the same time URL like "http://SERVER:PORT/reportserverbasedir/reportserver/reportexport" works as it should.

Here are real examples from my setup:

Working - http://SERVER:PORT/reportserver/reportexport?key=DD&format=pdf&p_ParamDate1=2019-12-09T00:00:00Z+00:00&p_ParamDate2=2019-12-17T00:00:00Z+00:00&p_ParamV=90000
Not working - http://SERVER:PORT/ReportServer.html#reportexec/key:DD&format:pdf&p_ParamDate1:2019-12-09T00:00:00Z+00:00&p_ParamDate2:2019-12-17T00:00:00Z+00:00&p_ParamV:90000

Is it some changes not reflected in the documentation or am I doing something wrong?

Server version: RS3.1.0-6016 (2019-11-15-11-43-58)
Java: Oracle Corporation Java HotSpot(TM) 64-Bit Server VM 25.231-b11 (1.8)
Application server: Apache Tomcat/9.0.29

Offline

#2 2019-12-17 11:55:00

eduardo
Administrator
Registered: 2016-11-01
Website

Re: Executing Reports via URL does not work for me.

Hi Aggr,

https://reportserver.net/en/guides/admi … a-the-URL/
In both cases you need the reportserverbasedir:

http://SERVER:PORT/reportserverbasedir/reportserver/reportexport
http://SERVER:PORT/reportserverbasedir/ReportServer.html#reportexec/

So in your case, as you say, this is working:
http://SERVER:PORT/reportserver/reportexport?key=DD&format=pdf&p_ParamDate1=2019-12-09T00:00:00Z+00:00&p_ParamDate2=2019-12-17T00:00:00Z+00:00&p_ParamV=90000

Your reportserverbasedir is "reportserver" thus.
Then this should work:
http://SERVER:PORT/reportserver/ReportServer.html#reportexec/key:DD&format:pdf&p_ParamDate1:2019-12-09T00:00:00Z+00:00&p_ParamDate2:2019-12-17T00:00:00Z+00:00&p_ParamV:90000

Regards,
Eduardo

Offline

#3 2019-12-17 14:20:32

Aggr
Member
Registered: 2018-12-03

Re: Executing Reports via URL does not work for me.

Not exactly.
My ReportServer instance located in ROOT folder of the application server. Installation is done according to this manual - https://reportserver.net/en/tutorials/i … n-windows/.
So my "reportserverbasedir" is simply http://SERVER:PORT/

screenshot1
screenshot2

Last edited by Aggr (2019-12-17 14:25:57)

Offline

#4 2019-12-17 14:56:46

eduardo
Administrator
Registered: 2016-11-01
Website

Re: Executing Reports via URL does not work for me.

Hi Aggr,

you can check these two examples working with our demo system:

http://demo.raas.datenwerke.net/ReportServer.html#reportexec/id:5394
http://demo.raas.datenwerke.net/reportserver/reportexport?id=5394&format=PDF

Both work. Your installation should have analogous settings.

Regards,
Eduardo

Offline

Board footer

Powered by FluxBB