I am testing EntityDAC. When using Entity Developer to try model from a firebird 3.0 database with these steps:
1. Select provider ".NET Framework Data Provider for Firebird"
2. Server Type: Embedded Server
3. Database: c:\Program Files (x86)\Firebird\Firebird_3_0\examples\empbuild\Employee.fdb
4. Press "Test Connection" and it prompt "The type initializer for 'FirebirdSQL.Data.Client.Native.FbClientFactory' threw an exception"
Any ideas?
The type initializer for 'FirebirdSQL.Data.Client.Native.FbClientFactory' threw an exception
Re: The type initializer for 'FirebirdSQL.Data.Client.Native.FbClientFactory' threw an exception
Perhaps the described issue is related to the fact that before installing EntityDAC the ".NET Framework Data Provider for Firebird" has already been installed in your environment. Try the following actions:
- open the file [EntityDAC install folder]\EntityDAC\EntityDeveloper\EntityDeveloper.exe.config in the text editor
- find and delete the following line in it:
- save EntityDeveloper.exe.config
Try using EntityDeveloper after making changes and let us know about the results
- open the file [EntityDAC install folder]\EntityDAC\EntityDeveloper\EntityDeveloper.exe.config in the text editor
- find and delete the following line in it:
Code: Select all
<add name="FirebirdClient Data Provider" invariant="FirebirdSql.Data.FirebirdClient" description=".NET Framework Data Provider for Firebird" type="FirebirdSql.Data.FirebirdClient.FirebirdClientFactory, FirebirdSql.Data.FirebirdClient, Version=5.12.1.0, Culture=neutral, PublicKeyToken=3750abcc3150b00c"/>
Try using EntityDeveloper after making changes and let us know about the results