Object Data Source - PostgreSQL - Npgsql

0 Answers 155 Views
General Discussions
Raniel
Top achievements
Rank 1
Iron
Iron
Raniel asked on 23 Nov 2022, 09:05 AM

Hi, sorry for the lack of experience in object data source, my question is I am making a class to retrieve the data from postgresql db and I am using npgsql. After creating the dll, I put it in the bin folder of my TRS as what in the tutorial stated and added it in the AssemblyReferences. Do I also need to add the dll of Npgsql because when I did that, it gives me the following error

""

Or how do you retrieve the data from postgresql as object data source?

Dimitar
Telerik team
commented on 28 Nov 2022, 09:54 AM

If you have installed the Npgsql driver, you wouldn't need to reference the driver assemblies, please visit the How to Configure Postgres with Npgsql? - Telerik Reporting article for more details on this.

Regarding the error itself, Telerik Report Server is an MVC web application targeting.NET Framework version that does not fully support .NET Standard 2.0. Please try to apply the workaround from the asp.net - You must add a reference to assembly 'netstandard, Version=2.0.0.0 - Stack Overflow thread to resolve this limitation.

The Web.config file of the Report Server can be found at the following path:

C:\Program Files (x86)\Progress\Telerik Report Server\Telerik.ReportServer.Web

No answers yet. Maybe you can help?

Tags
General Discussions
Asked by
Raniel
Top achievements
Rank 1
Iron
Iron
Share this question
or