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

Forced out of LAN into WAN

For over a year, I had been running three Access/Jet FE/BE setups, identical
but separate, in three district offices over the district LANs, and all was
well. Response was for the most part snappy, and the errors that cropped up
were mostly due to coding issues that I was aware of, but just hadn't gotten
to fixing. The file servers were three spare PCs.

I was delighted to find two weeks ago that all of the outdated PCs were to
be replaced with brand spanking new ones, including the PCs used as servers,
as spot replacements had shown to vastly improve the performance of the app,
and errors were most often reported from the users of the oldest and slowest
PCs (Dell Optiplex 110GX w/128 MB).

To my horror, the IT people informed me that local PCs would no longer be
permitted to share folders. The BE mdb files would have to be moved to a
server on a WAN many miles away.

After making some minor adjustments, the app was back in operation - but
now, despite the new PCs, performance on any save or fetch operation has
degraded from near instant, to a 1-10 second wait, depending on network
traffic (doing work after hours, performance is only slightly slower than
before). Errors are more frequent, about as often as were happening before
with those using the slowest PCs - but now rather than just a few users,
all users are affected. Initial startup for the app is the most affected -
it has gone from [slow to snappy depending on PC] to abyssmal. Most of this
can be fixed, I believe, by being more judicious in the timing of updates to
FE tables from the BE - over the LAN, I had updated often, even though the
large table of cities/zip codes might receive only one new city/zip code per
day. It was simply not an issue over the LAN.

Of course, the solution is changing the BE to SQL Server, however, this all
caught me by surprise, and it may be three months or more, in the best case,
before the app can be fully converted. In the meantime, I need to decrease
errors caused by timed-out connections, and minimize traffic over the WAN in
any way that I can.

Generally, the setup is this: most operations are done with one offender at
a time. An offender is represented by several tables, which are bound to
the respective FE forms. When an offender is selected to work on, existing
records for the old offender are cleared from the FE, and records from all
tables concerning the new offender are copied using ADO from the BE to the
identically structured tables in the FE, the local tables being the ones
bound to the forms. Changes to each form/table for that offender are saved
only on pressing the Save button or switching to a new form.

The following is a snippet of the load function for an offender (actually
about 20 tables).

Dim cnxn As ADODB.Connection
Set cnxn = CurrentProject.Connection
SetOffenderID id
ClearTables
With cnxn
.Execute "INSERT INTO offender " & _
"SELECT * FROM offender IN \\server\odis.mdb " & _
"WHERE offender_id=" & id, , adCmdText
.Execute "INSERT INTO photo " & _
"SELECT * FROM photo IN \\server\odis.mdb " & _
"WHERE photo_off_id=" & id, , adCmdText
.Execute "INSERT INTO address " & _
"SELECT * FROM address IN \\server\odis.mdb " & _
"WHERE deleted = False AND add_off_id=" & id, ,
adCmdText
End With
I don't know what advice I'm looking for - certainly few would voluntarily
put themselves in my predicament, so few would/should have experience with
Jet-over-WAN, but perhaps something creative? I don't want to do too many
changes on the short term solution, as I prefer to spend the bulk of my time
on the long term solution of switching to SQL Server, but I'm open to
suggestions ...

--
Darryl Kerkeslager

Power corrupts.
Absolute power corrupts absolutely.
Knowledge is power.
See www.adcritic.com/interactive/view.php?id=5927
Nov 13 '05 #1
0 976

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

Similar topics

1
by: dany | last post by:
I want a forced PDF-download but all that header-stuff is new for me.... I wrote a little asp-script: <% Filename = "download.pdf" response.addheader "content-disposition","attachment;...
2
by: Gary D. Rezek | last post by:
Hi All, First of all I'm mostly an MS Access guy (and novice learning MSSQL guy) and put on this project because of personnel changes, etc and because of db experience. I've only been doing this...
5
by: Harry | last post by:
CSS Description: Table contains a column of td cells with links. Achieved: 1. Entire link cells highlight when hovered. 2. The entire area of these cells are clickable. Problem:
2
by: Steve Schlesinger | last post by:
In the following code I do a forced downcast of an A object to its derivative B If I declare all member variables in A and only add member functions in B, will this always work? The test...
5
by: Richard | last post by:
Hi, I'm writing an MS Outlook 2000 Addin in C#. I have created C# classes that monitor folder events and do other business logic. Things work fine until I want to exit Outlook. When I exit...
5
by: fbwhite | last post by:
I know this issue has been brought up many times, but I have tried many of the solutions to no avail. I wanted to give my specific case to see if someone could be of any help. We are using the...
2
by: comp.lang.php | last post by:
if ($forceDownload) { // HANDLE FORCED DOWNLOAD $dlGen =& new DownloadGenerator($fullFilePath); $negativeIndex = $dlGen->generateForceDownloadHeaders(); $willDeleteTemp =...
14
by: Simon Rigby | last post by:
Hi folks, I appreciate that this topic of forced downloads has been discussed in various threads but my situtation is a little different to those that I have come across and am experiencing a...
5
by: PooFlinger1 | last post by:
I am writing an application which will install a number of updates (silently) as well as installing Norton and Spysweeper silently. Problem is that after spysweeper installs, it performs a forced...
0
jeffstl
by: jeffstl | last post by:
After enabling forced protocol encryption on SQL server there are a handful of crystal reports that have the following error when you try to run them Query Engine Error: '08S01:Communication link...
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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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?
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.