Failed to find or load the registered .Net Framework Data Provider.

View: New views
4 Messages — Rating Filter:   Alert me  

Failed to find or load the registered .Net Framework Data Provider.

by Trofimich :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi.

I've got such error when tried to create ObjectContext (generated by EDM
disigner from FB database):


Failed to find or load the registered .Net Framework Data Provider.


Stack trace:

    at System.Data.Common.DbProviderFactories.GetFactory(DataRow
providerRow)
    at System.Data.Common.DbProviderFactories.GetFactory(String
providerInvariantName)
    at System.Data.EntityClient.EntityConnection.GetFactory(String
providerString)
    at
System.Data.EntityClient.EntityConnection.ChangeConnectionString(String
newConnectionString)
    at System.Data.Objects.ObjectContext..ctor(String connectionString,
String defaultContainerName)
    at BusinessClasses.JewelyContext..ctor() in
D:\Jewely\BusinessClasses\JewelyModel.Designer.cs:line 31
    at Jewely.Globals..cctor() in
D:\Jewely\DesktopInterface\Globals.cs:line 17



D:\Jewely\BusinessClasses\JewelyModel.Designer.cs:line 31 is next:

         public JewelyContext() :
                 base("name=JewelyContext", "JewelyContext")


I've reinstalled provider - no changes. Maybe someone know what should i
do to obviate this error?


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Firebird-net-provider mailing list
Firebird-net-provider@...
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider

Re: Failed to find or load the registered .Net Framework Data Provider.

by Jiri Cincura :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

You don't have the FirebirdClient assembly in GAC nor in your application's dir.

--
Jiri {x2} Cincura (CTO x2develop.com)
http://blog.cincura.net/ | http://www.ID3renamer.com

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Firebird-net-provider mailing list
Firebird-net-provider@...
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider

Re: Failed to find or load the registered .Net Framework Data Provider.

by Trofimich :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> You don't have the FirebirdClient assembly in GAC nor in your application's dir.

It's in GAC, but when i set CopyLocal = true, than other error occured:

"FirebirdSql.Data.FirebirdClient, Version=2.5.0.0, Culture=neutral,
PublicKeyToken=3750abcc3150b00c"


But i have 2.5.1.0 installed...


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Firebird-net-provider mailing list
Firebird-net-provider@...
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider

Re: Failed to find or load the registered .Net Framework Data Provider.

by Trofimich :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Found the problem. Incorrect version of FirebirdClient were specified in
<DbProviderFactories> section of 64-bit machine config.
So EDM designer worked (think it use 32-bit version of .NET), but
program not...


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Firebird-net-provider mailing list
Firebird-net-provider@...
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider