Hi all,
I am after some suggestions on ways to gracefully respond to
situations where the network goes down while the database is in use.
It doesn't happen that often, but when it does, the UI freezes up for
a short period and then displays a Windows msg - " can't find
\\Server\Backend ......etc ".
Thank You
Karl 6 1434
Karl,
Quit creating applications using bound objects. Even a linked table
connected to a back end database is a bad idea. If you used unbound forms,
etc., then your code would reach out and touch the database only when
necessary. And if it didn't find it, could respond with an appropriate
error message.
"Karl Roes" <ka******@hotmail.com> wrote in message
news:7c**************************@posting.google.c om... Hi all,
I am after some suggestions on ways to gracefully respond to situations where the network goes down while the database is in use. It doesn't happen that often, but when it does, the UI freezes up for a short period and then displays a Windows msg - " can't find \\Server\Backend ......etc ".
Thank You
Karl
Karl's suggestion could alleviate the problem -
although it, too, is vulnerable if the server goes down during those few
moments when data is being transferred.
Giving up bound objects, of course, means giving up what Access does best.
While Access can use unbound forms, I've never seen Access Reports done
without binding -
and Access's report writer is one of its most popular features.
Unbound forms are also a whole lot more cumbersome to develop than bound
ones -
a lot more work for you.
Inhouse networks should generally be pretty reliable -
if they're going down with any frequency at all, your IT department
should be addressing this issue. It's got to be affecting more than just
your application.
If you're trying to run Access over a WAN, Karl might be right in hinting
that a non-Access solution might be preferable.
HTH
- Turtle
"Alan Webb" <kn*****@hotmail.com> wrote in message
news:Me****************@news.uswest.net... Karl, Quit creating applications using bound objects. Even a linked table connected to a back end database is a bad idea. If you used unbound
forms, etc., then your code would reach out and touch the database only when necessary. And if it didn't find it, could respond with an appropriate error message.
"Karl Roes" <ka******@hotmail.com> wrote in message news:7c**************************@posting.google.c om... Hi all,
I am after some suggestions on ways to gracefully respond to situations where the network goes down while the database is in use. It doesn't happen that often, but when it does, the UI freezes up for a short period and then displays a Windows msg - " can't find \\Server\Backend ......etc ".
Thank You
Karl
ka******@hotmail.com (Karl Roes) wrote: I am after some suggestions on ways to gracefully respond to situations where the network goes down while the database is in use. It doesn't happen that often, but when it does, the UI freezes up for a short period and then displays a Windows msg - " can't find \\Server\Backend ......etc ".
Actually it should hardly ever happen. The only time I've seen this happen is when
my previous laptops network card had a loose connection or when some idiot sys admin
took down a switch.
I'd be much more concerned with figuring out what causes this problem in the first
place. If only one or two computers then loose connections, etc. If a number then
the upstream hub or computer.
I don't see how you can gracefully recover from this as there is no error handling
available from the bound form logic in behind Access to which we don't have access.
Tony
--
Tony Toews, Microsoft Access MVP
Please respond only in the newsgroups so that others can
read the entire thread of messages.
Microsoft Access Links, Hints, Tips & Accounting Systems at http://www.granite.ab.ca/accsmstr.htm
Tony Toews <tt****@telusplanet.net> wrote in message news:<po********************************@4ax.com>. .. ka******@hotmail.com (Karl Roes) wrote:
I am after some suggestions on ways to gracefully respond to situations where the network goes down while the database is in use. It doesn't happen that often, but when it does, the UI freezes up for a short period and then displays a Windows msg - " can't find \\Server\Backend ......etc ".
Actually it should hardly ever happen. The only time I've seen this happen is when my previous laptops network card had a loose connection or when some idiot sys admin took down a switch.
I'd be much more concerned with figuring out what causes this problem in the first place. If only one or two computers then loose connections, etc. If a number then the upstream hub or computer.
I don't see how you can gracefully recover from this as there is no error handling available from the bound form logic in behind Access to which we don't have access.
Tony
Thank you all,
The information provided is invaluable.
I have thus created a new standalone server for the backend's and all
works well at this stage. (The datafiles were previously on a users
pc.)
I will now begin investigation into restricting folder access on this
new XP machine.
Regards
Karl
Be aware that your users will need create, modify, and delete rights on that
folder, in order to effectively implement shared access to the mdb.
HTH
- Turtle
"Karl Roes" <ka******@hotmail.com> wrote in message
news:7c*************************@posting.google.co m... Tony Toews <tt****@telusplanet.net> wrote in message
news:<po********************************@4ax.com>. .. ka******@hotmail.com (Karl Roes) wrote:
I am after some suggestions on ways to gracefully respond to situations where the network goes down while the database is in use. It doesn't happen that often, but when it does, the UI freezes up for a short period and then displays a Windows msg - " can't find \\Server\Backend ......etc ".
Actually it should hardly ever happen. The only time I've seen this
happen is when my previous laptops network card had a loose connection or when some
idiot sys admin took down a switch.
I'd be much more concerned with figuring out what causes this problem in
the first place. If only one or two computers then loose connections, etc. If a
number then the upstream hub or computer.
I don't see how you can gracefully recover from this as there is no
error handling available from the bound form logic in behind Access to which we don't
have access. Tony
Thank you all,
The information provided is invaluable.
I have thus created a new standalone server for the backend's and all works well at this stage. (The datafiles were previously on a users pc.) I will now begin investigation into restricting folder access on this new XP machine.
Regards
Karl
Thanks again,
Your suggestions helped me to delve deep into WinXP and set things up just nicely.
Regards
Karl
"MacDermott" <ma********@nospam.com> wrote in message news:<Jx*****************@newsread2.news.atl.earth link.net>... Be aware that your users will need create, modify, and delete rights on that folder, in order to effectively implement shared access to the mdb.
HTH - Turtle
"Karl Roes" <ka******@hotmail.com> wrote in message news:7c*************************@posting.google.co m... Tony Toews <tt****@telusplanet.net> wrote in message news:<po********************************@4ax.com>. .. ka******@hotmail.com (Karl Roes) wrote:
>I am after some suggestions on ways to gracefully respond to >situations where the network goes down while the database is in use. >It doesn't happen that often, but when it does, the UI freezes up for >a short period and then displays a Windows msg - " can't find >\\Server\Backend ......etc ".
Actually it should hardly ever happen. The only time I've seen this happen is when my previous laptops network card had a loose connection or when some idiot sys admin took down a switch.
I'd be much more concerned with figuring out what causes this problem in the first place. If only one or two computers then loose connections, etc. If a number then the upstream hub or computer.
I don't see how you can gracefully recover from this as there is no error handling available from the bound form logic in behind Access to which we don't have access. Tony
Thank you all,
The information provided is invaluable.
I have thus created a new standalone server for the backend's and all works well at this stage. (The datafiles were previously on a users pc.) I will now begin investigation into restricting folder access on this new XP machine.
Regards
Karl
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Kim Hamilton |
last post by:
Hello,
I'm using a C++ program to write out a file using sopen(). The file is
pointed to a network drive. Some times the network goes down, and the file
errors out. Is there
any way to spool...
|
by: Daniel |
last post by:
System.IO.StreamWriter Close or Flush method to shut down the computer in
such a way that just part of the file is written? or an empty file is
written? Also if the Close or Flush is to a...
|
by: MHenry |
last post by:
Hi,
We were going merrily along for 6 years using this database to record
all client checks that came into our office, including information
about what the checks were for.
Suddenly, network...
|
by: Corrine |
last post by:
Given a backend on a network server and a frontend on a local computer, when is
data pulled across the network? For example, does Rst.Recordcount pull data
across the network? How about...
|
by: Alan Pretre |
last post by:
I have an application installed at a customer site that has been getting a
general network error for a couple of years. I was hoping that .NET 2.0
would clear it up, but unfortunately it didn't. ...
|
by: Omar Abid |
last post by:
Hi,
I'm using my with a program to detect an internet connection.
It return true when I'm connected, but even when I 'm disconnected it
returns true
I don't know why ?
Thx
Omar Abid
|
by: Frank Millman |
last post by:
Hi all
This is not strictly a Python question, but as the system to which
relates is written in Python, hopefully it is not too off-topic.
I have an accounting/business application, written in...
|
by: Adrian |
last post by:
In a network I have a W98 PC that I want to close down from another PC in
the network. I have found out that the following command will close down the
W98 PC:
rundll32 krnl386.exe,exitkernel
...
|
by: maverickman4 |
last post by:
background/setup info:
so we have a network set up of about 23 computers including our server which is running windows 2003 standard. we have an incredible amount of traffic going to that server due...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
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...
|
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
|
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...
|
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: 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,...
|
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,...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
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...
| |