473,385 Members | 1,379 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,385 software developers and data experts.

Q: Can Local DAO & remote IP ODBC coexist?

Hello:

I'm doing some planning on a potential project with which I need
some help. The database at the focus of this question is a
MS Access database that is currently accessed by DAO from a local
webserver. I need to access the same database remotely through
TCP/IP. There will be potentially many transactions coming from
both the web server and remotely, so the solution needs to keep
the data safe in such an environment. However, most likely, the
remote data accesses will be read-only whereas the web server
data accesses will always be both read and write.

I have never worked with either DAO or Access before. I generally
use ODBC and full SQL databases.

What is the best way to accomplish this? I can't seem to find
much information on accessing Access through DAO through IP
networking, so I don't know if its feasible or efficient. If I
need to use ODBC, will the database server be able to safely
handle transactions from both local DAO and remote ODBC?

Additionally, once a course of action is determined, I need to make
the server side changes as secure and easy to implement as possible,
as the server belongs to someone else and I'll never have any sort
of direct control over it.

Thank you for any assistance you can provide,
Greg
--
Greg Gursky
Bitspring
gg*****@bSiPtsApriMng.com (remove SPAM)
http://www.bSiPtsApriMng.com (remove SPAM)

Nov 12 '05 #1
9 3650
Accessing Jet databases via DAO over the Internet is not feasible. It is a
file-server database and all the actual work is done on the user's machine,
with lots of data passed across the network. Even high-speed Internet
connections are just too slow.

One alternative is to use a virtual private network scheme so that your
actual work is run on the server itself, or a remote access application like
pcAnywhere or ReachOut (but those really aren't all that suitable for high
volumes of data transferred from the remote location).

If you'll clarify with more detail about what you need to do, perhaps
someone can make a suggestion. Please clarify here in the newsgroup, not by
e-mail. Thanks.

Larry Linson
Microsoft Access MVP
"Greg Gursky" <gg*****@see.signature> wrote in message
news:3f*********************@newscene.com...
Hello:

I'm doing some planning on a potential project with which I need
some help. The database at the focus of this question is a
MS Access database that is currently accessed by DAO from a local
webserver. I need to access the same database remotely through
TCP/IP. There will be potentially many transactions coming from
both the web server and remotely, so the solution needs to keep
the data safe in such an environment. However, most likely, the
remote data accesses will be read-only whereas the web server
data accesses will always be both read and write.

I have never worked with either DAO or Access before. I generally
use ODBC and full SQL databases.

What is the best way to accomplish this? I can't seem to find
much information on accessing Access through DAO through IP
networking, so I don't know if its feasible or efficient. If I
need to use ODBC, will the database server be able to safely
handle transactions from both local DAO and remote ODBC?

Additionally, once a course of action is determined, I need to make
the server side changes as secure and easy to implement as possible,
as the server belongs to someone else and I'll never have any sort
of direct control over it.

Thank you for any assistance you can provide,
Greg
--
Greg Gursky
Bitspring
gg*****@bSiPtsApriMng.com (remove SPAM)
http://www.bSiPtsApriMng.com (remove SPAM)

Nov 12 '05 #2
>If you'll clarify with more detail about what you need to do, perhaps
someone can make a suggestion. Please clarify here in the newsgroup, not by
e-mail. Thanks.


Thank you for the response, Larry. Unfortunately remote
control and VPN solutions are not an option. In my case I'm
writing a front end application that needs to read data from
the database across the internet. I assume that since Access
is a relational database, one can make table queries as with
SQL databases. This is, at least initially, all I need to do, basic
SELECT and SHOW queries and the like. If possible, I'd like to
use ODBC to query his database but it must not conflict with
the DAO transactions being performed constantly by his web
server.

Honestly, I think he's using Access in a situation where a
full blown SQL server is called for, but I have no control
over that. I need to work completely within the boundaries
of his current setup. I will never have access to his server
and doubt I could convince him to change anything
significantly.

As I mentioned, I've never used Access, so I might be
completely off base here. I'm basing this all on my experiences
with ODBC and SQL servers like MSSQL, MySQL and postgreSQL.
Any further help would be greatly appreciated.

Thank you,
Greg
--
Greg Gursky
Bitspring
gg*****@bSiPtsApriMng.com (remove SPAM)
http://www.bSiPtsApriMng.com (remove SPAM)

Nov 12 '05 #3
Greg Gursky wrote:
Thank you for the response, Larry. Unfortunately remote
control and VPN solutions are not an option. In my case I'm
writing a front end application that needs to read data from
the database across the internet. I assume that since Access
is a relational database, one can make table queries as with
SQL databases. This is, at least initially, all I need to do, basic
SELECT and SHOW queries and the like. If possible, I'd like to
use ODBC to query his database but it must not conflict with
the DAO transactions being performed constantly by his web
server. Honestly, I think he's using Access in a situation where a
full blown SQL server is called for, but I have no control
over that. I need to work completely within the boundaries
of his current setup. I will never have access to his server
and doubt I could convince him to change anything
significantly.


