I have imported an online crm database copy to on-premise. I found some built-in reports are working and some not.
Especailly "Account Summary" did not work. I checked the SRS log file and saw that: ERROR: An exception has occurred in data set 'DSAccountSummary'. Details: Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: Query execution failed for dataset 'DSAccountSummary'. ---> Microsoft.Crm.Reporting.DataExtensionShim.Common.ReportExecutionException:
System.Data.SqlClient.SqlException: The EXECUTE permission was denied on the object 'p_AccountSummaryRollup', database '****_MSCRM', schema 'dbo'.
After some trial and error granting execute rights to 'PrivReportingGroup' solved the issue : GRANT EXECUTE ON abc.dbo.xyz TO [PrivReportingGroup]
why did this happen? Does this happen to other procedures/reports?
Thanks,