SSRS report no longer authorized after upgrade to 2022.1

After upgrade to the stable 2022.1.0.2420 the SSRS report is no longer authorized. The credentials are still saved in the OrigamSettings.config file.

object
		
{12}
ClassName
	:	
System.ServiceModel.Security.MessageSecurityException
Message
	:	
The HTTP request is unauthorized with client authentication scheme 'Anonymous'. The authentication header received from the server was 'NTLM'.
Data
		
{0}
(empty object)
InnerException
	:	
null
HelpURL
	:	
null
StackTraceString
	:	
at System.Runtime.AsyncResult.End[TAsyncResult](IAsyncResult result)\r\n   
at System.ServiceModel.Channels.ServiceChannel.SendAsyncResult.End(SendAsyncResult result)\r\n   
at System.ServiceModel.Channels.ServiceChannel.EndCall(String action, Object[] outs, IAsyncResult result)\r\n   
at System.ServiceModel.Channels.ServiceChannelProxy.TaskCreator.<>c__DisplayClass1_0.<CreateGenericTask>b__0(IAsyncResult asyncResult)\r\n
--- End of stack trace from previous location ---\r\n   
at Origam.BI.SSRS.SSRSService.GetReport(Guid reportId, IXmlContainer data, String format, Hashtable parameters, String dbTransaction) in D:\\a\\1\\s\\backend\\Origam.BI.SSRS\\SSRSService.cs:line 108\r\n   
at Origam.Workflow.ReportServiceAgent.GetReport(Guid reportId, IXmlContainer data, String format, Hashtable parameters) in D:\\a\\1\\s\\backend\\Origam.Workflow\\Service Agents\\ReportServiceAgent.cs:line 56\r\n   
at Origam.Workflow.ReportServiceAgent.Run() in D:\\a\\1\\s\\backend\\Origam.Workflow\\Service Agents\\ReportServiceAgent.cs:line 155\r\n   
at Origam.Workbench.Services.CoreServices.ReportService.GetReport(Guid reportId, XmlDocument data, String format, Hashtable parameters, String transactionId) in D:\\a\\1\\s\\backend\\Origam.Workbench.Services\\CoreServices\\ReportService.cs:line 49\r\n  
at Origam.ServerCore.Controller.ReportController.HandleReport(ReportRequest reportRequest, String reportName) in D:\\a\\1\\s\\backend\\Origam.ServerCore\\Controller\\ReportController.cs:line 119\r\n   
at Origam.ServerCore.Controller.ReportController.Get(Guid reportRequestId) in D:\\a\\1\\s\\backend\\Origam.ServerCore\\Controller\\ReportController.cs:line 100
RemoteStackTraceString
	:	
null
RemoteStackIndex
	:	
0
ExceptionMethod
	:	
null
HResult
	:	
-2146233088
Source
	:	
System.Private.ServiceModel
WatsonBuckets
	:	
null
The authentication header received from the server was 'NTLM'.

it is necessary to set this type of authentification.
i added into ssrsService this:

binding.Security.Transport.ClientCredentialType = HttpClientCredentialType.Ntlm;

But better will be if this setting could be set over config. Maybe in OrigamSetting.conf .
@tvavrda What do you think?

Since we’re exclusively using NetworkCredential, I think it is OK to put it directly into the code.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.