#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

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

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

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