Repository navigation
When using postgreSQL as data source, an exception is throwed. #782
Description
Describe the bug
When using postgreSQL as data source, an exception is throwed.
To Reproduce
Steps to reproduce the behavior:
- Go to 'Data'
- Click on 'Add Data Source'
- Click on 'New Connection'
- Choose Postgre Connection
- Click 'Test'
Expected behavior
Error
未能加载文件或程序集“Microsoft.Extensions.Logging.Abstractions, Version=8.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60”或它的某一个依赖项。找到的程序集清单定义与程序集引用不匹配。 (异常来自 HRESULT:0x80131040)
确定
Stacktrace
- ...
- ...
Screenshots
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]
Activity
BogdanStg commentedon Oct 16, 2025
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
wandymapn commentedon Oct 20, 2025
same issue here.
any workaround ?
BogdanStg commentedon Oct 20, 2025
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
LloydSISA commentedon Nov 3, 2025
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.
BogdanStg commentedon Nov 4, 2025
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
simonbuchleiter commentedon Apr 29, 2026
Is there any update on this?
The bug is still existing in version 2026.2.0
BogdanStg commentedon Apr 29, 2026
Hello!
At present, we recommend connecting to PostgreSQL using NuGet packages, as shown in the example above. We have passed on your feedback regarding this issue to our developers, and we will let you know as soon as the changes are available.