472,145 Members | 1,624 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,145 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 14311
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 discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Sam DeRT | last post: by
1 post views Thread by Karen Hill | last post: by
4 posts views Thread by xperre van wilrijk | last post: by
reply views Thread by leo001 | last post: by

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.