Flex report .Net core ADO.NET provider not registered

Posted by: danko.petrovic on 18 March 2022, 5:16 am EST

    • Post Options:
    • Link

    Posted 18 March 2022, 5:16 am EST - Updated 4 October 2022, 8:32 am 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?

  • Posted 21 March 2022, 2:06 am EST

    Hello,

    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,

    Nitin

  • Posted 22 March 2022, 4:28 am 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