Encountered a problem while compiling the purchased source code FastReport.Postgres.dll

According to the source code guidance for compiling the environment. NET 4 framework, NpgSQL 2.0.0 cannot compile the program. Because the purchased FastReport source code framework NET framework 4.6.2 requires me to upgrade to a higher version of NpgSQL, I have attempted to upgrade to different NpgSQL and will encounter various problems.

After compiling the source code for NpgSQL (3.1.0.0), there may be the following issues in the report design client. Please guide me on how to handle them correctly. Thank you!


The program prompt field ad.adsrc does not exist

I have purchased the genuine source code. Please guide me on what I should do next, please help me!

Comments


  • Upgrade the project framework to. NET Framework 4.6.2 and run an error message. Changing to another version will also result in different error prompts. Is the purchased code without a newer version? The current original code framework is too old, and there are too many compilation issues?

  • edited September 2023

    My problem has been resolved, but I haven't found a way to close this discussion. Thank you!!

  • Hello!

    Instead of manually compiling outdated source code for Npgsql 2.0/3.1, please use the latest pre-compiled FastReport.Data NuGet package. Postgres 2027.1.0 (or 2026.2.8), where the metadata query has already been updated to `pg_get_expr(ad.adbin, ad.adrelid)` and is supported by Npgsql 8.0.3.

    If you need to recompile the old FastReport.Postgres.dll source code specifically, replace `ad.adsrc` with `pg_get_expr(ad.adbin, ad.adrelid)` in the SQL query for retrieving default values.

This discussion has been closed.