FastReport icon indicating copy to clipboard operation
FastReport copied to clipboard

When using postgreSQL as data source, an exception is throwed.

Open chrsas opened this issue 3 months ago • 5 comments

Describe the bug When using postgreSQL as data source, an exception is throwed.

To Reproduce Steps to reproduce the behavior:

  1. Go to 'Data'
  2. Click on 'Add Data Source'
  3. Click on 'New Connection'
  4. Choose Postgre Connection
  5. Click 'Test'

Expected behavior

Error

未能加载文件或程序集“Microsoft.Extensions.Logging.Abstractions, Version=8.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60”或它的某一个依赖项。找到的程序集清单定义与程序集引用不匹配。 (异常来自 HRESULT:0x80131040)

确定

Stacktrace

  • ...
  • ...

Screenshots

Image

Device (please complete the following information):

  • OS: Windows 11 24H2
  • FastReport Community Designer
  • Version 2026.1.0

Additional context My .net runtimes dotnet --list-runtimes Microsoft.AspNetCore.All 2.2.8 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All] Microsoft.AspNetCore.App 2.2.8 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App] Microsoft.AspNetCore.App 3.1.32 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App] Microsoft.AspNetCore.App 6.0.31 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App] Microsoft.AspNetCore.App 8.0.2 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App] Microsoft.AspNetCore.App 8.0.6 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App] Microsoft.AspNetCore.App 8.0.19 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App] Microsoft.AspNetCore.App 10.0.0-rc.1.25451.107 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App] Microsoft.NETCore.App 2.2.8 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App] Microsoft.NETCore.App 3.1.32 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App] Microsoft.NETCore.App 6.0.31 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App] Microsoft.NETCore.App 8.0.2 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App] Microsoft.NETCore.App 8.0.6 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App] Microsoft.NETCore.App 8.0.19 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App] Microsoft.NETCore.App 10.0.0-rc.1.25451.107 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App] Microsoft.WindowsDesktop.App 3.1.32 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App] Microsoft.WindowsDesktop.App 6.0.31 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App] Microsoft.WindowsDesktop.App 8.0.2 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App] Microsoft.WindowsDesktop.App 8.0.6 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App] Microsoft.WindowsDesktop.App 8.0.19 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App] Microsoft.WindowsDesktop.App 10.0.0-rc.1.25451.107 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]

chrsas avatar Oct 16 '25 08:10 chrsas

Hello!

Thank you for contacting us!

Reproduced this issue and passed it to our development department, as soon as the changes are available, we will let you know right away

Best regards, Bogdan

BogdanStegachev avatar Oct 16 '25 08:10 BogdanStegachev

same issue here. any workaround ?

wandymapn avatar Oct 20 '25 07:10 wandymapn

Hello!

At the moment as a temporary solution you can use FastReport.Net.Demo and FastReport.Data.Postgres nuget packages in your test application and the error will not occur or you can install FastReport .NET WinForms Trial (with plugins). as shown в our article: https://www.fast-report.com/blogs/designer-net-with-plugins

Best regards, Bogdan

BogdanStegachev avatar Oct 20 '25 08:10 BogdanStegachev

Can I get a clarification on the workaround? Am I to overwrite the Designer DLLs from some interim app or... something? (Which I did try for FastReport.Data.Postgres, but now Postgres doesn't even appear as a connection type option.) I've found FastReport.Net.Demo in the packages, but don't see how it relates to the designer install.

Given this issue has been outstanding since mid-July ( https://github.com/FastReports/FastReport/issues/765 ), I'm not sure a trial edition is viable.

Or I'm really just not understanding the suggested workaround. Which is certainly possible, so here I am.

Thanks so much.

LloydSISA avatar Nov 03 '25 21:11 LloydSISA

Can I get a clarification on the workaround? Am I to overwrite the Designer DLLs from some interim app or... something? (Which I did try for FastReport.Data.Postgres, but now Postgres doesn't even appear as a connection type option.) I've found FastReport.Net.Demo in the packages, but don't see how it relates to the designer install.

Given this issue has been outstanding since mid-July ( #765 ), I'm not sure a trial edition is viable.

Or I'm really just not understanding the suggested workaround. Which is certainly possible, so here I am.

Thanks so much.

Hello!

As a temporary solution you will be able to use a test application using Nuget packages

Application: https://drive.google.com/file/d/1TpUU5f7sCKGPe-8FkeBWn8XxY5jNjLPF/view?usp=sharing

Best regards, Bogdan

BogdanStegachev avatar Nov 04 '25 11:11 BogdanStegachev