Re: connect oracle database error, vbscript.
Date: Tue, 13 May 2003 15:59:23 -0500
Message-ID: <i2n2cv0bi8ob87cmka93msit5iv6cltau1_at_4ax.com>
bigbinc_at_hotmail.com (bigbinc) wrote:
>I am trying to connect to a oracle database
Which string causes the error..
----== Posted via Newsfeed.Com - Unlimited-Uncensored-Secure Usenet News==----
>where the webserver is seperate from the oracle server. I am trying
>to connect with these two strings.
>
>'connectStr = "Provider=OraOLEDB.Oracle.1;Server=PMT-ORACLE;Database=sde;Uid=dorsey;Pwd=dorsey;"
>connectStr = "Provider=OraOLEDB.Oracle.1;Data
>Source=gisoracle;Uid=dorsey;Pwd=dorsey;"
>
>adoCon.Open connectStr
>
>This is my one error.
>
>Error Type:
>OraOLEDB (0x80004005)
>ORA-12154: TNS:could not resolve service name
>/Website/pipeseg/test/b.asp, line 31
Anyway what it means is that the tnsnames.ora file on the web server does not have correct
information for gisoracle or sde ( depending on which connection string you mean)