Results 1 to 3 of 3

Thread: Runtime Error 3051

  1. #1
    Join Date
    Mar 2008
    Posts
    433

    Runtime Error 3051

    Hello, everybody.

    Under Windows XP, I can not open the database of a system created in VB, unless the screen of the administrator. Other users receive the following message when trying to access the tables of the application: <Run-time error'3051 '- The Microsoft Jet database engine can not open the file' file name '. It is already open exclusively by another user, or you need permission to view it's data ...

    As the program is not open in exclusive mode by another user, then left to allow other users can view / change the data in the same computer.

    What the instruction necessary to allow access by other Windows users?

  2. #2
    Join Date
    Dec 2007
    Posts
    493

    Re: Runtime Error 3051

    Hello,

    This error is easy to solve, in XP Professional and Windows Vista. It is the following, which you spoke, the User Administrator runs cool, does not run when another User, then the permissions of the folder where the database is not give chance to change the files.

    You should go in this folder in the Sharing and Security option, and put the folder with full control for everyone.

  3. #3
    Join Date
    May 2008
    Posts
    317

    Re: Runtime Error 3051

    Hi,

    Check the following things :
    • Check whether this file is on a network or someone must have open it, if you have the database opened, then VB won't be able to open it.
    • Check the Permissions/Attributes on the file. A file marked Read Only will generate this error.
    • Right click on file - go to properties - Disable the Read Only by clicking Apply to remove the Read Only Attribute.

Similar Threads

  1. Replies: 3
    Last Post: 22-04-2009, 11:02 PM
  2. Microsoft Visual C++ Runtime Library... Runtime Error
    By Joko in forum Software Development
    Replies: 2
    Last Post: 17-02-2009, 09:52 PM
  3. Microsoft Visual C++ Runtime Library Symantec Runtime error
    By Ranchero in forum Windows XP Support
    Replies: 8
    Last Post: 27-09-2008, 09:08 AM
  4. Microsoft Visual C++ Runtime Library - Runtime Error
    By Leythos in forum Windows XP Support
    Replies: 3
    Last Post: 01-10-2007, 11:45 PM
  5. Replies: 6
    Last Post: 14-11-2006, 03:37 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,751,717,789.60896 seconds with 16 queries