mongodb query error

Stimulsoft Reports.JS discussion
Post Reply
dmitryv
Posts: 1
Joined: Fri May 15, 2020 1:58 pm

mongodb query error

Post by dmitryv »

2020-05-15_17-16-18.png
2020-05-15_17-16-18.png (96.57 KiB) Viewed 789 times
2020-05-15_17-10-26.png
2020-05-15_17-10-26.png (9.85 KiB) Viewed 789 times
Hi. I wrote a query to mongodb test database in datasource, it works in preview, but doesnt work in code. I have reports.js + asp.net core test application. error line:
Parser error: The name 'Param' does not exist in the current context
Attached report file
Attachments
ReportNosql.mrt
(13.07 KiB) Downloaded 100 times
Lech Kulikowski
Posts: 6245
Joined: Tue Mar 20, 2018 5:34 am

Re: mongodb query error

Post by Lech Kulikowski »

Hello,

Please check that you added mongo adapter to your project:
https://www.nuget.org/packages/Stimulsoft.Data.MongoDB/

If the issue still present, please send us a sample project that reproduces the issue for analysis.

Thank you.
Post Reply