Results 1 to 12 of 12
  1. #1
    Sck is offline Advanced Beginner
    Windows 8 Access 2013
    Join Date
    Jul 2010
    Posts
    82

    Options for increased performance over VPN

    Over the past 10 years I have developed about 15 different Access databases for my company. they are all split databases (linked tables) with the backend on a corporate server and the frontend on local computers. this setup works fine for individuals on the LAN but there are a good number of users that have to use VPN to connect to the backend databases. The issue is that the databases are extremely slow over VPN (get a cup of coffee between updates slow)



    I have been asked to look into utilizing SharePoint or SQLserver to see if it would resolve any of the VPN issue. I don't know anything about using Access with SharePoint. My initial thought is that the issue is not the database it is just the VPN speed. Just moving files over the VPN is slow so a different backend setup is not going to make a major difference.

    I have gone through a couple of the frontends to try to limit data transfers to only when needed but it did not make any major difference in performance.

    Any thoughts on options to help VPN performance? I can get approval to do whatever is needed but I really do not want to consider rewriting all of frontends if posable.

    ADDITIONAL INFORMATION: The databases were all developed in Access 2013 (32 bit) and earlier with significant VBA coding. I am in the process of adjusting code to work in the corporate standard of Access 2016 (64bit) - not my call on that one!!

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,524
    no much you can do.
    VPN sucks a lot of performance.

  3. #3
    June7's Avatar
    June7 is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,902
    Why would company adopt Access 64bit as standard??? Review https://www.devhut.net/2017/04/13/ac...compatibility/
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  4. #4
    Sck is offline Advanced Beginner
    Windows 8 Access 2013
    Join Date
    Jul 2010
    Posts
    82
    I have no clue but that is not something I can fight, I just have to live with it. In a large multinational company, decisions like that are well above my paygrade.....

  5. #5
    Micron is offline Virtually Inert Person
    Windows 10 Access 2016
    Join Date
    Jun 2014
    Location
    Ontario, Canada
    Posts
    12,793
    I can get approval to do whatever is needed
    I not a betting man so I hesitate to take that one on. I think your solution needs to be terminal services or Citrix. In either case, the actual fe would reside locally and be accessed from elsewhere. I'm not sure if ts fits a "I'm in another city" type of scenario but Citrix would. I've used it from home to access fe on network and found the response to be quite acceptable. That's saying something, given that traffic had to go through my router, then ISP router before getting to the work network. AFAIK, SharePoint and Access is no longer considered to be the best thing since sliced bread if you ask M$oft.
    The more we hear silence, the more we begin to think about our value in this universe.
    Paraphrase of Professor Brian Cox.

  6. #6
    Sck is offline Advanced Beginner
    Windows 8 Access 2013
    Join Date
    Jul 2010
    Posts
    82
    would terminal services over vpn be a viable option? if I understand correctly, using
    terminal services means that the actual data is not traveling over the vpn which should solve the issue. What other "issues" should I be concerned with?

    Is this correct -

    FE will be on a LAN computer with the BE on the server.
    this FE would connect to the BE via LAN.
    the terminal services would allow remote "VPN" users to access the FE and only the display type data would go over VPN to their remote pc.

    Would each remote user have their own instance of the FE if multiple users were on at the same time using
    terminal services
    .

    As you can tell, I have never dealt with terminal services …..


  7. #7
    Micron is offline Virtually Inert Person
    Windows 10 Access 2016
    Join Date
    Jun 2014
    Location
    Ontario, Canada
    Posts
    12,793
    My knowledge about ts is limited to that of being a user. You get a monitor, keyboard, mouse and a little black box - no pc. What you interact with is really an image on the monitor. Everything is on the server - apps, files, network & what passes for your C drive. In a multiple server environment, it's possible to lose you shortcuts and such if not set up right as there's no guarantee that you log onto the same server each time. Don't know if there's a need for a vpn in a ts case because I don't understand what's going back and forth between the user and the server. Is it just image data or what? Hope that helps at least a bit with those questions. Citrix wouldn't require a big hardware purchase and configuration that you probably don't have.

  8. #8
    Join Date
    Apr 2017
    Posts
    1,679
    You have Terminal Server in your LAN;
    You have Access installed for your Terminal Server Users;
    You have BE on shared resource (database server with folder system available for users according their rights) in your LAN;
    You have all users working with your database (directly, or over VPN) registered as domain users. They must have RW rights for folder with BE in it;
    For every user working with DB over VPN, you have user profile in Terminal Server;
    Every user working with DB over VPN has FE in his/her Terminal Server Profile folders (Desktop or Documents), or on some other network resource accessible for him/her. Every user has his/her own FE, and using FE of another user (when it is accessible too) is frowned upon.

    User sets up VPN connection in remote laptop/computer, and logs in. Now his/her computer is linked with LAN;
    User logs in into Terminal Server in LAN, and can start with work.
    (Depending how the VPN connection is set up, last 2 steps may be merged - Opening VPN connection in remote computer forces connection to Terminal server automatically.)

    Users residing in LAN may have their FE's in their computers, but they also can open Terminal Server session, and open DB from there,

  9. #9
    Micron is offline Virtually Inert Person
    Windows 10 Access 2016
    Join Date
    Jun 2014
    Location
    Ontario, Canada
    Posts
    12,793
    Don't they need delete permission on the folder as well? Otherwise they leave lock file behind?

  10. #10
    Minty is offline VIP
    Windows 10 Access 2016
    Join Date
    Sep 2017
    Location
    UK - Wiltshire
    Posts
    3,003
    @Micron - Not sure they do - I believe the application can effectively override the permission issues as it write / deletes the file.

    Pretty sure I have had Access open a lock file on a read-only folder before. (When some numpty tried to open the network master copy of a Front End even though they only had read permissions....)
    DLookup Syntax and others http://access.mvps.org/access/general/gen0018.htm
    Please use the star below the post to say thanks if we have helped !
    ↓↓ It's down here ↓↓

  11. #11
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    I have a couple of applications that run pretty well over a VPN (I have SQL Server as a back end). You have to be REALLY careful about what goes back and forth. You can't just open a form bound to a table with a lot of records. I had unbound forms where the user would enter parameters, then I'd go get the single record they were looking for.

    The suggestions to use Citrix/TS are certainly more flexible options if feasible for you. Another option is virtual machines that users remote into, if you have an environment that uses them. We just did that for 3 remote users.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  12. #12
    Micron is offline Virtually Inert Person
    Windows 10 Access 2016
    Join Date
    Jun 2014
    Location
    Ontario, Canada
    Posts
    12,793
    Pretty sure I have had Access open a lock file on a read-only folder before
    Sure, but that's not what I'm saying. If a user attempts to open db and they left the lock file there, depending on Access settings, they can be prevented from opening it. Can't recall what the factors were that came in to play, but I've seen this happen where users weren't given delete permissions on a folder and somebody couldn't open db because there was a left over lock file.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Auto Increased Value
    By vazdajic in forum Programming
    Replies: 3
    Last Post: 07-19-2017, 07:40 AM
  2. Replies: 6
    Last Post: 12-16-2012, 08:43 AM
  3. Query Performance
    By bginhb in forum Queries
    Replies: 2
    Last Post: 03-29-2012, 10:22 AM
  4. Query Performance
    By GBa in forum Queries
    Replies: 3
    Last Post: 01-03-2012, 03:33 PM
  5. db Performance Over Network
    By dbuck in forum Access
    Replies: 2
    Last Post: 09-20-2010, 09:58 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums