Results 1 to 8 of 8
  1. #1
    polbit is offline Novice
    Windows 7 64bit Access 2010 32bit
    Join Date
    Jul 2014
    Posts
    4

    File Not Found error

    Hello everyone, new member here...



    I've created an application in Access 2010 with a back-end and user-level security via workgroup file. The application has 12 users, the back-end is on a network share, and everyone has the front-end installed locally. Everything has been working great until today, when I made a small change and installed it on users' machines. Suddenly, one and only one user is getting the File Not Found error (53) whenever he opens the database, and all form buttons produce the same result.

    Any idea what could be causing it, and what I can do to fix it?

    Thanks!

  2. #2
    rpeare is offline VIP
    Windows XP Access 2003
    Join Date
    Jul 2011
    Posts
    5,442
    did you check the linked tables to make sure they were properly connected? Maybe this person has a different drive mapped than everyone else? maybe his connection was terminated and access can't find the back end? is there any code referring to an external file? For instance are you trying to re-establish a link to a text file etc?

    The file not found error means pretty much exactly that. Usually I have seen this when I am trying to process a text file and have typed in or calculated a file name or folder name incorrectly.

  3. #3
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,524
    Make sure all linke paths use full UNC paths ( \\myserver\dir1\dir2\file.txt )
    and not drive letters. (F:\dir2)

  4. #4
    polbit is offline Novice
    Windows 7 64bit Access 2010 32bit
    Join Date
    Jul 2014
    Posts
    4
    Quote Originally Posted by rpeare View Post
    did you check the linked tables to make sure they were properly connected? Maybe this person has a different drive mapped than everyone else? maybe his connection was terminated and access can't find the back end? is there any code referring to an external file? For instance are you trying to re-establish a link to a text file etc?

    The file not found error means pretty much exactly that. Usually I have seen this when I am trying to process a text file and have typed in or calculated a file name or folder name incorrectly.
    Yes, I checked the network path on his machine, and it's mapped the same as all other. It was working fine on his machine until I copied a newer version, and the only change I made was handling of MS Outlook not being open.

    It opens up fine when I hold Shift down, however any form I try to open or any button I try to click, it gives the same error message. Also, by default the main form shows the environ user - on his it just shows #name?... And it's not being caught by my error handling, but it's a generic pop up.

    I'm really not sure what to do, other than trying to rebuild it from scratch, but it is working for everyone else...

    Chris

  5. #5
    polbit is offline Novice
    Windows 7 64bit Access 2010 32bit
    Join Date
    Jul 2014
    Posts
    4
    Quote Originally Posted by ranman256 View Post
    Make sure all linke paths use full UNC paths ( \\myserver\dir1\dir2\file.txt )
    and not drive letters. (F:\dir2)
    I changed all the linked tables to UNC paths, unfortunately that did not fix the issue...

    Chris

  6. #6
    ItsMe's Avatar
    ItsMe is offline Sometimes Helpful
    Windows 7 64bit Access 2010 32bit
    Join Date
    Aug 2013
    Posts
    7,862
    Post up your Environ code.

  7. #7
    polbit is offline Novice
    Windows 7 64bit Access 2010 32bit
    Join Date
    Jul 2014
    Posts
    4
    Public Function getCurrentUser() As String
    getCurrentUser = Application.currentUser
    End Function

  8. #8
    rpeare is offline VIP
    Windows XP Access 2003
    Join Date
    Jul 2011
    Posts
    5,442
    if you're trying to get the user name application.currentuser will get their permission level I think (as it's set up on the server) at least it does on mine, have you tried

    environ("username")

    instead?

    I am assuming you want the user name not their permission.

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

Similar Threads

  1. Error importing Excel file re search key not found
    By pcbrush in forum Import/Export Data
    Replies: 1
    Last Post: 10-03-2013, 03:19 PM
  2. Intercepting error codes like 2220, file not found
    By justphilip2003 in forum Programming
    Replies: 4
    Last Post: 04-21-2013, 11:33 AM
  3. Replies: 7
    Last Post: 06-08-2012, 09:55 PM
  4. Docmd.TransferText Spec File Not Found
    By Patrick.Grant01 in forum Programming
    Replies: 7
    Last Post: 05-22-2012, 09:32 AM
  5. "File Not Found" error
    By jgelpi16 in forum Programming
    Replies: 5
    Last Post: 04-21-2011, 10:17 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