From: Parzival <par...@gm...> - 2015-05-18 19:49:51
|
Hello, I am working for some time now with EF 6.0 and Firebird (after using Firebird for long time with ODBC etc.). When it comes to deploying the app I am facing an interessting problem. It runs fine on the development box, but not in VMWare or other PC. The error claims that the FirebirdSql.Data.FirebirdClient is missing - which is sitting next to the app.exe. Do you have an idea what could be missing here? Thanks Niko Following files are part of the xcopy installation: echolot.exe echolot.exe.config echolotdataaccess.dll (Contains the C# entity framework context) EntityFramework.dll EntityFrameworkFirebird.dll FirebirdSql.Data.Firebird.Client.dll The config file contains following items: <configSections> <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 --> <section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" /> <sectionGroup name="applicationSettings" type="System.Configuration.ApplicationSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" > <section name="Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" /> </sectionGroup> </configSections> <entityFramework> <defaultConnectionFactory type="FirebirdSql.Data.EntityFramework6.FbConnectionFactory, EntityFramework.Firebird" /> <providers> <provider invariantName="FirebirdSql.Data.FirebirdClient" type="FirebirdSql.Data.EntityFramework6.FbProviderServices, EntityFramework.Firebird" /> </providers> </entityFramework> The app starts and at the first time I want to query data public IEnumerable GetMaerkte() { var result = from s in this.ECHOLOT_MAERKTE select new {s.MARKT}; return result.ToList(); } I receive following errormessage: System.ArgumentException: The ADO.NET provider with invariant name 'FirebirdSql.Data.FirebirdClient' is either not registered in the machine or application config file, or could not be loaded. See the inner exception for details. ---> System.ArgumentException: Unable to find the requested .Net Framework Data Provider. It may not be installed. |