Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Passing password data for chain of ODBC databases

Status
Not open for further replies.

acidkewpie

Programmer
Nov 19, 2003
25
0
0
GB
Hi, i'm connecting to an Access ODBC datasource to use some queries in it, but this database itself uses a much larger Oracle installation down the line. Accessing these queries in a normal application will prompt for the password for the oracle server automatically, however as it is just a webpage, it just fails the connection instantly. how can i get this password to be passed down from the asp page to the end database?

Cheers

Chris
 
Try this

conn.Open "DSN='odbc name';UID='username';PWD='password';"

Alternativley, on the configuration for the odbc connection their is an advanced button which allows you to specify a user name and password.

The more you know, the more you realise there is to know....
CCNA MCP
 
opening a direct connection doesn't appear to follow on with the indirect connection coming through the database. And entering a password into the DSN ODBC connection for windows does not remember anything.

thanks

chris
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top