Sign Up |  Live StatsLive Stats    Articles 35,345| Comments 159,790| Members 17,820, Newest waheguruhelpme| Online 203
Home Contact
 (Forgotten?): 
    Sikhism

   
                                                                     Your Banner Here!    

Sikh Philosophy Network » Sikh Philosophy Network » Current Affairs » Information Technology » How do I kill user connections to an Access Database?

How do I kill user connections to an Access Database?

Our Donation Goal : Why Donate? : Donate Today! : Donate Anonymously (ਗੁਪਤ) : Our Family of Supporters
Goal this month: 400 USD, Received: 35 USD (9%)
Please Donate...
Related Topics...
Thread Thread Starter Forum Replies Last Post
Multiple User Access to a database Ken Mechail Information Technology 3 28-Jul-2006 08:31 AM
database connections kurtoakley Information Technology 1 28-Jul-2006 08:19 AM
I have a database that, for one user only, read-only and I can't ELC Information Technology 3 28-Jul-2006 08:04 AM
How do I trace down user of Access database? dwz Information Technology 1 13-Nov-2005 17:33 PM


Tags
kill, user, connections, access, database
Reply Post New Topic In This Forum Stay Connected to Sikhism, Click Here to Register Now!
  #10 (permalink)  
Old 28-Jul-2006, 08:36 AM
Darren's Avatar Darren
Guest
 
Posts: n/a
   
   
Re: How do I kill user connections to an Access Database?

  Donate Today!   Email to Friend  Tell a Friend   Show Printable Version  Print   Contact sikhphilosophy.net Administraion for any Suggestions, Ideas, Feedback.  Feedback  

Register to Remove Advertisements
How do you see who is logged in? That would work, but i assumed there was no
way to do that. I come from a SQL Server background, so I know the commands
for SQL.

"Albert D.Kallal" wrote:

> Actually, this might sound silly, but the way you do this is to ask all
> users to log out....
>
> You can actually go into the server, and display who has the file opened,
> and actually CHOP the user....
>
> However, doing the above is nearly the same as un-plugging the machine while
> the user is working. So, don't use the file admin tools to chop out users
> that are connected, as you will simply blow out (corrupt) your data file...
>
> Users MUST be shut down in a orderly, and graceful manor, else you risk data
> not being saved, and as mentioned a much worse issue of user damaging the
> data file..
>
> I explain with some nice diagrams as to why corruption will occur if you
> don't allow the user to finish up their writing of data here
>
> http://www.members.shaw.ca/AlbertKallal/Wan/Wans.html
>
> It is also assumed you split your applciation....I expalin this here
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/information-technology/13277-how-do-i-kill-user-connections.html
>
> http://www.members.shaw.ca/AlbertKal...plit/index.htm
>
> --
> Albert D. Kallal (Access MVP)
> Edmonton, Alberta Canada
> pleaseNOOSpamKallal@msn.com
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=13277
> http://www.members.shaw.ca/AlbertKallal
>
>
>






 
Do share your immediate thoughts or reactions on this issue? We value your views! Login Now! or Sign Up Today! to share your views with us.. Gurfateh!
Reply With Quote
Sponsored Links
  #11 (permalink)  
Old 28-Jul-2006, 08:36 AM
Albert D.Kallal's Avatar Albert D.Kallal
Guest
 
Posts: n/a
   
   
Re: How do I kill user connections to an Access Database?

Darren" wrote in message
news:6414BC6D-EA97-42B5-A222-C91167E995A2@microsoft.com...
> How do you see who is logged in? That would work, but i assumed there was
> no
> way to do that. I come from a SQL Server background, so I know the
> commands
> for SQL.


Not a question of is logged in, but WHO has the file opened. Remember we are
taking about a plane Jane file.

We are not taking about ms-access anymore, but simply mdb file sitting on
the disk drive...and who has it open. There is no database server here, but
only windows file system.

So, what happens is often a admin tries to back up a file on the hard disk,
but finds it is opened by someone else (that means the backup software will
usually skip the file). It also means you can't delete, or move the file
while someone else has it opened. So, often a admin will kill that user who
has the file opened.

To see who has a file open (be it a word file, excel file, or mdb file),
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=13277
you go

start->control panel-> Administrative Tools->Computer management

on the left side, you expand the tree item Shared folders, and the highlight
open files...

On the right side, you will see a list of open files....it is also at this
point that over zealous admins kill open files....
(you can right click on any file in the list..and choose close to "CUT" the
connection).

As I mentioned, closing the file is really not different then pulling the
plug on your computer when you have a word document open...the changes never
get back to the disk drive. If you took time to read/view that diagram in
the above wans aritcle, you can see when changes to a ms-access file don't
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=13277
get back to the disk drive, you can damage and currupt data..

The fact that you don't know how to do this is a good thing!!! (cutting
connections to a file while it is open is a bad idea!!).

So, really, at the end of the day, you need users to gracefully exit the
file, and that ensures their changes are written back to disk...

--
Albert D. Kallal (Access MVP)
Edmonton, Alberta Canada
pleaseNOOSpamKallal@msn.com
http://www.members.shaw.ca/AlbertKallal


