Could not load type 'CoreLab.Common.DbConnection'

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for Oracle
Post Reply
MentorUser
Posts: 2
Joined: Mon 09 Oct 2006 19:01

Could not load type 'CoreLab.Common.DbConnection'

Post by MentorUser » Mon 09 Oct 2006 19:08

Hi,

I get the following exception when I call the Open method on a OracleConnection object.

Could not load type 'CoreLab.Common.DbConnection' from assembly 'CoreLab.Oracle, Version=3.50.11.0, Culture=neutral, PublicKeyToken=09af7300eec23701'

If I just instanciate the OracleConnection object, I have no problem. It's when I call Open() on it that I have a problem. I can call other methods on it like IsOpen or ToString. It seems the problem is inside Open(). I made sure the CoreLabs library was in the same folder as the rest of my application.

Here is my connection string: Data Source=172.23.45.34;User Id=ccnet;Password=abc123

Any ideas,

Thanks,

Louis

Alexey
Posts: 2756
Joined: Mon 13 Mar 2006 07:43

Post by Alexey » Tue 10 Oct 2006 06:13

What version of Visual Studio do you use?
Specify your hardware architecture: x32 or x64?
What versions of OraDirect .NET do you use (Std, Pro, Mobile)?
Try to download the latest version from our site and use it.

MentorUser
Posts: 2
Joined: Mon 09 Oct 2006 19:01

Post by MentorUser » Wed 11 Oct 2006 15:51

Hi,

We are using VS .NET 2005 as our IDE. Our architecture is x86 (32-bit). Our version of OraDirect .NET is Standard. We were on version 3.5.11.0.

We upgraded to version 3.5.13.0 and it solved our problem. It seems like version 3.5.13.0 gives better error messages. We were able to find our problem in a minute with the new version.

Thanks,

Louis

Alexey
Posts: 2756
Joined: Mon 13 Mar 2006 07:43

Post by Alexey » Wed 11 Oct 2006 16:06

OK, i see.

Post Reply