Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Unanswered

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

(0) ShareShare
ReportReport
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
    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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Kudos to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Daivat Vartak (v-9davar) Profile Picture

Daivat Vartak (v-9d... 225 Super User 2025 Season 1

#2
Vahid Ghafarpour Profile Picture

Vahid Ghafarpour 78 Super User 2025 Season 1

#3
Sahra Profile Picture

Sahra 43

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans