[Mono-list] ODBC/Mono/ASP Situation - Please Help

Daniel Morgan danielmorgan@verizon.net
Fri, 9 Jan 2004 20:38:07 -0500


I don't know how to help you with your ODBC problem, but have you tried
Npgsql to connect to PostgreSQL?  It happens to be included with Mono.
Npgsql works on Linux and Windows.  And it works on .NET too.

For unixODBC, is your odbc.ini file setup correctly?

-----Original Message-----
From: mono-list-admin@lists.ximian.com
[mailto:mono-list-admin@lists.ximian.com]On Behalf Of Antwone Walters
Sent: Thursday, January 08, 2004 1:39 PM
To: mono-list@lists.ximian.com
Subject: [Mono-list] ODBC/Mono/ASP Situation - Please Help


I need help to configure odbc support on my linux box. Then after that's
done how I configure the mod_mono_server to use it, so I can then
connect to a PostGre database. I have an ASP application that runs on
windows, but I ported it to linux to get it work with Mono, yet I get
database errors.

The first time I did this brought up the asp page that connects to
database I was getting an error that said
mod-mono-server.exe cannot load /usr/lib/libodbc32.so
I read a forum that where someone had the same error message so I
followed the advice given to him which said to get odbcSupport for from
iodbc or unixODBC. I got unixODBC installed it but that didn't install.
So I got iodbc software. After installation this message occured.

[iODBC][Driver Manager]Specified driver could not be loaded
in <0x0049b> System.Data.Odbc.OdbcConnection:Open () in <0x0004f>
(wrapper remoting-invoke-with-check)
System.Data.Odbc.OdbcConnection:Open () in <0x00055>
KTSearch.KTSimpleSearch:AddTableToDataSet
(System.Data.DataSet,string,string)

I need help.

_______________________________________________
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list