473,399 Members | 3,401 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,399 software developers and data experts.

Linked tables in ms access asking for login/password

Hi,

I have an Access 2000 database, which contains some native tables,
and some linked tables which belong to an ORACLE database, through
ODBC.

Using VB.NET, I am trying to fetch some data by joining two tables,
one table native to the mdb file, and another belonging to ORACLE.

I am using a connection string to connect to mdb file:
Provider=Microsoft.Jet.OLEDB.4.0;Data Source=database.mdb;User ID=Admin;
Jet OLEDB:Database Password=xxxx;Persist Security Info=True;

My problem is that as soon i try to fetch the data, a window (not belonging
to my vb program) comes up with the title "ORACLE ODBC driver connect"
asking for ORACLE's username and password. Its the same screen which
i get when i open Access database, and try to view one of the oracle
tables for the first time.

I don't want this screen. Somehow :
- i want to store this info with access
OR
- pass this info through something like the connection string.

User should not be able to see this screen.

I would appreciate any help.
anand saha
Nov 13 '05 #1
4 14431
Hi Anand,

Nice crossposted, however this newsgroup where this is often the question is
not in it.
If I was you I would try it especially there.

Adonet
<news://msnews.microsoft.com/microsoft.public.dotnet.framework.adonet>

Web interface:

<http://communities2.microsoft.com/co...s/?dg=microsof
t.public.dotnet.framework.adonet>

I think you have more change there to get an answer that fits you.

Cor
"anand" <an*******@rediffmail.com> schreef in bericht
news:f7**************************@posting.google.c om...
Hi,

I have an Access 2000 database, which contains some native tables,
and some linked tables which belong to an ORACLE database, through
ODBC.

Using VB.NET, I am trying to fetch some data by joining two tables,
one table native to the mdb file, and another belonging to ORACLE.

I am using a connection string to connect to mdb file:
Provider=Microsoft.Jet.OLEDB.4.0;Data Source=database.mdb;User ID=Admin;
Jet OLEDB:Database Password=xxxx;Persist Security Info=True;

My problem is that as soon i try to fetch the data, a window (not belonging to my vb program) comes up with the title "ORACLE ODBC driver connect"
asking for ORACLE's username and password. Its the same screen which
i get when i open Access database, and try to view one of the oracle
tables for the first time.

I don't want this screen. Somehow :
- i want to store this info with access
OR
- pass this info through something like the connection string.

User should not be able to see this screen.

I would appreciate any help.
anand saha

Nov 13 '05 #2
On 21 Jun 2004 01:36:31 -0700, an*******@rediffmail.com (anand) wrote:

¤ Hi,
¤
¤ I have an Access 2000 database, which contains some native tables,
¤ and some linked tables which belong to an ORACLE database, through
¤ ODBC.
¤
¤ Using VB.NET, I am trying to fetch some data by joining two tables,
¤ one table native to the mdb file, and another belonging to ORACLE.
¤
¤ I am using a connection string to connect to mdb file:
¤ Provider=Microsoft.Jet.OLEDB.4.0;Data Source=database.mdb;User ID=Admin;
¤ Jet OLEDB:Database Password=xxxx;Persist Security Info=True;
¤
¤ My problem is that as soon i try to fetch the data, a window (not belonging
¤ to my vb program) comes up with the title "ORACLE ODBC driver connect"
¤ asking for ORACLE's username and password. Its the same screen which
¤ i get when i open Access database, and try to view one of the oracle
¤ tables for the first time.
¤
¤ I don't want this screen. Somehow :
¤ - i want to store this info with access
¤ OR
¤ - pass this info through something like the connection string.
¤
¤ User should not be able to see this screen.
¤
¤ I would appreciate any help.

When you create the linked table in Access there is an option to save the password so that you will
not be prompted when accessing the table.
Paul ~~~ pc******@ameritech.net
Microsoft MVP (Visual Basic)
Nov 13 '05 #3
Paul Clement <Us***********************@swspectrum.com> wrote in message news:<vj********************************@4ax.com>. ..
On 21 Jun 2004 01:36:31 -0700, an*******@rediffmail.com (anand) wrote:

¤ Hi,
¤
¤ I have an Access 2000 database, which contains some native tables,
¤ and some linked tables which belong to an ORACLE database, through
¤ ODBC.
¤
¤ Using VB.NET, I am trying to fetch some data by joining two tables,
¤ one table native to the mdb file, and another belonging to ORACLE.
¤
¤ I am using a connection string to connect to mdb file:
¤ Provider=Microsoft.Jet.OLEDB.4.0;Data Source=database.mdb;User ID=Admin;
¤ Jet OLEDB:Database Password=xxxx;Persist Security Info=True;
¤
¤ My problem is that as soon i try to fetch the data, a window (not belonging
¤ to my vb program) comes up with the title "ORACLE ODBC driver connect"
¤ asking for ORACLE's username and password. Its the same screen which
¤ i get when i open Access database, and try to view one of the oracle
¤ tables for the first time.
¤
¤ I don't want this screen. Somehow :
¤ - i want to store this info with access
¤ OR
¤ - pass this info through something like the connection string.
¤
¤ User should not be able to see this screen.
¤
¤ I would appreciate any help.

