hi team,
We're facing the error related to report, all reports can not run, and getting the same message as:
Invalid User Authorization
The user authentication passed to the platform is not valid.
- The error log on Report Server:
runningjobs!ReportServer_0-2!3564!01/07/2021-08:51:27:: i INFO: Adding: 1 running jobs to the database
processing!ReportServer_0-2!2c3c!01/07/2021-08:53:20:: e ERROR: Throwing Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: , Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: Cannot create a connection to data source 'CRM'. ---> Microsoft.Crm.Reporting.DataExtensionShim.Common.ReportExecutionException:
System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)
System.ComponentModel.Win32Exception: Access is denied ---> Microsoft.Crm.Reporting.DataExtensionShim.Common.ReportExecutionException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) ---> Microsoft.Crm.Reporting.DataExtensionShim.Common.ReportExecutionException: Access is denied
- something has
--- End of inner exception stack trace ---
at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck)
at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
at System.Activator.CreateInstance(Type type, Boolean nonPublic)
at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, StackCrawlMark& stackMark)
at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
at System.Reflection.Assembly.CreateInstance(String typeName, Boolean ignoreCase, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
at Microsoft.ReportingServices.Diagnostics.ExtensionClassFactory.<>c__DisplayClass2.<CreateExtensionObject>b__0()
at Microsoft.ReportingServices.Diagnostics.RevertImpersonationContext.<>c__DisplayClass1.<Run>b__0(Object state)
at System.Security.SecurityContext.runTryCode(Object userData)
at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
at System.Security.SecurityContext.Run(SecurityContext securityContext, ContextCallback callback, Object state)
at Microsoft.ReportingServices.Diagnostics.RevertImpersonationContext.Run(ContextBody callback)
at Microsoft.ReportingServices.Diagnostics.ExtensionClassFactory.CreateExtensionObject(Extension extConfig, Boolean typeOnly).
library!ReportServer_0-2!b4!01/07/2021-09:53:51:: i INFO: Call to GetDataSourceContentsAction(/SharedReports/8.0.xxxx/MSCRM_DataSource). User: CAWOWX\crmservice.
library!ReportServer_0-2!b4!01/07/2021-09:53:51:: i INFO: Call to GetDataSourceContentsAction(/CRM_MSCRM/CustomReports/MSCRM_DataSource). User: CAWOWX\crmservice.
runningjobs!ReportServer_0-2!359c!01/07/2021-09:54:28:: i INFO: Adding: 2 running jobs to the database
processing!ReportServer_0-2!3434!01/07/2021-09:54:52:: e ERROR: Throwing Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: , Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: Cannot create a connection to data source 'MSCRM_DataSource'. ---> Microsoft.Crm.Reporting.DataExtensionShim.Common.ReportExecutionException:
Microsoft.Crm.CrmException: Could not acquire Write lock. ---> Microsoft.Crm.Reporting.DataExtensionShim.Common.ReportExecutionException: Could not acquire Write lock.
--- End of inner exception stack trace ---
Does any one have solution or how to trouble shoot?
regards,
Nam Le