473,411 Members | 2,530 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,411 software developers and data experts.

Getting around a lock file

I have an Access 2003 database that is used by around sixty users.
Routinely I can't gain access, even late at night after I KNOW that no
one is using it. The database is stored on a server that is accessed
through a Citrix environment. I've implemented an inactivity timer
that still doesn't seem to get the job done.

Any ideas?
Jan 25 '08 #1
3 2674

"sh*********@gmail.com" <sh*********@aol.comwrote in message
news:5e**********************************@v67g2000 hse.googlegroups.com...
I have an Access 2003 database that is used by around sixty users.
Routinely I can't gain access, even late at night after I KNOW that no
one is using it. The database is stored on a server that is accessed
through a Citrix environment. I've implemented an inactivity timer
that still doesn't seem to get the job done.

Any ideas?
In a Citrix environment, if a user disconnects without logging out the
application continues to run. That's one of the reason you can use an Access
application over WAN with Citrix. The application may be open when no users
are connected. If your serve is set to end the session, it may not delete
the lock file.
Jan 25 '08 #2
On Fri, 25 Jan 2008 12:47:31 -0800 (PST), "sh*********@gmail.com"
<sh*********@aol.comwrote:

MSFT has an LDB viewer that can give you insights into who still has
the app open (according to Access).
Also, Windows can give you some info: My Computer Manage Shared
Folders Open Files.
Inactivity timers are nice, but not foolproof. For example they won't
close the app when a MsgBox is showing.

-Tom.

>I have an Access 2003 database that is used by around sixty users.
Routinely I can't gain access, even late at night after I KNOW that no
one is using it. The database is stored on a server that is accessed
through a Citrix environment. I've implemented an inactivity timer
that still doesn't seem to get the job done.

Any ideas?
Jan 26 '08 #3
On Jan 25, 3:47*pm, "shayvill...@gmail.com" <shayvill...@aol.com>
wrote:
I have an Access 2003 database that is used by around sixty users.
Routinely I can't gain access, even late at night after I KNOW that no
one is using it. *The database is stored on a server that is accessed
through a Citrix environment. *I've implemented an inactivity timer
that still doesn't seem to get the job done.

Any ideas?
I had this problem a few years back. If you're an admin, you have
recourse. If you're an end user, your voice won't be heard.

What I did was write a small script to log users onto the
application. When a user logs on, I write their name and time logged
on into a table. When they exit the application, I write their time
they logged off. If users logged on and didn't log off before leaving
for the night, I reported it to my manager, who would then verbally
abuse and threaten with a written warning anyone whom I reported. If
they were logged in when I needed access at night, I reported the
same. After a week or so of this, I was home free.

I originally used a boot function to kick everyone off, but Citrix
prevented it from being useful.

The biggest problem is users who don't close their applications at
night since they know they're running on a server that will stay on.
Make your manager beat it into people that connections MUST be closed
and you won't have the problem.
Jan 29 '08 #4

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

Similar topics

14
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 +...
2
by: wheresjim | last post by:
I have a project in which I only need read access to a Microsoft Access database (.mdb file) via JDBC and unfortunately, the file is frequently locked by another application when I need access...
16
by: akantrowitz | last post by:
In csharp, what is the correct locking around reading and writing into a hashtable. Note that the reader is not looping through the keys, simply reading an item out with a specific key: If i...
23
by: Anders Borum | last post by:
Hi! I am implementing a threaded producer / consumer pattern just for fun. I am using an internal counter to keep track of the produced / consumed items and am logging that information. I am...
8
by: garyusenet | last post by:
Program is witten in C++ and runs on my windows xp computer. It is a game, but I have been struggling with this project for weeks now so would appreciate some help - although I understand what i'm...
18
by: Zytan | last post by:
I have multiple threads writing to WebBrowser (using a function that checks InvokedRequired, and if so, invokes itself on the WebBrowser thread) and they are getting deadlocked. They only...
5
by: pgdown | last post by:
Hi, I have several processes accessing files from one folder, but only one process should ever access each file. Once one process has the file, no other process should be allowed to access it,...
2
by: WingSiu | last post by:
I am writing a Logging util for my ASP.NET application. I am facing mulit process problem. I developed a class LogFactory, and have a method called Get_Logger to create a FileLogger, which will...
11
by: Nikolaus Rath | last post by:
Hello, I need to synchronize the access to a couple of hundred-thousand files. It seems to me that creating one lock object for each of the files is a waste of resources, but I cannot use a...
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
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,...
0
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...

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.