alanjuden / MvcReportViewer

Custom Report Viewer control to replace MS Report Viewer on MVC projects (also works on .NET Core as a Report Viewer).

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Client credentials appear to not transmit

samirbanjanovic opened this issue · comments

What would be the recommended path of authenticating requests to SSRS when the viewer sits on a web app that's in the DMZ on a server that's not domain bound. I tried using Basic Auth and changing authentication on our dev ssrs server to RSWindowsBasic, but I get the error below

The HTTP request is unauthorized with client authentication scheme 'Basic'. 
The authentication header received from the server was 'Negotiate, NTLM, Basic realm=""'

I should add that I haven't messed much with SSRS so outside of reading the MS Docs my knowledge with it is fairly limited.

The goal is to have the DMZ webapp transmit credentials to SSRS for authentication, I assumed Basic was the correct way.

No longer an issue. Turns out problem was SSRS host configuration.

For anyone landing here in the future.

Use default RSWindowsNTLM authentication on SSRS and set your viewer Authentication type to NTLM and transmit valid credentials.

I thought this issue is resolved but it appears to be intermittent. Which is making me think it has to do with our AD config. Has anyone experienced this before? The AppPool runs under my account that has access to reports on SSRS and I am able to browse them. However, now I am receiving

The HTTP request is unauthorized with client authentication scheme 'Ntlm'. 
The authentication header received from the server was 'NTLM'

@alanjuden have you experienced this on .net core before?

I should add authentication on SSRS is set to RSWindowsNTLM
I've tried all different combinations. I also don't know if there's a separate config file

Potential fix was found on an 8 year old StackOverflow question using answer submitted by Jeroen K on March 2016. I will update this issue once I've done some more testing