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-issue-importer opened this issue May 2, 2017 · 4 comments

Comments

@firebird-issue-importer
Copy link

@firebird-issue-importer firebird-issue-importer commented May 2, 2017

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-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented May 2, 2017

Commented by: @cincuranet

You're not using latest EF6 version.

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented May 2, 2017

Modified by: @cincuranet

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

resolution: Won't Fix [ 2 ]

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented May 2, 2017

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-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented May 2, 2017

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
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants