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 2017-03-26 12:44:53

4xjbh
Member
Registered: 2017-03-26

AWS URL report configuration

I have a aws server which is running RS3.0.2-5855.

I am getting a HTTP Status 404 - /reportserver/httpauthexport error for the following url which as far as I can workout from the documents should work.

the user, apikey and parameters have all been set on the server

http://domain.com/reportserver/httpauthexport?id=19512&user=public&apikey=rT8z3KVnkEFHdK53Cp9N&TID=279&format=pdf

What have I got wrong?

Thank you in advance, James

Last edited by 4xjbh (2017-03-26 12:53:07)

Offline

#2 2017-03-26 13:11:38

4xjbh
Member
Registered: 2017-03-26

Re: AWS URL report configuration

I tried the following based on section 6.11 of the admin manual.

domain.com/reportserver/#inlinereport/id:19512&p_TID:279&user:public&apikey:rT8z3KVnkEFHdK53Cp9N&format:pdf

For the most part I am getting what I want but I have just realized that when the url is executed the user is not automatically logged in as 'public' with the 'apikey' added as a user property. The server login form is presented. Entering of the username and password then shows the report.

Is there an extra step to bypass the login form that I have missed?

Last edited by 4xjbh (2017-03-27 13:23:56)

Offline

#3 2017-03-27 09:57:49

IF_Eduardo
Administrator
Registered: 2016-11-01
Website

Re: AWS URL report configuration

Hi 4xjbh,

did you *manually* add the user property "apikey" to the user "public"?
It is necessary to add it manually, as stated here: https://reportserver.net/en/guides/admi … a-the-URL/

Cheers,
Eduardo

Offline

#4 2017-03-27 13:12:09

4xjbh
Member
Registered: 2017-03-26

Re: AWS URL report configuration

Yes, manually added as a 'user property' not 'user variable'. The user has also been verified with 'execute' permission. Still does not work.

Regards, James

Last edited by 4xjbh (2017-03-27 13:25:03)

Offline

#5 2017-03-28 06:57:37

IF_Eduardo
Administrator
Registered: 2016-11-01
Website

Re: AWS URL report configuration

Hi James,

in your post #2 you are setting the variables with ":", while correct is to set them via "=", which you did in post #1.

I tried with this url:
http://localhost:8080/rs/reportserver/httpauthexport?id=87003&user=eduardo&apikey=thisismyapikey&format=PDF&download=false

and it works as expected. As I said, the user property "apikey" for the user "root" is set to "thisismyapikey".

Could you try again with a similar url? ( = instead of : )

Cheers,
Eduardo

Offline

#6 2017-03-28 13:00:56

IF_Eduardo
Administrator
Registered: 2016-11-01
Website

Re: AWS URL report configuration

For completeness: the "apikey" user property was set incorrectly: " apikey" instead of "apikey" (blank space at the beginning). After correcting this I can call the report correctly with this url:

http://localhost:8080/rs/reportserver/httpauthexport?id=87003&user=eduardo&apikey=thisismyapikey&format=PDF&download=false

I raised a ticket for trim()ming user properties automatically.

Cheers,
Eduardo

Offline

Board footer

Powered by FluxBB