Hi All,
I am creating a customs report, and having problem at the almost success moment, hope to get some help from experts.
Here is the full story, https://community.dynamics.com/crm/f/117/t/157802
I created a "SQL-based Reporting Services report" using "Microsoft SQL Server Report Builder".
This is not the first report I have been done using SQL queries, all the other reports works prefect in MS Dynamics CRM 2013.
The only different is that this time I created a new entity to record the change log of cases (e.g. Case status change, Case Owner change, Case resolve time...etc...), and I use these records to prepare the new report.
I am quite sure the SQL query is a normal one, since the report can be run directly in Microsoft SQL Server Report Builder, with expected result.

Then, I upload the report to Dynamics CRM 2013 and try to run it, I got the following error:

I though it could be permissions settings problem of the new entity, if I removed join to the new entity in my SQL query, the report could be run in Dynamics CRM 2013.
This is the privilege of the new entity:

I already grant the "READ" permission for this entity.
Even I try to run the report with Administrator account, I still got the same error message.
Hope someone can give me advice.
Thank you!