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

Go to topic 40346

Return to index page 364
Return to index page 363
Return to index page 362
Return to index page 361
Return to index page 360
Return to index page 359
Return to index page 358
Return to index page 357
Return to index page 356
Return to index page 355