Showing posts with label SSRS. Show all posts
Showing posts with label SSRS. Show all posts

Thursday, March 10, 2022

Microsoft.Dynamics.Ax.Xpp.ErrorException: 'Argument to method setFieldValue out of range.'

Just a quick post.


Microsoft.Dynamics.Ax.Xpp.ErrorException: 'Argument to method setFieldValue out of range.'


We may face this error in the time of SSRS report development. For my case, some new fields are added on the RDP temporary table, but I forgot to add the DB sync on the time of build. So, I got this error and checked the table design on the DB and confirmed that new fields are not created on the table.


After I did the DB sync, the fields are not get created, so I have added one temporary field and synced and removed the temporary field and synced. It worked.

Sunday, August 15, 2021

Who is running the SSRS reports

In sometimes, we need to see who is using the specific SSRS report or need to understand which report is used frequently or what kind of reports are used for specific user.

The SSRS report history is stored in ReportServer database. The view name is ExecutionLog3.

We can use the following query to fetch the data.


USE ReportServer

SELECT  * FROM ExecutionLog3

ORDER BY TimeStart DESC


We can get the user details on Username column. The username column works only for AX 2012. The username column is not working for D365, because in AX 2012 we can give report permission for specific user, in D365 if user having permission for report then the user can run the report.