Wrox Programmer Forums

Need to download code?

View our list of code downloads.

| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Classic ASP Databases Discuss using ASP 3 to work with data in databases, including ASP Database Setup issues from the old P2P forum on this specific subtopic. See also the book forum Beginning ASP.NET Databases for questions specific to that book. NOT for ASP.NET 1.0, 1.1, or 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Databases section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old December 14th, 2006, 05:54 PM
Registered User
 
Join Date: Dec 2004
Location: Milwaukee, WI, USA.
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default ODBC DSN connection to Oracle

Hi,
I am using Microsoft ODBC driver for Oracle using system DSN I created for Oracle.
I don't want to provide userid/password in connection string on asp page for security reasons. On some websites I found code sample which doesn't provide uid/pwd after DSN at all, for example:
Set oConn = Server.CreateObject("ADODB.Connection")
oConn.Open "DSN=MySystemDSN"
When i run this code, I get error message "ORA-01017: invalid username/password; logon denied".
Was someone able to make it work by using system DSN and this type of connection without providing uid/pw ?
Appreciate any help.


Reply With Quote
  #2 (permalink)  
Old December 15th, 2006, 10:13 AM
Wrox Author
Points: 13,255, Level: 49
Points: 13,255, Level: 49 Points: 13,255, Level: 49 Points: 13,255, Level: 49
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Oct 2005
Location: Ohio, USA
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons
Default

No I have never got this to work with out providing a UN and PW through code.

-------------------------
I will only tell you how to do it, not do it for you.
Unless, of course, you want to hire me to do work for you.

^^Thats my signature
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
odbc system dsn problem hope you can help jeremy1048 Access 5 May 9th, 2007 01:19 PM
odbc system dsn problem hope you can help jeremy1048 BOOK: Access 2003 VBA Programmer's Reference 0 May 7th, 2007 11:24 PM
ODBC DSN connection atoyot BOOK: Beginning Visual Basic 2005 Databases ISBN: 978-0-7645-8894-5 2 December 14th, 2006 06:40 PM
Another ODBC DSN Question reyboy SQL Server 2000 2 June 20th, 2005 07:06 PM
Help Configuring ODBC (DSN) reyboy SQL Language 1 June 10th, 2005 04:25 AM



All times are GMT -4. The time now is 12:32 AM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.