Skip to content

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

Open

Description

@chrsas

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]

Activity

  1. BogdanStg commented on Oct 16, 2025

    @BogdanStg

    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

  2. wandymapn commented on Oct 20, 2025

    @wandymapn

    same issue here.
    any workaround ?

  3. BogdanStg commented on Oct 20, 2025

    @BogdanStg

    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

  4. LloydSISA commented on Nov 3, 2025

    @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.

  5. BogdanStg commented on Nov 4, 2025

    @BogdanStg

    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

  6. simonbuchleiter commented on Apr 29, 2026

    @simonbuchleiter

    Is there any update on this?
    The bug is still existing in version 2026.2.0

  7. BogdanStg commented on Apr 29, 2026

    @BogdanStg

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions