473,379 Members | 1,278 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,379 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 20 '05 #1
4 1843
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 20 '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 20 '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 20 '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 20 '05 #5

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

Similar topics

4
by: pheonix1t | last post by:
hello, I'm trying to create a linked server from an SQL2000 to a Unify ELS (very old, odbc is version 1) database on SCO unix. The odbc driver is old but it works fine when used by applications...
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: Neil Ginsberg | last post by:
I have ODBC linked tables to a SQL 7 database in an A2K database. The linked tables do not have the password stored in them, so the first time the user accesses them, they need to enter the SQL...
1
by: Lee Marsh | last post by:
Hello everyone, I have an Access 2000 project that uses two linked tables. The tables reside on an SQL Server machine. The SQL database requires a user login, so when some one opens the database...
0
by: ericellsworth | last post by:
Hi all, I'm wondering if there's a way to remove the password Access (2003) has stored for an ODBC linked table without quitting and reopening the application. I have a set of linked tables...
3
by: Zlatko Matić | last post by:
Hi! What happens with linked tables if they were linked using File DSN, when I copy the Access file on some other PC without File DSN ? What is the difference between DSN on linked tables and...
2
by: Jill Elaine | last post by:
I am building an Access 2002 frontend with linked tables to an encrypted Paradox 7 database. When I first create these linked tables, I'm asked for the password to the encrypted Paradox database,...
8
by: carriolan | last post by:
Hi I have an MS Access based application almost ready for distribution to the public and I find that even though I have compiled it into an MDE file, tables and queries can still be be imported if...
4
by: James Beswick | last post by:
I have some linked tables that connect to a Sharepoint site, but every time they are reconnected they prompt the user for a username/password. I would like to embed the login into the...
2
by: Chandan Ahuja | last post by:
Hello , I use MFC DAO classes to access my MS access database . I am using some linked tables(Linked to Oracle) in my MS Access database . Also i have some queries in my databse ,...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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...

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.