Announcement

Migration of this forum

Dear users of this forum,

we are pleased to inform you that we will be updating the software behind this forum in the near future.

Existing posts, users and categories will remain untouched.

Important:

  • Each user will need to reset their password.
  • Please select "I forgot my password".
  • Enter the email address you used to register in this forum.
  • You will receive an email with a link to set a new password.
  • Please choose a new (secure) password and confirm the process.

We will keep you informed in the pinned thread.

Kind regards,
Your ReportServer Team


Migration des Forums

Liebe Nutzer dieses Forums,

wir freuen uns, euch mitteilen zu können, dass wir in naher Zukunft die Software hinter diesem Forum aktualisieren werden.

Existierende Beiträge, Nutzer und Kategorien bleiben weiterhin bestehen!

Wichtig:

  • Jeder Nutzer muss sein Passwort neu vergeben.
  • Wählt dazu einfach "Ich habe mein Passwort vergessen".
  • Gebt die E-Mail-Adresse ein, mit der ihr registriert seid.
  • Ihr erhaltet eine E-Mail mit einem Link zur Passwortvergabe.
  • Bitte wählt ein neues (sicheres) Passwort und bestätigt den Vorgang.

Wir halten euch im angepinnten Beitrag auf dem Laufenden!

Mit vielen Grüßen
Euer ReportServer Team

#1 2018-06-15 19:04:47

rodrigerar
Member
Registered: 2018-06-13

Problem calling report by url

Hi All,

Thank you very much in advance!

I'm trying to call a dynamic list report by URL without login. My report takes a text parameter, and returns an html. The URL I'm using is:

http://MY_SVR_ADDR/reportserver/httpauthexport?id=MY_REP_ID&user=MY_USR&apikey=MY_API_KEY&numeroLegajo=002&format=HTML&download=false


The first time I call the URL I get the report perfectly (it means the output is consistent with the parameter sended in the URL), but the problem is with the next calls. Even changing the value of the parameter I get allways the some output (a copy of the report obtained in the first call). The successive calls looks like:

http://MY_SVR_ADDR/reportserver/httpauthexport?id=MY_REP_ID&user=MY_USR&apikey=MY_API_KEY&numeroLegajo=003&format=HTML&download=false
http://MY_SVR_ADDR/reportserver/httpauthexport?id=MY_REP_ID&user=MY_USR&apikey=MY_API_KEY&numeroLegajo=004&format=HTML&download=false
http://MY_SVR_ADDR/reportserver/httpauthexport?id=MY_REP_ID&user=MY_USR&apikey=MY_API_KEY&numeroLegajo=005&format=HTML&download=false


It seems as if the output is cached somewhere in the system. I tryed to clear the browser history, and to restart Apache Tomcat, but nothing change. More over the connection between the Client & Server is a direct connection (without proxy).

Any idea or suggestion?


Best Regards!
Gerardo Rodriguez

Offline

#2 2018-06-15 19:56:35

IF_Eduardo
Administrator
Registered: 2016-11-01
Website

Re: Problem calling report by url

Hi Gerardo,

what kind of report are we talking about?

Regards,
Eduardo

Offline

#3 2018-06-15 20:39:50

rodrigerar
Member
Registered: 2018-06-13

Re: Problem calling report by url

Thank you very much for your quickly response!

I'm having the same issue in both a dynamic list report and a Jasper report.

Best Regards,

Offline

#4 2018-06-18 10:53:52

IF_Eduardo
Administrator
Registered: 2016-11-01
Website

Re: Problem calling report by url

Hi Gerardo,

some questions:
1. does this also happen when calling the same report by the "normal" export ? I.e. not by url, but pressing the "export" button
2. what exact reportserver version are you using? (rsversion.properties)
3. what browser are you using ?

Regards,
Eduardo

Offline

#5 2018-06-18 12:56:46

rodrigerar
Member
Registered: 2018-06-13

Re: Problem calling report by url

Hi Eduardo,

Once again, thank you for your response!
The answers:

1. does this also happen when calling the same report by the "normal" export ? I.e. not by url, but pressing the "export" button
Good point! I did not try to export from the reportserver UI. The behavior is:
- Pressing the "export" Everything looks Ok! It means: when I change the report variable and I export the result, I get the correct version of the report.
- Using the Preview button in the reportserver UI, I get the correct result too.
- The problem only appears when I execute the report vía URL.

2. what exact reportserver version are you using? (rsversion.properties)
Report Server Community Edition
RS3.0.3-6002

3. what browser are you using ?
I get the same behavior using both Google Chrome and Firefox.



Best Regards,
Gerardo Rodriguez

Offline

#6 2018-06-18 16:52:59

IF_Eduardo
Administrator
Registered: 2016-11-01
Website

Re: Problem calling report by url

Hi Gerardo,

fyi, I created ticket RS-2941 for this. I will update here when I have more information.

Regards,
Eduardo

Offline

#7 2018-06-18 17:15:02

rodrigerar
Member
Registered: 2018-06-13

Re: Problem calling report by url

Hi Eduardo,

Excellent, thank you very much!
I'm available if you need any additional information, or something regard with our reportserver installation.


Regards,
Gerardo

Offline

Board footer

Powered by FluxBB