SSRS 2019 failed to Generate Reports after installed to Windows Server 2019

Pengxin Fan 116 Reputation points
2021-01-19T14:38:58.673+00:00

Hello,

I have got a problem to generate SSRS reports from SSRS 2019 on Windows Server 2019, but it starts to work after installed SSRS 2019 to Windows Server 2016.

Here is the exception messages:
[2021-01-19 12:26:23Z] [ERR] Report generation task threw an exception
Message = This operation is not supported on a report server that runs in native mode. ---> Microsoft.ReportingServices.Diagnostics.Utilities.OperationNotSupportedNativeModeException: This operation is not supported on a report server that runs in native mode.
Source = System.Private.ServiceModel
Stacktrace = at System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc& rpc)
at System.ServiceModel.Channels.ServiceChannel.EndCall(String action, Object[] outs, IAsyncResult result)
at System.ServiceModel.Channels.ServiceChannelProxy.TaskCreator.<>c__DisplayClass1_0.<CreateGenericTask>b__0(IAsyncResult asyncResult)
--- End of stack trace from previous location where exception was thrown ---
at UserInterfaceBusinessObject.BusinessObjects.ReportingBackgroundTasks.SsrsReportBuilder.BuildSummaryReport(ReportExecutionServiceSoap reportingService, IReportRequestParameters request, String clientUiCulture) in E:\Jenkins\workspace-UiApiService-V3-CI\svn\UiApiService\UserInterfaceBusinessObject\BusinessObjects\ReportingBackgroundTasks\SsrsReportBuilder.cs:line 181
at UserInterfaceBusinessObject.BusinessObjects.ReportingBackgroundTasks.SsrsReportBuilder.CreateClinicalDataReport(String reportDirPath, String reportFilePathAndName, IReportRequestParameters request, String clientUiCulture, CancellationToken token) in E:\Jenkins\workspace-UiApiService-V3-CI\svn\UiApiService\UserInterfaceBusinessObject\BusinessObjects\ReportingBackgroundTasks\SsrsReportBuilder.cs:line 136

Many thanks,

Windows Server 2019
Windows Server 2019
A Microsoft server operating system that supports enterprise-level management updated to data storage.
3,884 questions
SQL Server Reporting Services
SQL Server Reporting Services
A SQL Server technology that supports the creation, management, and delivery of both traditional, paper-oriented reports and interactive, web-based reports.
2,985 questions
{count} vote

6 answers

Sort by: Most helpful
  1. Aurore Guéninchault 0 Reputation points
    2025-01-20T16:49:02.89+00:00

    I know this is an old question, but I would just like to share the solution we found for the problem we had in case others encounter it.

    In our case, we were testing with a SSRS server that did not have HTTPS enabled. We were calling the method "LoadReportAsync" from ReportExecution2005.asmx, passing a "new ReportExecutionTrustedUserHeader()" instance in the first parameter.

    Apparently, with a newer window server version (or something else newer, i don't know for sure) this can only work if you call an HTTPS website.

    If you call an HTTP website, you need to pass "null" instead.

    This was not an issue on an older server. This is not an issue with ReportService2010.asmx (we can pass a trusted header without getting an OperationNotSupportedNativeModeException).

    I would like to give credit and thank BJ Safdie whose answer pointed me in the right direction here : https://stackoverflow.com/questions/10922645/ssrs-2008-execution-service-loadreport-error

    Not sure that it will help in all cases, but hope it will be useful to someone else too.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.