Attempt to use DLL results in error.

Posted by abhi on Stack Overflow See other posts from Stack Overflow or by abhi
Published on 2010-06-11T13:20:36Z Indexed on 2010/06/11 13:22 UTC
Read the original article Hit count: 322

Filed under:
|
|
|

I am using a library (DLL) that uses the Oracle.DataAccess DLL to connect to the database. I am doing in in C# .NET framework 3.5

When I attempt to compile, the compilation takes place, but the executable throws this error message.

Could not load file or assembly 'Oracle.DataAccess, Version=2.111.7.20, Culture=
neutral, PublicKeyToken=89b483f429c47342' or one of its dependencies. An attempt
 was made to load a program with an incorrect format.

Is there some way to get around this? What could be causing this to happen?

© Stack Overflow or respective owner

Related posts about c#

Related posts about .NET