Hello everybody,
At the begin will describe the structure of my environment, it consists of two DB Machine in always on availability group and has two AOS on two different machines one of them service business logic for clients and the other work as a batch server, also this machine host Reporting Service like shown in the image below.
Today's there are abnormal problem can't understand it, any Temp table which is used by any RDP class can not view it's data when changing its type to regular, wanna to view the data for tracing purpose because most of the reports that use them do not get correct data almost it shown cashed data because of I comment insert code in RDP class and the report still shown data.
We already did some work around to solve this problem like performing full CIL Compile, sync the Data Dictionary, Restart AOS service, and RS service but didn't solve the problem.
Eventually, a friend told me to export XPO of report project and delete all of the project components and delete the SSRS Report from Report folder in RS Manager and restart AOS and RS services then import the project and deploy the report again. the report displays correct data after this cycle for two days but can't view Temp table content in the regular mood and now the report does not show correct data again, can't understand where's the problem or how to solve it.
Note all of these reports worked fine for a period.