Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old November 13th, 2005, 01:01 AM
anand
Guest
 
Posts: n/a
Default 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
  #2  
Old November 13th, 2005, 01:01 AM
Cor Ligthert
Guest
 
Posts: n/a
Default Re: Linked tables in ms access asking for login/password

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" <anandsaha@rediffmail.com> schreef in bericht
news:f7f6a451.0406210036.20f2c779@posting.google.c om...[color=blue]
> 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[/color]
belonging[color=blue]
> 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[/color]


  #3  
Old November 13th, 2005, 01:17 AM
Paul Clement
Guest
 
Posts: n/a
Default Re: Linked tables in ms access asking for login/password

On 21 Jun 2004 01:36:31 -0700, anandsaha@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 ~~~ pclement@ameritech.net
Microsoft MVP (Visual Basic)
  #4  
Old November 13th, 2005, 01:17 AM
John B
Guest
 
Posts: n/a
Default Re: Linked tables in ms access asking for login/password

Paul Clement <UseAdddressAtEndofMessage@swspectrum.com> wrote in message news:<vjhgd0lkik4bi215vigpcaun83oi8ntqhh@4ax.com>. ..[color=blue]
> On 21 Jun 2004 01:36:31 -0700, anandsaha@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 ~~~ pclement@ameritech.net
> Microsoft MVP (Visual Basic)[/color]

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
  #5  
Old November 13th, 2005, 01:17 AM
Paul Clement
Guest
 
Posts: n/a
Default Re: Linked tables in ms access asking for login/password

On 22 Jun 2004 10:45:33 -0700, jbren@gene.com (John B) wrote:

¤ Paul Clement <UseAdddressAtEndofMessage@swspectrum.com> wrote in message news:<vjhgd0lkik4bi215vigpcaun83oi8ntqhh@4ax.com>. ..
¤ > On 21 Jun 2004 01:36:31 -0700, anandsaha@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 ~~~ pclement@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 ~~~ pclement@ameritech.net
Microsoft MVP (Visual Basic)
 

Bookmarks

Thread Tools

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 Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles