Results 1 to 4 of 4
  1. #1
    virgilio is offline Advanced Beginner
    Windows 10 Access 2016
    Join Date
    Nov 2019
    Posts
    81

    Access databases on a mapped network drive generates run time error 3044 first time

    One of my Access databases that is on a mapped network drive generates run time error 3044 when I connect to it for the first time.

    The full error is

    Run-time error '3044':
    'G:\path\to\file' is not a valid path. Make sure that the path name is spelled correctly and that you are connected to the server on which the file resides.

    This error is easily overcome by opening file explorer and clicking the mapped drive, which defaults to disconnected with a red 'x' so that it turns green.



    Is there anyway to make Access open that connection when file opens without having to go to explorer and click into it first?

  2. #2
    Micron is offline Very Inert Person
    Windows 10 Access 2016
    Join Date
    Jun 2014
    Location
    Ontario, Canada
    Posts
    13,372
    clicking the mapped drive, which defaults to disconnected with a red 'x' so that it turns green.
    You make that sound like a Windows problem if the user is losing a connection to a network drive. However if the issue is the drive letter because all users are not mapped to G then use UNC path instead: \\serverName\folder1\folder2...
    The more we hear silence, the more we begin to think about our value in this universe.
    Paraphrase of Professor Brian Cox.

  3. #3
    June7's Avatar
    June7 is online now VIP
    Windows 10 Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,648
    Determine why drive does not connect automatically and resolve. Did you web search topic?

    https://sacomedia.com/solved-windows...-reconnecting/

    https://answers.microsoft.com/en-us/...7-d49e3bb5899d

    Or as Micron suggested, use UNC path in database connections. Is this involving linked table object? Can set links by navigating through Network or use VBA to set links with UNC path. https://stackoverflow.com/questions/...66065#66866065
    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
    virgilio is offline Advanced Beginner
    Windows 10 Access 2016
    Join Date
    Nov 2019
    Posts
    81
    Thanks for your responses. I got called to a different project and probably won't be able to address this before Friday.

    I'll try June's suggestion of setting the source to full UNC in VBA.

    I'll mark as solved but maybe re-open it if related issues persist.

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

Similar Threads

  1. Run-time error '3044'
    By MarkMcAllister in forum Forms
    Replies: 3
    Last Post: 05-07-2015, 06:25 PM
  2. Mapped network drive used, away from home
    By Cleave_1b in forum Misc
    Replies: 2
    Last Post: 12-26-2014, 04:07 PM
  3. Replies: 3
    Last Post: 05-21-2013, 05:48 AM
  4. Run-time error '3044'
    By niacin in forum Programming
    Replies: 3
    Last Post: 03-31-2012, 09:26 AM
  5. Run-Time Error 3044 - Invalid Path?
    By KrenzyRyan in forum Import/Export Data
    Replies: 8
    Last Post: 01-19-2011, 10:03 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