Page 1 of 1

Could not load type 'CoreLab.Common.DbConnection'

Posted: Mon 09 Oct 2006 19:08
by MentorUser
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

Posted: Tue 10 Oct 2006 06:13
by Alexey
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.

Posted: Wed 11 Oct 2006 15:51
by MentorUser
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

Posted: Wed 11 Oct 2006 16:06
by Alexey
OK, i see.