Error using DateTime.UTCNow on Parameters Expressions
Posted: Wed Apr 28, 2021 6:11 pm
After upgrading stimulsoft Reports for version 2021.1, I am having problems when using DateTime.UTCNow on Parameters Expressions.
When I try to execute a Query that has an expression like 'DateTime.UTCNow.AddMinutes(-60)', Stimulsoft returns to me this message:
It used to work on the latest version, but after the upgrade it doesn't work anymore, I don't know if I have to add any other reference on Code, or stilmulsoft has changed the whey to declare DateTime on the Paramters Expressions.
Another thing that I've noticed is that when I open the Preview, it works, the problem only happens when I Try to Execute the Query.
When I try to execute a Query that has an expression like 'DateTime.UTCNow.AddMinutes(-60)', Stimulsoft returns to me this message:
It used to work on the latest version, but after the upgrade it doesn't work anymore, I don't know if I have to add any other reference on Code, or stilmulsoft has changed the whey to declare DateTime on the Paramters Expressions.
Another thing that I've noticed is that when I open the Preview, it works, the problem only happens when I Try to Execute the Query.