Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

informix again

Status
Not open for further replies.

parames

MIS
Jun 26, 2000
71
MY
thanks James Culshaw for your guide.. anyway, i'm very very new to this informix. so, i really need help from your guys because it is urgent..

now, i knew that we can connect to informix database which resides in another server through odbc connection.. but, i really have no idea how to do that..

as i know, to connect to access database we do something like this..
strconn = "DRIVER=Microsoft Access Driver (*.mdb);DBQ=" & Server.MapPath("online.mdb")
set conn = server.createobject("adodb.connection")
conn.open strconn
set rs = server.createobject("adodb.recordset")

but, how to do this for informix which is in another server (unix platform)??

please help..
rgds,
parames.s


 
If informix is anything like Oracle you will need to install the client software onto your IIS Server.
Please bare in mind that what I am about to describe is Oracle but it might illustrate what you need.

1. Install the client software onto the IIS Server.

2. Create a System DSN on your machine using the ODBC driver, and ODBC administrator.

3. In the ConnectionString specify the DSN that was created ins step 2 rather than trying to create a DSN in the ConnectionString.

This should then work fine.

James :) James Culshaw
jculshaw@active-data-solutions.co.uk
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top