Results 1 to 4 of 4
  1. #1
    uoghk is offline Competent Performer
    Windows 10 Office 365
    Join Date
    Jan 2022
    Posts
    149

    ODBC connection fail in remote computer

    I use Link Manager to connect SQL Server in my local computer.
    My Access program works fine to retrieve/update the SQL database.
    On another computer, I map the folder of my Access program as a network drive Z:.
    I want the user open Z: drive, then double click my Access program to run it.
    But I get error : 3151 ODBC connection to ODBC Driver 17 for SQL Server mysql2019server failed.
    mysql2019server is my local computer name.


    I create ODBC Data Source in Control Panel and I success to connect to mysql2019server.

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,550
    Do NOT map linked files with drive letters.
    always use full UNC paths: \\server\folder\file.accdb

  3. #3
    uoghk is offline Competent Performer
    Windows 10 Office 365
    Join Date
    Jan 2022
    Posts
    149
    don't understand using full UNC path.
    In File Explorer, i type the full UNC path to open the Access program.
    It gets the same error.

  4. #4
    Minty is offline VIP
    Windows 10 Office 365
    Join Date
    Sep 2017
    Location
    UK - Wiltshire
    Posts
    3,157
    The Access program should be a front end on the the local computer, not on a network drive.

    Then use a UNC path to link to the back end data.
    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 ↓↓

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

Similar Threads

  1. Replies: 1
    Last Post: 06-25-2018, 04:15 PM
  2. Replies: 3
    Last Post: 04-25-2018, 10:32 AM
  3. Connection lost from mysql remote odbc with MS Access
    By zeeshanaslamdurrani in forum Code Repository
    Replies: 1
    Last Post: 02-21-2016, 07:13 AM
  4. Remote Desktop Connection Broker connection string
    By Philosophaie in forum Access
    Replies: 1
    Last Post: 09-14-2015, 03:51 PM
  5. Replies: 5
    Last Post: 10-25-2011, 08:01 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