dotnet / dotnet/wcf

SQL Server Reporting Services generation issue with 4.9.0

Open
#4,784 9 comments 0 reactions 0 assignees View on GitHub
customer assistance
Dominant language
C#
Stars
1.8k
Forks
576
Avg merge
6d 9h
Merged PRs (30d)
2

Description

**Describe the bug**
I have NET Core application. It generates some reports using SQL Server Reporting Services (ReportExecutionServiceSoapClient and ReportingService2010SoapClient). Things worked OK till we upgraded to 4.9.0.

Previous version 4.8.1 works OK.

Now it gives the following error:
```
System.ServiceModel.Security.MessageSecurityException: The HTTP request is unauthorized with client authentication scheme 'Anonymous'. The authentication header received from the server was 'NTLM'.
at System.Runtime.AsyncResult.End[TAsyncResult](IAsyncResult result)
at System.ServiceModel.Channels.ServiceChannel.SendAsyncResult.End(SendAsyncResult result)
at System.ServiceModel.Channels.ServiceChannel.EndCall(String action, Object[] outs, IAsyncResult result)
at System.ServiceModel.Channels.ServiceChannelProxy.TaskCreator.<>c__DisplayClass1_0.b__0(IAsyncResult asyncResult)
--- End of stack trace from previous location ---
```

**To Reproduce**
It fails on any SSRS call like
```C#
RS.TrustedUserHeader? trustHandler = null;
var response = await rsService!.GetItemParametersAsync(trustHandler, "NAME", null, false, null, null).ConfigureAwait(false);
```

**Expected behavior**
A report to be generated

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.