[Mono-list] ODBC related error
robertj at gmx.net
Thu Aug 6 04:47:13 EDT 2009
Bharti Mishra wrote:
> ** (/usr/lib/mono/2.0/mod-mono-server2.exe:22010): WARNING **: The following
> assembly referenced from
> could not be loaded:
> Assembly: Microsoft.Data.Odbc (assemblyref_index=5)
> Version: 1.0.3300.0
> Public Key: b77a5c561934e089
> The assembly was not found in the Global Assembly Cache, a path listed in
> the MONO_PATH environment variable, or in the location of the executing
> but I can see FNSDatabase.net.dll inside this path
> can you pls explain me decribed error, and can you pls tell me there is any
> problem in odbc driver, or I have to set odbc driver into given path.
The error message clearly states what's going wrong: the
assembly Microsoft.Data.Odbc is missing.
This assembly was obsoleted by MS a couple of years ago (starting
with .NET 1.1 AFAIR).
You must remove the reference to this assembly from your
code and use System.Data instead since Mono does not
provide and will not provide the Microsoft.Data.Odbc
More information about the Mono-list