dbTalk Databases Forums  

Error moving from SQL to Access via DTS

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


Discuss Error moving from SQL to Access via DTS in the microsoft.public.sqlserver.dts forum.



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

Default Error moving from SQL to Access via DTS - 01-05-2005 , 02:49 PM






I have a VB program that moves data down from a SQL Server to an Access
database. Each time the DTS runs the WHER Statements may change on the
selects where it is pulling data for different customers.
The entire package will excute without hitch sometimes and fail at other
times although never on same company and never on same place but it is always
the same error. I have attached below the error from one step that failed as
recorded in the log file... any idea on how to prevent this would be great
Thanks
Adam

----
Step 'Copy Data from tblDataByZip3 to tblCarByZip3 Step' failed

Step Error Source: Microsoft Data Transformation Services (DTS) Data Pump
Step Error Description:The number of failing rows exceeds the maximum
specified. (Microsoft JET Database Engine (80004005): Could not update;
currently locked by user 'Admin' on machine 'ACAIN'.)
Step Error code: 8004206A
Step Error Help File:sqldts80.hlp
Step Error Help Context ID:0

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

Default Re: Error moving from SQL to Access via DTS - 01-05-2005 , 10:14 PM






Hi Adam,
This error looks like permission problem...
Try to see if the user that you are using in vb can execute the pkg from the
enterprise manager without issue.
Rgds
JFB

"Adam Cain" <AdamCain (AT) discussions (DOT) microsoft.com> wrote

Quote:
I have a VB program that moves data down from a SQL Server to an Access
database. Each time the DTS runs the WHER Statements may change on the
selects where it is pulling data for different customers.
The entire package will excute without hitch sometimes and fail at other
times although never on same company and never on same place but it is
always
the same error. I have attached below the error from one step that failed
as
recorded in the log file... any idea on how to prevent this would be great
Thanks
Adam

----
Step 'Copy Data from tblDataByZip3 to tblCarByZip3 Step' failed

Step Error Source: Microsoft Data Transformation Services (DTS) Data Pump
Step Error Description:The number of failing rows exceeds the maximum
specified. (Microsoft JET Database Engine (80004005): Could not update;
currently locked by user 'Admin' on machine 'ACAIN'.)
Step Error code: 8004206A
Step Error Help File:sqldts80.hlp
Step Error Help Context ID:0



Reply With Quote
  #3  
Old   
Adam Cain
 
Posts: n/a

Default Re: Error moving from SQL to Access via DTS - 01-06-2005 , 08:01 AM



I'm pretty sure it's not a security issue...

I have run it from VB under my login (I have database owner rights) and
under the domain administrator and sa login as well. I originally developed
it under my login using the Enterprise Manager and then just savesd it as a
VB module so I could tweak the where clauses.

Plus I'll run it once and it fail and run it again and it won't fail. It is
a 12 step DTS job copying stuff down and it fails on different steps but
always the same error. Each step is doing the same type of stuff - copying
data from a table limited with a where clause to a single cutomer down to an
Access database that we then give to the customer.

The log sample was simply from the last time it crashed on me.

"JFB" wrote:

Quote:
Hi Adam,
This error looks like permission problem...
Try to see if the user that you are using in vb can execute the pkg from the
enterprise manager without issue.
Rgds
JFB

"Adam Cain" <AdamCain (AT) discussions (DOT) microsoft.com> wrote in message
news:62CDDCFE-00B1-4A42-8896-37B84D7566EE (AT) microsoft (DOT) com...
I have a VB program that moves data down from a SQL Server to an Access
database. Each time the DTS runs the WHER Statements may change on the
selects where it is pulling data for different customers.
The entire package will excute without hitch sometimes and fail at other
times although never on same company and never on same place but it is
always
the same error. I have attached below the error from one step that failed
as
recorded in the log file... any idea on how to prevent this would be great
Thanks
Adam

----
Step 'Copy Data from tblDataByZip3 to tblCarByZip3 Step' failed

Step Error Source: Microsoft Data Transformation Services (DTS) Data Pump
Step Error Description:The number of failing rows exceeds the maximum
specified. (Microsoft JET Database Engine (80004005): Could not update;
currently locked by user 'Admin' on machine 'ACAIN'.)
Step Error code: 8004206A
Step Error Help File:sqldts80.hlp
Step Error Help Context ID:0




