dbTalk Databases Forums  

DTS package locked by access database

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss DTS package locked by access database in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Schuml
 
Posts: n/a

Default DTS package locked by access database - 06-12-2006 , 04:32 PM






I have a DTS package that deletes data from a table and then re-populates the
table with fresh data from our ERP system. The problem is this particular
table is linked to an access database, and if a user has the table open in
access the DTS package will not delete the data, it does not error out, but
waits until the user either closes the table or scrolls to the last record,
then it will run as expected. There are no problems if the user is using
access query to get the data. I would like to have this package run
several times a day and not have to worry about failure if the user opens the
table, is there anyway to take ownership and delete the records in the table
and re-popluate and release the ownership?

PS I have 4 tables that are reacting this way and 2 tables that there are
not any issues with. All of the tables are contained with in the same SQL
Database.

Reply With Quote
  #2  
Old   
AT
 
Posts: n/a

Default RE: DTS package locked by access database - 06-12-2006 , 09:45 PM






Hi Larry,

Thanks for inquerying.

Please understand the problem you described is by design. Because if one
user took ownership of the table, we cannot make sure whether he is
Inserting, updating or deleteing any records. In such scenario, if we are
able to modify the records, the results of the operation by the first user
will be incorrect. That's why the table will be locked. Actually, as you
said, there are no error and the package just waited other users to close
the table. I think this is the only workaround.

I'm sorry for any inconvenience. Thanks.


Best regards,

Vincent Xu
Microsoft Online Partner Support

================================================== ====
Get Secure! - www.microsoft.com/security
================================================== ====
When responding to posts, please "Reply to Group" via your newsreader so
that others
may learn and benefit from this issue.
================================================== ====
This posting is provided "AS IS" with no warranties,and confers no rights.
================================================== ====



--------------------
Quote:
Thread-Topic: DTS package locked by access database
thread-index: AcaOZ6SWcZzrwKgHTumonEgNmQ0uFw==
X-WBNR-Posting-Host: 216.241.38.19
From: =?Utf-8?B?U2NodW1s?= <larrys (AT) news (DOT) postalias
Subject: DTS package locked by access database
Date: Mon, 12 Jun 2006 14:32:02 -0700
Lines: 14
Message-ID: <0001EDFB-0217-4979-8911-F67BED3909B3 (AT) microsoft (DOT) com
MIME-Version: 1.0
Content-Type: text/plain;
charset="Utf-8"
Content-Transfer-Encoding: 7bit
X-Newsreader: Microsoft CDO for Windows 2000
Content-Class: urn:content-classes:message
Importance: normal
Priority: normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.1830
Newsgroups: microsoft.public.sqlserver.dts
Path: TK2MSFTNGXA01.phx.gbl
Xref: TK2MSFTNGXA01.phx.gbl microsoft.public.sqlserver.dts:66432
NNTP-Posting-Host: TK2MSFTNGXA01.phx.gbl 10.40.2.250
X-Tomcat-NG: microsoft.public.sqlserver.dts

I have a DTS package that deletes data from a table and then re-populates
the
table with fresh data from our ERP system. The problem is this particular
table is linked to an access database, and if a user has the table open
in
access the DTS package will not delete the data, it does not error out,
but
waits until the user either closes the table or scrolls to the last
record,
then it will run as expected. There are no problems if the user is using
access query to get the data. I would like to have this package run
several times a day and not have to worry about failure if the user opens
the
table, is there anyway to take ownership and delete the records in the
table
and re-popluate and release the ownership?

PS I have 4 tables that are reacting this way and 2 tables that there
are
not any issues with. All of the tables are contained with in the same
SQL
Database.



Reply With Quote
Reply




Thread Tools
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.