Go Back   TechArena Community > Software > Software Development
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read

Reply
 
Thread Tools Search this Thread
  #1  
Old 14-05-2009
Member
 
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?
Reply With Quote
  #2  
Old 14-05-2009
Member
 
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.
Reply With Quote
  #3  
Old 14-05-2009
Member
 
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.
Reply With Quote
Reply

  TechArena Community > Software > Software Development
Tags: ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Runtime Error 3051"
Thread Thread Starter Forum Replies Last Post
Using Internet Explorer gives Microsoft Visual C++ Runtime Library Runtime Error Abejar Windows Software 3 22-04-2009 11:02 PM
Microsoft Visual C++ Runtime Library... Runtime Error Joko Software Development 2 17-02-2009 09:52 PM
Microsoft Visual C++ Runtime Library Symantec Runtime error Ranchero Windows XP Support 8 27-09-2008 09:08 AM
Microsoft Visual C++ Runtime Library - Runtime Error Leythos Windows XP Support 3 01-10-2007 11:45 PM
HELP!!! Microsoft Visual C++ Runtime Library - Runtime Error Jay Windows XP Support 6 14-11-2006 03:37 PM


All times are GMT +5.5. The time now is 01:49 AM.