Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Can not connect to Oracle using ASP, but i can connect to VB6.0

708240Jul 20 2011 — edited Jul 20 2011
i have installed ODAC 11.2.0.2.1(latest version) and i m trying to connect to Oracle 11G server

So no vb programs are worked so i have installed oracle 11g client and vb programs are all started to work,

but when i try to connect it using asp. i m getting the following error.pls help me


Error Type:
OraOLEDB (0x80004005)
ORA-12154: TNS:could not resolve the connect identifier specified


conn.asp, line 12

on line 12, i did this,
Conn221.Open ConnString221

but my original connection code is
ConnString221 = "Provider=OraOLEDB.Oracle;Password=newbie;User ID=newchips;Data Source=HIS241;PersistSecurity Info=True;PLSQLRSet=1"
Conn221.Open ConnString221

but the same piece of code is working in my friend PC,she installed only 8i Client and this is working perfectly...
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 17 2011
Added on Jul 20 2011
1 comment
146 views