|
Subject:
|
Connectivity Problem in VBS
|
|
Posted By:
|
prasadsali
|
Post Date:
|
2/21/2006 1:47:41 AM
|
Hi All, I am having problem in vbs. When i am going to do the connectivity using dsn in vbs it gives me error. ORA-12154:TNS:Could not resolve service name. but when i write done same code using asp it works fine. I am using windows 2003 server and IIS6. Is there any security problem and somethig else. My code as follows
str = "dsn=datactmail;uid=ctmail;pwd=ctmail" Set cn = CreateObject("Adodb.Connection") cn.Open str
Thanks and Regards,
Prasad Sali.
6
|
|