When I running some reports in Sharepoint 2010, based on SQL Server 2012, they throw:
An error has occurred during report processing. (rsProcessingAborted) Cannot read the next data row for the dataset DataSet1. (rsErrorReadingNextDataRow)
Semantic query execution failed. The statement terminated. The maximum recursion 100 has been exhausted before statement completion. (rsSemanticQueryEngineError)
They don't contain any CTE - only derived table.
I put these reports on another server (Sharepoint 2010, SQL Server 2012) and they work. They all based on XML so I can't just write:
option (maxrecursion 0)
It's possible to set it globaly for whole database? Maybe it's another solution