Flex report .Net core ADO.NET provider not registered

Posted by: danko.petrovic on 17 March 2022, 8:16 pm EST

  • Posted 17 March 2022, 8:16 pm EST

    [ERROR]: ADO.NET provider System.Data.OleDb not registered in the system.
    Reports viewer display error message in .Net core project, everything works fine in .net framework.
    How do I resolve this error?
  • Marked as Answer

    Replied 20 March 2022, 5:06 pm EST


    Thanks for reaching out to us with your query.

    This is a known issue. To fix this, run below command before using C1FlexReport.

    DbProviderFactories.RegisterFactory("System.Data.OleDb", OleDbFactory.Instance);

    Please refer the attached sample for the same : FlexReportDemo.zip

    Best Regards,
  • Replied 21 March 2022, 7:28 pm EST

    Thanks for the time and answer, Nitin
Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels