While working with reports deployed to an older SharePoint environment using Business Intelligence Development Studio (BIDS) 2005, we encountered an authentication error when opening reports.
The error included:
An error has occurred during report processing.Cannot impersonate user for data source 'datasource'.
Logon failed

I saw some check boxes in the data source file that read "Use as Windows Credentials" and "Set Execution Context to this report" and I didn't know what they meant.
I unchecked those in my data source and then when the refreshed the page the report started displaying.
This article documents the troubleshooting experience and resolution in that environment.
Applicability: This guidance relates to legacy SSRS and SharePoint installations. It should not be treated as current guidance for Power BI, SharePoint Online or modern SQL Server Reporting Services deployments.
I tried many things but nothing worked. I did some research and found many blog posts which suggested reapply the password on the datasource file specified in the error message and save it again. That didn't work for me.I saw some check boxes in the data source file that read "Use as Windows Credentials" and "Set Execution Context to this report" and I didn't know what they meant.
I unchecked those in my data source and then when the refreshed the page the report started displaying.
Comments