473,568 Members | 2,738 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Could Not Lock File Error 3050

El
Network users with read-only access are getting this error message when
another user is in the database. Any suggestions on how to fix this
problem??
Thanks!

Jan 6 '06 #1
1 19482
I suspect Access is attempting to open the database (or ldb) with write
access, and of course that is failing.

What happens if you open the database from a shortcut that uses the /ro
switch to explicitly open it read-only?

Example target for the shortcut:
"C:\Program Files\Microsoft Office\Office\M SACCESS.EXE" "C:\MyFile. mdb"
/ro

(Another possibility is that the original use has the database open
exclusively.)

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"El" <em*@iastate.ed u> wrote in message
news:11******** **************@ g43g2000cwa.goo glegroups.com.. .
Network users with read-only access are getting this error message when
another user is in the database. Any suggestions on how to fix this
problem??
Thanks!

Jan 6 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
16155
by: Jim Andersen | last post by:
Version 2000. How do I do something like the example SELECT * FROM OpenDataSource( 'Microsoft.Jet.OLEDB.4.0', 'Data Source="c:\Finance\account.xls";User ID=Admin;Password=;Extended properties=Excel 5.0')...xactions but use a .txt-file instead ?
4
447
by: Programmer | last post by:
Hi everyone Well here is my problem I hope you can help me
2
2499
by: Gacu | last post by:
Hi, An unhandled exception of type 'System.TypeLoadException' occured in system.dll Additional information: Invalid PInvoke metadata format Im getting this error afrer calling myConnection.Open(); Im connecting to Firebird database (im trying in fact) I don't know whats wrong :( Please Help.
3
4532
by: Daniel Billingsley | last post by:
Today I went to compile a solution I've been working on for months. I've been off most of the last few months, so there's been a gap in the work, but I did compile it a few times earlier this week. Today I get a message: Could not write to output file 'D:\DevelopmentProjects\Enterprise\CustomUtilities\obj\Debug\CustomUtilities ..dll' --...
1
1241
by: TechniCT | last post by:
I am very new to working with Visual Studio, and I am trying to display information from a MS Access database in an asp webform. The adapter, connection, dataset, and datagrid setup have been no problem. I am even able to preview the information, and it is correct. When I build I get no errors, but when I run I am getting a server error,...
14
3811
by: Gary Nelson | last post by:
Anyone have any idea why this code does not work? FileOpen(1, "c:\JUNK\MYTEST.TXT", OpenMode.Binary, OpenAccess.ReadWrite, OpenShare.Shared) Dim X As Integer For X = 1 To 26 FilePut(1, Chr(X + 64)) Next Lock(1, 5, 10)
0
1163
by: El | last post by:
Users on the network with read-only access are recieving this error (Could Not Lock File Error 3050) when trying to open the database when another user is currently using the database. Any idea how to solve this problem?? Thanks!!
4
1440
by: David Veeneman | last post by:
Is there any way to forcibly release a lock on a text file, so that it can be deleted? I am testing an order-processing site that saves transaction information in a text file that it attaches to its merchant notification. In most cases, it works fine, but occasionally a lock on the text file won't get released. When the next transaction...
11
4999
by: fniles | last post by:
One of our application uses VB6 and Access97 database. Another application uses VB.NET 2005. This morning for about 15 seconds when the application tries to read either a query or a table from the database, in in both VB6 and VB.NET applications, I got the error "The Microsoft Jet database engine cannot find the input table or query...
0
791
by: subhash123 | last post by:
no error mesage come for print related , but say print successfully but there is not print any pages, my code for print is String pathToExecutable = @"C:\Program Files\Adobe\Reader 4.0\Reader\AcroRd32.exe"; String s1Reports = @"" + pdfPath; String SPrinter = @"\\Server\HP LaserJet 3050 Series PCL 6"; ...
0
7916
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8117
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
7962
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6275
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5498
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5217
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3651
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
1
2101
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
0
932
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.