473,378 Members | 1,104 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

Delete The .Lck File In Access2003 in Multiuser Environment

I created an access in access2003 , its being used in multiuser environment ..based on a particular value the database is
automatically closed and only i can change the value. Even after the database is closed the .ldb file exist .. Now I tried your code die.cfm from the following website http://evolt.org/node/3644 , not very sure how to use it , because with the .cfm extension its not getting executed , can you suggest how can i get it executed ?, Or should I create a false query within the database so that it throws the error , but then while running the query I have to login to the database that will create the lock file .. The os used is Win Xp and the file is placed on a common shared drive
Oct 25 '07 #1
4 2126
nico5038
3,080 Expert 2GB
The die.cfm is a ColdFusion file and can't be executed from Access.
The fact that a .ldb file resides after the database closure is no real problem.
It's very small and will always be re-created when the database is started again and it's missing, else it's re-used.

When you have a locking problem, there are other things to consider.

Nic;o)
Oct 25 '07 #2
The problem that I am facing is I can not make any changes to the design if the .lck file is there .. I can copy the main database to a different location and do the required changes , but after making the changes I will not be able to replace the original file as Its being used and locked by the .lck file , at the same time I cannot provide a new database name to the 70users who are using it !.
Oct 25 '07 #3
nico5038
3,080 Expert 2GB
The .ldb file can be deleted when no other users are using the database.
When the .ldb file can't be deleted in the explorer, then at least one user is still active..

The moment a user (or VBA code!) changes e.g. a form into design mode, the database will be locked exclusively for that user.

Did you already split the .mdb into a front-end and a back-end ?

Nic;o)
Oct 25 '07 #4
Yes the ldb file can be there because of two reasons one as you mentioned when any user is logged in and 2nd when all users have logged out but the database was not closed properly , so the ldb file was not deleted automatically . Now in the same database I have got forms as Front end .
Oct 26 '07 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

9
by: Lauren Quantrell | last post by:
Hoping someonce can tell me what compatibility problems I might run into when I have to have my Access Project developed on Access2K run in a user environment where users are using Access2003 as...
18
by: Andre Laplume via AccessMonster.com | last post by:
I have inherited a bunch of dbs which are are shared among a small group in my dept. We typically use the dbs to write queries to extract data, usually dumping it into Excel. Most dbs originated...
2
by: Trygve Lorentzen | last post by:
Hi, we are in these days deploying a .NET windows app. The exe file is meant to be self-updating (custom built logic) by downloading newer versions when a new version is built. There is a...
8
by: DavidB | last post by:
I'm trying to delete a file with File.Delete("c:\Documents and Settings\%username%\Application Data\Microsoft\Excel\excel*.xlb") On doing this I get an Exception "Illegal characters in path" -...
3
by: philip | last post by:
hello i am new to asp.net and sql server 2005 programming. i am wondering how to code asp.net to prevent multiuser from modifying a share data (on sql server) at the same time. should i do some...
1
by: RB | last post by:
Hi All, I'm trying to use more data-adapters/data-sets in a project, because they are so awesome! Anyhoo, I want to use them with Stored Procedures, rather than raw SQL text. The hard part of...
6
by: lukethegooner | last post by:
I would appreciate any comment. I want MS Access to act as a reporting tool accessing Oracle tables. The Oracle database is populated by another database application, but this application...
1
by: Mike TI | last post by:
April 25, 2008 Hi all (VB Net 2008) I am populating a grid through a dataset. Now in a multiuser environment how do I show records added and updated by others. Do I have to fill the grid...
0
by: raamay | last post by:
I am new to VB.Net but since i have a good experience in VB6(having developed 2 to 3 desktop applications), i find no problem coping with the new environment at this stage. Well, i am planning to...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.