Reply With Quote
  #4  
Old   
JFB
 
Posts: n/a

Default Re: Error moving from SQL to Access via DTS - 01-06-2005 , 08:46 AM



Ok Adam then you probably have issues with identities.
Try to turned on the option "Enable Identity Insert" on the Data
transformation task.
Rgds
JFB

"Adam Cain" <AdamCain (AT) discussions (DOT) microsoft.com> wrote

Quote:
I'm pretty sure it's not a security issue...

I have run it from VB under my login (I have database owner rights) and
under the domain administrator and sa login as well. I originally
developed
it under my login using the Enterprise Manager and then just savesd it as
a
VB module so I could tweak the where clauses.

Plus I'll run it once and it fail and run it again and it won't fail. It
is
a 12 step DTS job copying stuff down and it fails on different steps but
always the same error. Each step is doing the same type of stuff - copying
data from a table limited with a where clause to a single cutomer down to
an
Access database that we then give to the customer.

The log sample was simply from the last time it crashed on me.

"JFB" wrote:

Hi Adam,
This error looks like permission problem...
Try to see if the user that you are using in vb can execute the pkg from
the
enterprise manager without issue.
Rgds
JFB

"Adam Cain" <AdamCain (AT) discussions (DOT) microsoft.com> wrote in message
news:62CDDCFE-00B1-4A42-8896-37B84D7566EE (AT) microsoft (DOT) com...
I have a VB program that moves data down from a SQL Server to an Access
database. Each time the DTS runs the WHER Statements may change on the
selects where it is pulling data for different customers.
The entire package will excute without hitch sometimes and fail at
other
times although never on same company and never on same place but it is
always
the same error. I have attached below the error from one step that
failed
as
recorded in the log file... any idea on how to prevent this would be
great
Thanks
Adam

----
Step 'Copy Data from tblDataByZip3 to tblCarByZip3 Step' failed

Step Error Source: Microsoft Data Transformation Services (DTS) Data
Pump
Step Error Description:The number of failing rows exceeds the maximum
specified. (Microsoft JET Database Engine (80004005): Could not update;
currently locked by user 'Admin' on machine 'ACAIN'.)
Step Error code: 8004206A
Step Error Help File:sqldts80.hlp
Step Error Help Context ID:0






Reply With Quote
  #5  
Old   
Adam Cain
 
Posts: n/a

Default Re: Error moving from SQL to Access via DTS - 01-06-2005 , 10:37 AM



Went to each task and set .AllowIdentityInserts = True All of them had been
set to false for previous attempts.
Ran once fine. Crashed next time. Ran three times then crashed one more time.

Looks like that may not be it either but I do appreciate all the help. It is
really boggling me because the vb program loops through a list of customers
if that customers database doesn't exist it copies over the template and then
runs this dts. On a dts error it halts at a msgbox (giving me time to inspect
the database for possible clues) then deletes itself. that way I can rerun it
and it picks up right where it left off each time. it seems like if it
crashes once on a customer it would everytime and yet next time i do it it
starts up with that one and runs it fine. I have actually considered on crash
making it try to repat itself up tp 5 times before really giving up. I would
rather fix the error though so I do appreciate all your help...

Adam

"JFB" wrote:

Quote:
Ok Adam then you probably have issues with identities.
Try to turned on the option "Enable Identity Insert" on the Data
transformation task.
Rgds
JFB

Reply With Quote
  #6  
Old   
JFB
 
Posts: n/a

Default Re: Error moving from SQL to Access via DTS - 01-06-2005 , 03:48 PM



Ok.. maybe this link will help you to understand and clear your problem ...
http://www.databasejournal.com/sqlet...le.php/1428511
Rgds
JFB

"Adam Cain" <AdamCain (AT) discussions (DOT) microsoft.com> wrote

Quote:
Went to each task and set .AllowIdentityInserts = True All of them had
been
set to false for previous attempts.
Ran once fine. Crashed next time. Ran three times then crashed one more
time.

