Wrox Programmer Forums
|
Classic ASP Components Discussions specific to components in ASP 3.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Components section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old February 21st, 2006, 02:47 AM
Registered User
 
Join Date: Feb 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Connectivity Problem in VBS

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





Similar Threads
Thread Thread Starter Forum Replies Last Post
Vb-access connectivity problem saptarshi Pro VB Databases 1 January 24th, 2007 10:41 AM
PHP Database Connectivity Problem Vulcan999 Beginning PHP 3 July 18th, 2006 07:51 AM
Problem in scheduling a .vbs file m_soni21 VBScript 4 January 24th, 2006 05:29 AM
Connectivity Problem To SQL Server 2k ctanchan Pro VB Databases 4 October 7th, 2003 11:29 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.