Skip to main content

Notifications

Announcements

No record found.

Customer experience | Sales, Customer Insights,...
Unanswered

[RESOLVED] All Report fail with error "The user authentication passed to the platform is not valid" on-premise

Posted on by 105

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

  • B.Nam Le Profile Picture
    B.Nam Le 105 on at
    RE: All Report fail with error "The user authentication passed to the platform is not valid" on-premise

    RESOLVED: We found "CRM account (crmservice) is disabled remote login into database" so we do ENABLE, and then the report is working again.

    Does anyone know the reason ?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans