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.
------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
Firebird-net-provider mailing list
Firebird-net-provider@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider