You don’t have factory record in machine/app/web.config.
--
Mgr. Jiří Činčura
Independent IT Specialist
--
___
Firebird-net-provider mailing list
The cursious thing is that I do have the record in app.config. Actually
that was the 1st thing I looked when I got the error.
entityFramework
defaultConnectionFactory
type=FirebirdSql.Data.EntityFramework6.FbConnectionFactory,
EntityFramework.Firebird /
providers
provider
You’re missing record in system.data DbProviderFactories.
--
Mgr. Jiří Činčura
Independent IT Specialist
--
___
Firebird-net-provider mailing list
I didn't know about that, but Firebird is there too:
system.data
DbProviderFactories
add name=FirebirdClient Data Provider
invariant=FirebirdSql.Data.FirebirdClient description=.NET Framework
Data Provider for Firebird
type=FirebirdSql.Data.FirebirdClient.FirebirdClientFactory,
You’re missing a space there. Check the message closely.
name 'FirebirdSql.Data. FirebirdClient'
Not sure why are you using the space there, maybe to avoid some other
conflicts? Anyway, if it's not intentional, just remove the space and you're
good to go.
--
Mgr. Jiří Činčura
Independent IT
The space was something only in the email, it was not in the XML.
Anyway, problem solved! The DbProviderFactories group was only present in
the 32-bit directory. I added it to the machine.config inside
C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Config and now everything
works.
Thanks Jiří,
I would suggest to add it - if it's for application, not your environment - to
app/web.config. Easier for deploy.
--
Mgr. Jiří Činčura
Independent IT Specialist
--
___
But I'm developing a WinForms application. Isn't web.config only for ASP.NET
apps?
On Thu, Nov 6, 2014 at 4:34 PM, Jiří Činčura j...@cincura.net wrote:
I would suggest to add it - if it's for application, not your environment
- to app/web.config. Easier for deploy.
--
Mgr. Jiří Činčura
It’s the same, only it’s called app.config.
--
Mgr. Jiří Činčura
Independent IT Specialist
--
___
Firebird-net-provider mailing list
Firebird-net-provider@lists.sourceforge.net