-
Notifications
You must be signed in to change notification settings - Fork 108
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NTLM Issue Windows Server 2016 #80
Comments
@OrangeGoblin1973, first thing I notice is that your ReportServerUrl in your ReportController appears to be incrorrect. I've included the original code from ReportServerUrl property as a reference:
You're doing exactly what I'm warning against in the comment. I would try by fixing that first and see if that resolves the issue for you. I'm assuming you would want to change to: return "http://remoteip/ReportServer"; |
@alanjuden Thank you for your reply. I opened your .NET version and using the settings as you suggest, it works perfectly using If you have any pointers it will be great, as I am right out of ideas now. TIA Error received.
|
@OrangeGoblin1973, have you tried overriding the ClientCredentialType in your ReportController.cs? It's defaulted to Windows and you appear to be getting an NTLM error. Try using this: protected override HttpClientCredentialType ClientCredentialType => HttpClientCredentialType.Ntlm; |
Hi @alanjuden I can confirm add that override line to the controller successfully solved this same issue for me :) |
I am trying to connect to a remote server with SSRS2016 on it. From my location when I run the code I get the following error:
I have researched as much as I can, but do not understand the error, as it points to the rendered sections in the log???
The C# is:
The text was updated successfully, but these errors were encountered: