Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> IIS4 ORACLE ODBC Problems with ISAPI Extension

IIS4 ORACLE ODBC Problems with ISAPI Extension

From: <yliu_at_dri.mgh.com>
Date: Tue, 14 Apr 1998 13:17:42 -0600
Message-ID: <6h0985$n6v$1@nnrp1.dejanews.com>


I wrote an ISAPI extension dll which runs from IIS4 and connects to an Oracle 7.3 Database through SQL*net. I use OpenEx with CDatabase::openReadOnly

				| CDatabase::noOdbcDialog
				| CDatabase::useCursorLib

options to connect to the existing Data source, and I have got the following error
> ----------------------------------

ORA-12545: TNS:name lookup failure.
Driver's SQLSetConnectAttr failed.
> ----------------------------------

But the same code works just fine in a console exe application. So I would think the Data Source is correctly configured. Has anyone else seing this?

Yanbai

-----== Posted via Deja News, The Leader in Internet Discussion ==----- http://www.dejanews.com/ Now offering spam-free web-based newsreading Received on Tue Apr 14 1998 - 14:17:42 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US