ErikEJ / EntityFramework6PowerTools

This is the codebase for Entity Framework 6 Power Tools Community Edition, and modern EF 6 providers for SQL Server and SQL Server Compact
Other
183 stars 27 forks source link

Error 0152: No Entity Framework provider found for the ADO.NET provider with invariant name 'Oracle.ManagedDataAccess.Client' #41

Closed anperim closed 5 years ago

anperim commented 5 years ago

Hi, I´m trying to pre generate views on a db first (edmx) model and generate the follow error: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Data.Entity.Core.MetadataException: Schema specified is not valid. Errors: eEVNDataModel.edmx(7,6) : error 0152: No Entity Framework provider found for the ADO.NET provider with invariant name 'Oracle.ManagedDataAccess.Client'. Make sure the provider is registered in the 'entityFramework' section of the application config file. See http://go.microsoft.com/fwlink/?LinkId=260882 for more information.

I have the latest stable version of odp.net. The edmx has stored in a separated library and asp.net web application is running successfully. The app.config and web.config has same configurations.

ErikEJ commented 5 years ago

Which version of Visual Studio? There were issues with 15.7 and the EF Tools

anperim commented 5 years ago

15.8. Still have a bug with this version?

ErikEJ commented 5 years ago

Should be fixed, but I have no experience with the Oracle DDEX provider, sorry.

anperim commented 5 years ago

Thanks in advance.

Em seg, 8 de out de 2018 13:42, Erik Ejlskov Jensen < notifications@github.com> escreveu:

Should be fixed, but I have no experience with the Oracle DDEX provider, sorry.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ErikEJ/EntityFramework6PowerTools/issues/41#issuecomment-427902464, or mute the thread https://github.com/notifications/unsubscribe-auth/ALaohaSW8t0XZRBUpTOJizOW6lg9tod8ks5ui4BwgaJpZM4XNBzo .

ErikEJ commented 5 years ago

Appear to be an external VS related issue, closing

anperim commented 5 years ago

This is not a external issue. This is because the entity framework dll version inside visual Studio installation path can not load edmx. The project is running with entityframework nuget version and actually using the EFInteractiveViews as alternative.

ErikEJ commented 5 years ago

I meant that it was not an EF Powertools issue...

anperim commented 5 years ago

Ah ok. Thanks for all.

Em seg, 10 de dez de 2018 04:41, Erik Ejlskov Jensen < notifications@github.com escreveu:

I meant that it was not an EF Powertools issue...

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ErikEJ/EntityFramework6PowerTools/issues/41#issuecomment-445704222, or mute the thread https://github.com/notifications/unsubscribe-auth/ALaohYOgjiORnGWubssU-fNW983yxl-Sks5u3gIagaJpZM4XNBzo .