#1 2016-11-29 20:25:11

devtheweb
Member
Registered: 2016-11-29

user not found error when using httpauthexport

I'm having an issue when attempting to login with a user and password with httpauthexport.

When using reportexport, it works:
/reportserver/reportserver/reportexport?id=111255&format=html&p_StartDate=2016-11-15&p_EndDate=2016-11-27

When using httpauthexport with this url, I get a 500 error:
/reportserver/reportserver/httpauthexport?id=111255&format=html&user=test&password=test&p_StartDate=2016-11-15&p_EndDate=2016-11-27

net.datenwerke.security.service.authenticator.exceptions.AuthenticatorRuntimeException: No user logged in
    net.datenwerke.security.service.authenticator.AuthenticatorServiceImpl.logoffUserInThread(AuthenticatorServiceImpl.java:123)



My xml file looks like
9Pi0yHB.png


and my user is id 6:

o1ZkW1u.png
Any ideas?

Last edited by devtheweb (2016-11-29 20:27:12)

Offline

#2 2016-12-05 19:56:33

devtheweb
Member
Registered: 2016-11-29

Re: user not found error when using httpauthexport

Does it look like all my settings are correct? I can't seem to avoid this error no matter what I change.

Offline

#3 2016-12-06 07:58:00

eduardo
Administrator
Registered: 2016-11-01
Website

Re: user not found error when using httpauthexport

Hi devtheweb,

first guess:  did you reload the config cache? For this open the ReportServer Terminal: In your browser press ctrl+alt+t, then type "config reload".

Online

#4 2016-12-06 08:05:24

eduardo
Administrator
Registered: 2016-11-01
Website

Re: user not found error when using httpauthexport

And: which reportserver version are you using? If 3.0 please note:
https://reportserver.net/en/guides/conf … sing-URLs/
"The old httpauthexec functionality was replaced in ReportServer 3.0. See the Administration Guide for further information on how to make reports available via the URL without login."
Her ist the link to the section in the admin guide: https://reportserver.net/en/guides/admi … a-the-URL/

Online

#5 2016-12-09 03:05:48

devtheweb
Member
Registered: 2016-11-29

Re: user not found error when using httpauthexport

Thank you edulid, that did it! I was using report server 3.0 and referring to the wrong documentation. Works perfectly!

Offline

Board footer

Powered by FluxBB