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

FirebirdSql.Data.EntityFramework6.FbProviderServices..cctor() in C:\Users\Jiri\Documents\devel\NETProvider\working\Provider\src\FirebirdSql.Data.FirebirdClient\FirebirdClient\FbProviderServices.cs:line 64 [DNET756] #698

Closed
firebird-automations opened this issue May 2, 2017 · 4 comments

Comments

@firebird-automations
Copy link

Submitted by: Farhan Wazir (seejee)

On EF6 Model
public MyContext : base("TestConnectionString") <<

Stack Trace::
Exception thrown: 'System.Reflection.TargetInvocationException' in mscorlib.dll
Exception has been thrown by the target of an invocation.

>>>>>>>> Inner Exception <<<<<<<<<<<<<<<
System.TypeInitializationException: The type initializer for 'FirebirdSql.Data.EntityFramework6.FbProviderServices' threw an exception. ---> System.TypeLoadException: Could not load type 'System.Data.Entity.Infrastructure.Interception.IDbConnectionInterceptor' from assembly 'EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.
at FirebirdSql.Data.EntityFramework6.FbProviderServices..ctor()
at FirebirdSql.Data.EntityFramework6.FbProviderServices..cctor() in C:\Users\Jiri\Documents\devel\NETProvider\working\Provider\src\FirebirdSql.Data.FirebirdClient\FirebirdClient\FbProviderServices.cs:line 64
--- End of inner exception stack trace ---

@firebird-automations
Copy link
Author

Commented by: @cincuranet

You're not using latest EF6 version.

@firebird-automations
Copy link
Author

Modified by: @cincuranet

status: Open [ 1 ] => Closed [ 6 ]

resolution: Won't Fix [ 2 ]

@firebird-automations
Copy link
Author

Commented by: Farhan Wazir (seejee)

I'm using
Entity Framework 6.0
Entity Framework Firebird 5.8.1
FirebirdClient.Data.FirebirdClient 5.8.1

What is missing in it?

@firebird-automations
Copy link
Author

Commented by: Farhan Wazir (seejee)

This is App.config

<\!\-\- For more information on Entity Framework configuration, visit \-\-\>

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

2 participants