Quantcast
Channel: MySQL Forums - Connector/NET and C#, Mono, .Net
Viewing all articles
Browse latest Browse all 1451

A null was returned after calling the 'GetService' method on a store provider instance of type 'MySql.Data.MySqlClient.MySqlClientFactory' (no replies)

$
0
0
I recently upgraded my database from mySql 5.5 to mySQL 8.0.27, mySQL .NET Connector 8.0.27 & Entity Framework from 5 to 6.4.4. Now when making a DB call from code using EF, I am receiving the error "System.Data.ProviderIncompatibleException: A null was returned after calling the 'GetService' method on a store provider instance of type 'MySql.Data.MySqlClient.MySqlClientFactory'. The store provider might not be functioning correctly."

Source is "System.Data.Entity".

I am using VS 2022 & .Net framework is 4.8.

Can any one please suggest where I am missing?

Viewing all articles
Browse latest Browse all 1451

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>