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 2021-03-04 19:24:46

dannysalazar90
Member
Registered: 2021-02-10

Error executing reports via the URL without logged ing

Hi and thanks for your help,

I'm trying to download a report with this URL:
http://{{IP}}/reportserver/reportserver/httpauthexport?id=10062&user=test.test&apiKey=79PKXGScP8r8&format=pdf&download=false

and I'm receiving the next error:
Screen-Shot-2021-03-04-at-2-14-47-PM.png


User properties:
Screen-Shot-2021-03-04-at-2-18-54-PM.png

Permissions of report:
Screen-Shot-2021-03-04-at-2-23-34-PM.png

Do I'm missing something?

Thanks!

DS

Offline

#2 2021-03-05 09:50:50

IF_Eduardo
Administrator
Registered: 2016-11-01
Website

Re: Error executing reports via the URL without logged ing

Hi dannysalazar90,

is test.test a valid username ?
what happens if you test while the user is logged in, does this work in this case ?

Regards,
Eduardo

Offline

#3 2021-03-06 20:50:23

dannysalazar90
Member
Registered: 2021-02-10

Re: Error executing reports via the URL without logged ing

Hi Eduardo,
thanks first for the quick response, yeah, the username is valid and as you mentioned, it works well when I'm logged in, that's the weird thing.

Im trying to give to the users a valid URL to download the report.

Thanks!

DS

Offline

#4 2021-03-08 14:38:46

IF_Eduardo
Administrator
Registered: 2016-11-01
Website

Re: Error executing reports via the URL without logged ing

Hi dannysalazar90,

you wrote "apiKey" in the user properties, it has to be "apikey", more details here: https://reportserver.net/en/guides/admi … a-the-URL/

Regards,
Eduardo

Offline

#5 2021-03-08 18:47:53

dannysalazar90
Member
Registered: 2021-02-10

Re: Error executing reports via the URL without logged ing

Great catch, thanks a lot for the extra eyes, you rock Eduardo! smile

it is working properly, cheers!

Offline

Board footer

Powered by FluxBB