You are not logged in.
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:
We will keep you informed in the pinned thread.
Kind regards,
Your ReportServer Team
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:
Wir halten euch im angepinnten Beitrag auf dem Laufenden!
Mit vielen Grüßen
Euer ReportServer Team
Pages: 1
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=pdfWhat have I got wrong?
Thank you in advance, James
Last edited by 4xjbh (2017-03-26 12:53:07)
Offline
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:pdfFor 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
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
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
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
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
Pages: 1