Access is a file-based database. You need a server-based database
system like MySQL, SQL Server or Oracle to do this.

You could write an application that sits on each side of the Internet
connection, one that runs locally and queries the database and that
sends the results back to the other side. Something like a web
interface. But if you're going over the Internet you'll probably
want the encryption and authentication that a VPN connection offers.

--
'-------------------------------
' John Mishefske
'-------------------------------

Nov 12 '05 #4

Larry,

On Thu, 11 Sep 2003 21:45:31 -0500, "Larry Linson"
<la**********@ntpcug.org> wrote in comp.databases.ms-access:
One alternative is to use a virtual private network scheme so that your
actual work is run on the server itself,


A vpn does not provide server-side processing. It is simply a secure
network connection. An Access database run over a vpn is no solution
to the problem outlined. Perhaps you meant that he should use
terminal server (either w/a vpn or w/o one).

Peter Miller
__________________________________________________ __________
PK Solutions -- Data Recovery for Microsoft Access/Jet/SQL
Free quotes, Guaranteed lowest prices and best results
www.pksolutions.com 1.800.987.7716 1.619.839.3900
Nov 12 '05 #5
The SQL statements in Access execute on the user's machine, not on the
machine containing the remote database. Access is a file-server database,
not a server database. Further, you can't use ODBC to connect an Access
front end to a Jet database (which is what you have, but often called
"Access" because it is the default database engine that comes with Access).
You might be able to do that using some other Office software for the
front-end... Excel, perhaps (though I have not done so).

As a file-server database, it uses the remote database folder just as it
would if it were on the local hard drive. It doesn't "bring the whole
database across the network" but it does do "every I/O that it would do to
the local hard drive".

I have a colleague who "turned Jet into a server database" for very specific
use, by coding a VB app accessing Jet on the server, and a VB application on
the clients that only sends messages back and forth to the VB app on the
server. But this was on a LAN, too, not on the Internet. The same approach
might work over the Internet, I suppose.

But the fact is that it is just not feasible to use an Access front end with
an Access/Jet database containing the data via the Internet. I'm sorry but
that's the case... Access just is not a server database like the MSSQL,
MySQL, and PostgreSQL you cite.

Larry Linson
Microsoft Access MVP

"Greg Gursky" <gg*****@see.signature> wrote in message
news:3f***********************@newscene.com...
If you'll clarify with more detail about what you need to do, perhaps
someone can make a suggestion. Please clarify here in the newsgroup, not bye-mail. Thanks.


Thank you for the response, Larry. Unfortunately remote
control and VPN solutions are not an option. In my case I'm
writing a front end application that needs to read data from
the database across the internet. I assume that since Access
is a relational database, one can make table queries as with
SQL databases. This is, at least initially, all I need to do, basic
SELECT and SHOW queries and the like. If possible, I'd like to
use ODBC to query his database but it must not conflict with
the DAO transactions being performed constantly by his web
server.

Honestly, I think he's using Access in a situation where a
full blown SQL server is called for, but I have no control
over that. I need to work completely within the boundaries
of his current setup. I will never have access to his server
and doubt I could convince him to change anything
significantly.

As I mentioned, I've never used Access, so I might be
completely off base here. I'm basing this all on my experiences
with ODBC and SQL servers like MSSQL, MySQL and postgreSQL.
Any further help would be greatly appreciated.

Thank you,
Greg
--
Greg Gursky
Bitspring
gg*****@bSiPtsApriMng.com (remove SPAM)
http://www.bSiPtsApriMng.com (remove SPAM)

Nov 12 '05 #6
Thanks for the catch, Peter. Yes, that is, indeed what I meant. I didn't
draw the distinction that I should have.
"Peter Miller" <pm*****@pksolutions.com> wrote in message
news:8i********************************@4ax.com...

Larry,

On Thu, 11 Sep 2003 21:45:31 -0500, "Larry Linson"
<la**********@ntpcug.org> wrote in comp.databases.ms-access:
One alternative is to use a virtual private network scheme so that your
actual work is run on the server itself,


A vpn does not provide server-side processing. It is simply a secure
network connection. An Access database run over a vpn is no solution
to the problem outlined. Perhaps you meant that he should use
terminal server (either w/a vpn or w/o one).

Peter Miller
__________________________________________________ __________
PK Solutions -- Data Recovery for Microsoft Access/Jet/SQL
Free quotes, Guaranteed lowest prices and best results
www.pksolutions.com 1.800.987.7716 1.619.839.3900

Nov 12 '05 #7

"Greg Gursky" <gg*****@see.signature> wrote in message
news:3f*********************@newscene.com...
Hello:

I'm doing some planning on a potential project with which I need
some help. The database at the focus of this question is a
MS Access database that is currently accessed by DAO from a local
webserver. I need to access the same database remotely through
TCP/IP. There will be potentially many transactions coming from
both the web server and remotely, so the solution needs to keep
the data safe in such an environment. However, most likely, the
remote data accesses will be read-only whereas the web server
data accesses will always be both read and write.