When you create the linked table in Access there is an option to save the password so that you will
not be prompted when accessing the table.
Paul ~~~ pc******@ameritech.net
Microsoft MVP (Visual Basic)


Paul-

I'm having this same difficulty, and tried your suggestion by
re-linking the Oracle table so I could save the user ID and password.
However, during re-linking I was never given the option to enter the
user ID and password. Is this an option that has to be set-up in the
Oracle driver or database?

John
Nov 13 '05 #4
On 22 Jun 2004 10:45:33 -0700, jb***@gene.com (John B) wrote:

¤ Paul Clement <Us***********************@swspectrum.com> wrote in message news:<vj********************************@4ax.com>. ..
¤ > On 21 Jun 2004 01:36:31 -0700, an*******@rediffmail.com (anand) wrote:
¤ >
¤ > ¤ Hi,
¤ > ¤
¤ > ¤ I have an Access 2000 database, which contains some native tables,
¤ > ¤ and some linked tables which belong to an ORACLE database, through
¤ > ¤ ODBC.
¤ > ¤
¤ > ¤ Using VB.NET, I am trying to fetch some data by joining two tables,
¤ > ¤ one table native to the mdb file, and another belonging to ORACLE.
¤ > ¤
¤ > ¤ I am using a connection string to connect to mdb file:
¤ > ¤ Provider=Microsoft.Jet.OLEDB.4.0;Data Source=database.mdb;User ID=Admin;
¤ > ¤ Jet OLEDB:Database Password=xxxx;Persist Security Info=True;
¤ > ¤
¤ > ¤ My problem is that as soon i try to fetch the data, a window (not belonging
¤ > ¤ to my vb program) comes up with the title "ORACLE ODBC driver connect"
¤ > ¤ asking for ORACLE's username and password. Its the same screen which
¤ > ¤ i get when i open Access database, and try to view one of the oracle
¤ > ¤ tables for the first time.
¤ > ¤
¤ > ¤ I don't want this screen. Somehow :
¤ > ¤ - i want to store this info with access
¤ > ¤ OR
¤ > ¤ - pass this info through something like the connection string.
¤ > ¤
¤ > ¤ User should not be able to see this screen.
¤ > ¤
¤ > ¤ I would appreciate any help.
¤ >
¤ > When you create the linked table in Access there is an option to save the password so that you will
¤ > not be prompted when accessing the table.
¤ >
¤ >
¤ > Paul ~~~ pc******@ameritech.net
¤ > Microsoft MVP (Visual Basic)
¤
¤ Paul-
¤
¤ I'm having this same difficulty, and tried your suggestion by
¤ re-linking the Oracle table so I could save the user ID and password.
¤ However, during re-linking I was never given the option to enter the
¤ user ID and password. Is this an option that has to be set-up in the
¤ Oracle driver or database?
¤
¤ John

I don't believe that the Linked Table Manager supports this capability if that is what you are
using. AFAIK, you have to delete the existing linked table and use the File...Get External
Tables...Link Tables... method.
Paul ~~~ pc******@ameritech.net
Microsoft MVP (Visual Basic)
Nov 13 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: jason | last post by:
Is it actually possible for a local access 2000 database to link to a remote database online via linked tables... I know www.aspfaq.com has spoken about possibliites (although not secure) for...
10
by: Mo | last post by:
A user is complaining that Access Dbs on her PC asks her to type in a username and password whenever she opens an Access Db. The username that appears in the username box is the same as her network...
2
by: Sam DeRT | last post by:
Is there a way to hard code what a path to a linked table would be without going through the Linked Table Manager or a re-linking process? My issue is that I'm installing a database with linked...
1
by: Karen Hill | last post by:
I have a database which is split. The logic is in an MDE file, which connects to a MDB file via linked tables. Now, since the MDE file is installed, on one computer and the linked tables reside...
7
by: smd | last post by:
Hello and thanks for taking the time to read this. I've looked all over the web and newsgroups and can't find a solution to my problem. I've posted this question to the Access 2000 group as well -...
4
by: anand | last post by:
Hi, I have an Access 2000 database, which contains some native tables, and some linked tables which belong to an ORACLE database, through ODBC. Using VB.NET, I am trying to fetch some data by...
4
by: xperre van wilrijk | last post by:
Hi, I have inherited an access userinterface that links to sql server tables through ODBC. The SQL server database contains data related to villages in my country and is populated by my...
1
by: hk777 | last post by:
Hi I have Access 2007 installed at work, and last week it suddenly started asking me for a username and password whenever I try to open anything, even a new database. If I log in to my computer...
1
by: Martin Clark | last post by:
I use access to get data from a As400, i have linked various tables from the AS 400 but access has selected some of the fields as primary keys and won't let me take the keys off? Is this to do...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.