Reply With Quote
  #12 (permalink)  
Old 28-Jul-2006, 08:36 AM
Pieter Wijnen's Avatar Pieter Wijnen
Guest
 
Posts: n/a
   
   
Re: How do I kill user connections to an Access Database?

  Donate Today!  
ie kicking them out via a timer_event
(gracefully offcourse)

Pieter

"Albert D.Kallal" wrote in message
news:%23fQ8HVTqGHA.3820@TK2MSFTNGP05.phx.gbl...
> Darren" wrote in message
> news:6414BC6D-EA97-42B5-A222-C91167E995A2@microsoft.com...
>> How do you see who is logged in? That would work, but i assumed there
>> was no
>> way to do that. I come from a SQL Server background, so I know the
>> commands
>> for SQL.

>
> Not a question of is logged in, but WHO has the file opened. Remember we
> are taking about a plane Jane file.
>
> We are not taking about ms-access anymore, but simply mdb file sitting on
> the disk drive...and who has it open. There is no database server here,
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=13277
> but only windows file system.
>
> So, what happens is often a admin tries to back up a file on the hard
> disk, but finds it is opened by someone else (that means the backup
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=13277
> software will usually skip the file). It also means you can't delete, or
> move the file while someone else has it opened. So, often a admin will
> kill that user who has the file opened.
>
> To see who has a file open (be it a word file, excel file, or mdb file),
> you go
>
> start->control panel-> Administrative Tools->Computer management
>
> on the left side, you expand the tree item Shared folders, and the
> highlight open files...
>
> On the right side, you will see a list of open files....it is also at this
> point that over zealous admins kill open files....
> (you can right click on any file in the list..and choose close to "CUT"
> the connection).
>
> As I mentioned, closing the file is really not different then pulling the
> plug on your computer when you have a word document open...the changes
> never get back to the disk drive. If you took time to read/view that
> diagram in the above wans aritcle, you can see when changes to a ms-access
> file don't get back to the disk drive, you can damage and currupt data..
>
> The fact that you don't know how to do this is a good thing!!! (cutting
> connections to a file while it is open is a bad idea!!).
>
> So, really, at the end of the day, you need users to gracefully exit the
> file, and that ensures their changes are written back to disk...
>
> --
> Albert D. Kallal (Access MVP)
> Edmonton, Alberta Canada
> pleaseNOOSpamKallal@msn.com
> http://www.members.shaw.ca/AlbertKallal
>




--
----------------------------------------
I am using the free version of SPAMfighter for private users.
It has removed 4231 spam emails to date.
Paying users do not have this message in their emails.
Get the free SPAMfighter here: http://www.spamfighter.com/len


Reply With Quote
   Click Here to Donate Now!

Support Us!
Become a Promoter!
Gurfateh ji, you can become a SPN Promoter by Donating as little as $10 each month. With limited resources & high operational costs, your donations make it possible for us to deliver a quality website and spread the teachings of the Sri Guru Granth Sahib Ji, to serve & uplift humanity. Every contribution counts. Donate Generously. Gurfateh!
ReplyPost New Topic In This Forum Stay Connected to Sikhism, Click Here to Register Now!

Bookmarks


(View-All Members who have read this thread : 0
There are no names to display.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Tools Search
Search:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On

» Gurbani Jukebox
Listen to Gurbani while surfing SPN!
» Active Discussions
sikhism Who is "Mohan"?
Today 08:46 AM
22 Replies, 335 Views
sikhism How important is Matha...
Today 08:12 AM
59 Replies, 1,038 Views
sikhism need urgent advice.......
Today 06:46 AM
6 Replies, 81 Views
sikhism ਨਾਮਾ
Today 06:37 AM
2 Replies, 53 Views
sikhism Sikh Diamonds Video...
Today 04:23 AM
6 Replies, 116 Views
sikhism Are Creator and Creation...
Today 01:30 AM
44 Replies, 2,837 Views
sikhism Herman Hesse,...
Today 00:54 AM
13 Replies, 229 Views
sikhism On a Scale of Most...
Yesterday 21:42 PM
30 Replies, 1,277 Views
sikhism I became victim by...
Yesterday 19:50 PM
0 Replies, 44 Views
sikhism Sikh Books downloads
Yesterday 15:39 PM
2 Replies, 66 Views
sikhism Salok Sheikh Farid ji...
Yesterday 09:35 AM
0 Replies, 47 Views
sikhism In Punjab, three farmers...
Yesterday 05:36 AM
0 Replies, 49 Views
sikhism Supernatural Sikhs, what...
Yesterday 03:45 AM
19 Replies, 414 Views
sikhism Sukhmani Sahib Astpadi...
26-May-2012 22:57 PM
0 Replies, 51 Views
Do You Think You Are...
26-May-2012 09:59 AM
94 Replies, 8,258 Views
» Books You Should Read...
Powered by vBadvanced CMPS v3.2.2

All times are GMT +6.5. The time now is 09:26 AM.
Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.5.2 Copyright © 2004-12, All Rights Reserved. Sikh Philosophy Network


Page generated in 0.42173 seconds with 30 queries