I have never worked with either DAO or Access before. I generally
use ODBC and full SQL databases.

What is the best way to accomplish this? I can't seem to find
much information on accessing Access through DAO through IP
networking, so I don't know if its feasible or efficient. If I
need to use ODBC, will the database server be able to safely
handle transactions from both local DAO and remote ODBC?

Additionally, once a course of action is determined, I need to make
the server side changes as secure and easy to implement as possible,
as the server belongs to someone else and I'll never have any sort
of direct control over it.

Thank you for any assistance you can provide,
Greg
--
Greg Gursky
Bitspring
gg*****@bSiPtsApriMng.com (remove SPAM)
http://www.bSiPtsApriMng.com (remove SPAM)
Go to: http://www.mvps.org/access/
Best Regards
Kyle Bitner, MVP

Nov 12 '05 #8
Ah, very good explanation. Thanks to all of you, that really clears
things up for me. I'll either have to write an app to run local to the
server to serve the data to the clients, or, convince him to write
some CGIs to serve up the information off the web server. Luckily,
none of the data requires any security whatsoever so that
simplifies things a good bit.

Thanks again to all of you for clearing this up for me.

Sincerely,
Greg
--
Greg Gursky
Bitspring
gg*****@bSiPtsApriMng.com (remove SPAM)
http://www.bSiPtsApriMng.com (remove SPAM)

Nov 12 '05 #9
Just to add one last note to a fine discussion:

MSDE is free.
It *is* SQL Server.
It can be connected to over the Internet.
It has 2 limitations:
2GB space
5 concurrent processes before a governor kicks in to slow it down.
(5 concurrent processes could still support dozens of simultaneous users.)

--
Joe Fallon
Access MVP

"Greg Gursky" <gg*****@see.signature> wrote in message
news:3f*********************@newscene.com...
Hello:

I'm doing some planning on a potential project with which I need
some help. The database at the focus of this question is a
MS Access database that is currently accessed by DAO from a local
webserver. I need to access the same database remotely through
TCP/IP. There will be potentially many transactions coming from
both the web server and remotely, so the solution needs to keep
the data safe in such an environment. However, most likely, the
remote data accesses will be read-only whereas the web server
data accesses will always be both read and write.

I have never worked with either DAO or Access before. I generally
use ODBC and full SQL databases.

What is the best way to accomplish this? I can't seem to find
much information on accessing Access through DAO through IP
networking, so I don't know if its feasible or efficient. If I
need to use ODBC, will the database server be able to safely
handle transactions from both local DAO and remote ODBC?

Additionally, once a course of action is determined, I need to make
the server side changes as secure and easy to implement as possible,
as the server belongs to someone else and I'll never have any sort
of direct control over it.

Thank you for any assistance you can provide,
Greg
--
Greg Gursky
Bitspring
gg*****@bSiPtsApriMng.com (remove SPAM)
http://www.bSiPtsApriMng.com (remove SPAM)

Nov 12 '05 #10

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

Similar topics

11
by: Mike MacSween | last post by:
My client has an MS Access database application on her local machine. I have full access to that in terms of changing the design. I've got a simple PHP/MySql application on shared hosting, so no...
3
by: Shank | last post by:
I need to harvest data from MySQL tables. My experience is with MSSQL and Enterprise Manager. I also connect to MSSQL with Access and ODBC. I don't need to manage anything. I just need the data....
6
by: Andreas Lauffer | last post by:
I changed from Access97 to AccessXP and I have immense performance problems. Details: - Access XP MDB with Jet 4.0 ( no ADP-Project ) - Linked Tables to SQL-Server 2000 over ODBC I used...
6
by: Access Newbie | last post by:
I'm using Access 2000 and I'm trying to create a pass-through query to append all the data from a local table to a remote table. I'm using the SQL query editor in MS Access to create the query (I...
2
by: dronkanoki | last post by:
I am attempting to set up myODBC 3.51 on Win XP Pro to a remote MySQL Linux server. I get the following error: Access denied for user: 'username@ipaddress.serviceprovider.net' (Using password:...
1
by: pradeep | last post by:
Hello, How to create system DSN (ODBC) on windows 2003 for SQL Server located on remote machine ? Please, guide me. Bye.
4
by: Butch | last post by:
Can I have a 32 bit & a 64 bit db2 instance on the same AIX box? If so I do I catalog a databse to use the 32 bit insatnce? Thanks
4
by: Neil | last post by:
I work on a local copy of a database (Access 2000 MDB with ODBC linked tables to a SQL 7 database). The SQL Server db I'm working with is on my C drive (MSDE). Occasionally I'll connect to a VPN to...
3
by: almurph | last post by:
Hi everyone, Hope you can help me with this one. We are doing a batch process on both a local server and remote. By local I mean the db server is on the same box and by remote I mean the db...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
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: 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
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.