[Mono-list] ODBC related error
Bharti Mishra
bharti2.m at tcs.com
Fri Aug 7 00:12:24 EDT 2009
Robert Jordan wrote:
>
> Bharti Mishra wrote:
>> ** (/usr/lib/mono/2.0/mod-mono-server2.exe:22010): WARNING **: The
>> following
>> assembly referenced from
>> /tmp/wwwrun-temp-aspnet-0/5519dae6/assembly/shadow/0b38ee2b/caf7cdf5_c1cf23de_00000001/FNSDatabase.Net.dll
>> 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
>> assembly
>> (/tmp/wwwrun-temp-aspnet-0/5519dae6/assembly/shadow/0b38ee2b/caf7cdf5_c1cf23de_00000001/).
>>
>> but I can see FNSDatabase.net.dll inside this path
>> "/tmp/wwwrun-temp-............".
>>
>> 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
> assembly.
>
> Robert
>
> _______________________________________________
> Mono-list maillist - Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
>
>
Thanx for your response....
You said, use System.Data instead of Microsoft.Data.Odbc. so I like to ask
you If I use system.data then will it provide databese connection and will
it support odbc in mono.
because when we run our project in windows, we run oracle_net.msi setup. pls
guide me to proceed me further.
Thanks
--
View this message in context: http://www.nabble.com/ODBC-related-error-tp24840418p24858517.html
Sent from the Mono - General mailing list archive at Nabble.com.
More information about the Mono-list
mailing list