Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

System.NotSupportedException: 'Unable to determine the provider name for provider factory of type 'System.Data.SqlClient.SqlClientFactory'. Make sure that the ADO.NET provider is installed or registered in the application config #623

Closed
maddy027 opened this issue Sep 6, 2018 · 12 comments

Comments

@maddy027
Copy link

maddy027 commented Sep 6, 2018

Code is available here https://github.com/maddy027/IssueWithEF6WithCore.git
when I tried to use EDMX with Asp.net core , getting the below error
System.NotSupportedException: 'Unable to determine the provider name for provider factory of type 'System.Data.SqlClient.SqlClientFactory'. Make sure that the ADO.NET provider is installed or registered in the application config

VS: 2017 15.8
EF: 6.2

Team , help me on this ASAP.

@ajcvickers
Copy link
Member

@maddy027 Are you attempting to use EF6 with .NET Core?

@maddy027
Copy link
Author

maddy027 commented Sep 6, 2018

Yes @ajcvickers

@ajcvickers
Copy link
Member

EF6 does not (yet) run on .NET Core--see #271

@maddy027
Copy link
Author

maddy027 commented Sep 6, 2018

@maddy027
Copy link
Author

maddy027 commented Sep 6, 2018

@ajcvickers please remove/update this doc

@ajcvickers
Copy link
Member

@maddy027 That doc is about running ASP.NET Core with EF6 on .NET Framework. This is different from running on .NET Core.

@maddy027
Copy link
Author

maddy027 commented Sep 6, 2018

@ajcvickers Even I am using ASP.net core with EF 6. I am just doing the steps which are mentioned in the doc and ended up here with exception

@maddy027
Copy link
Author

maddy027 commented Sep 6, 2018

@ajcvickers please read desc (when I tried to use EDMX with Asp.net core , getting the below error) I have mentioned that I am using Asp.net core with EF

@ajcvickers
Copy link
Member

@maddy027 Then I would suggest to file feedback on that document, using the buttons at the bottom of the doc. This issue tracker is for reporting bugs in EF6, and so far I haven't seen anything that seems to me like a bug.

@maddy027
Copy link
Author

maddy027 commented Sep 6, 2018

@ajcvickers Do I need to open new issue as ds one is closed ?

@furqansafdar
Copy link

@maddy027, did you find any solution to this issue as i am also facing the same exception.

@maddy027
Copy link
Author

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

No branches or pull requests

3 participants