Looks like that may not be it either but I do appreciate all the help. It
is
really boggling me because the vb program loops through a list of
customers
if that customers database doesn't exist it copies over the template and
then
runs this dts. On a dts error it halts at a msgbox (giving me time to
inspect
the database for possible clues) then deletes itself. that way I can rerun
it
and it picks up right where it left off each time. it seems like if it
crashes once on a customer it would everytime and yet next time i do it it
starts up with that one and runs it fine. I have actually considered on
crash
making it try to repat itself up tp 5 times before really giving up. I
would
rather fix the error though so I do appreciate all your help...

Adam

"JFB" wrote:

Ok Adam then you probably have issues with identities.
Try to turned on the option "Enable Identity Insert" on the Data
transformation task.
Rgds
JFB



Reply With Quote
  #7  
Old   
Adam Cain
 
Posts: n/a

Default Re: Error moving from SQL to Access via DTS - 01-07-2005 , 02:41 PM



Article didn't help. All the tables in question are already in 3NF.
Let me know if you think of anything else. This DTS is supposed to go into
production at the end of the month with a bunch of other stuff and I'm at a
complete loss right now.
Thanks

"JFB" wrote:

Quote:
Ok.. maybe this link will help you to understand and clear your problem ...
http://www.databasejournal.com/sqlet...le.php/1428511
Rgds
JFB

"Adam Cain" <AdamCain (AT) discussions (DOT) microsoft.com> wrote in message
news:C7783C98-7D6A-48A0-A65C-3EE7EA7A0CD0 (AT) microsoft (DOT) com...
Went to each task and set .AllowIdentityInserts = True All of them had
been
set to false for previous attempts.
Ran once fine. Crashed next time. Ran three times then crashed one more
time.

Looks like that may not be it either but I do appreciate all the help. It
is
really boggling me because the vb program loops through a list of
customers
if that customers database doesn't exist it copies over the template and
then
runs this dts. On a dts error it halts at a msgbox (giving me time to
inspect
the database for possible clues) then deletes itself. that way I can rerun
it
and it picks up right where it left off each time. it seems like if it
crashes once on a customer it would everytime and yet next time i do it it
starts up with that one and runs it fine. I have actually considered on
crash
making it try to repat itself up tp 5 times before really giving up. I
would
rather fix the error though so I do appreciate all your help...

Adam

"JFB" wrote:

Ok Adam then you probably have issues with identities.
Try to turned on the option "Enable Identity Insert" on the Data
transformation task.
Rgds
JFB




Reply With Quote
  #8  
Old   
Adam Cain
 
Posts: n/a

Default Re: Error moving from SQL to Access via DTS - 01-11-2005 , 11:05 AM



Got it figured out. At least I seem to have it fixed. The DTS was created by
SQL Server with two connections to Access. Step 1 used the first. Step 2 the
second. # the 1st again...
I changed it all to just one connection and it has run about 100 time now
without incidence.

"Adam Cain" wrote:

Quote:
Article didn't help. All the tables in question are already in 3NF.
Let me know if you think of anything else. This DTS is supposed to go into
production at the end of the month with a bunch of other stuff and I'm at a
complete loss right now.
Thanks

"JFB" wrote:

Ok.. maybe this link will help you to understand and clear your problem ...
http://www.databasejournal.com/sqlet...le.php/1428511
Rgds
JFB

"Adam Cain" <AdamCain (AT) discussions (DOT) microsoft.com> wrote in message
news:C7783C98-7D6A-48A0-A65C-3EE7EA7A0CD0 (AT) microsoft (DOT) com...
Went to each task and set .AllowIdentityInserts = True All of them had
been
set to false for previous attempts.
Ran once fine. Crashed next time. Ran three times then crashed one more
time.

Looks like that may not be it either but I do appreciate all the help. It
is
really boggling me because the vb program loops through a list of
customers
if that customers database doesn't exist it copies over the template and
then
runs this dts. On a dts error it halts at a msgbox (giving me time to
inspect
the database for possible clues) then deletes itself. that way I can rerun
it
and it picks up right where it left off each time. it seems like if it
crashes once on a customer it would everytime and yet next time i do it it
starts up with that one and runs it fine. I have actually considered on
crash
making it try to repat itself up tp 5 times before really giving up. I
would
rather fix the error though so I do appreciate all your help...

Adam

"JFB" wrote:

Ok Adam then you probably have issues with identities.
Try to turned on the option "Enable Identity Insert" on the Data
transformation task.
Rgds
JFB




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.