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 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

IF_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".

Offline

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

IF_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/

Offline

#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