dbTalk Databases Forums  

DTS error from MSDE

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


Discuss DTS error from MSDE in the microsoft.public.sqlserver.dts forum.



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

Default DTS error from MSDE - 12-14-2005 , 12:29 PM






I am using DTS in SQL2K to pull data and tables (copy tables and views from
source database selection) from a remote MSDE2000 installation. Things
appear to run OK, but I eventually get an error on a particular row everytime
for one table in particular.

The error varies between the Transaction Log file being full and "Error at
destination for row 3,869,407. Violation of PRIMARY KEY constraint
'IDX_EVENTS_ID'. Cannot insert duplicate key in object 'EVENTS' ".

The transaction log file was defaulted to 1GB hard stop. I increased that
to 2GB, 4GB and then 8GB and got similar messages, even after I ran a
database backup of just the Transaction Log file.

What appears to be the problem?

Robert

Reply With Quote
  #2  
Old   
Danijel Novak
 
Posts: n/a

Default Re: DTS error from MSDE - 12-15-2005 , 12:56 AM






Hi,

Did you do a FILE backup of Transaction log file or did you make a
transaction log backup?
Did space used in transaction log dropped after backup?
If you did the first then you did not clear the transaction log. You should
do a second (transaction log backup) to clear some space in transaction log.

--
Danijel Novak



"Robert Gandrud" <RobertGandrud (AT) discussions (DOT) microsoft.com> wrote

Quote:
I am using DTS in SQL2K to pull data and tables (copy tables and views from
source database selection) from a remote MSDE2000 installation. Things
appear to run OK, but I eventually get an error on a particular row
everytime
for one table in particular.

The error varies between the Transaction Log file being full and "Error at
destination for row 3,869,407. Violation of PRIMARY KEY constraint
'IDX_EVENTS_ID'. Cannot insert duplicate key in object 'EVENTS' ".

The transaction log file was defaulted to 1GB hard stop. I increased that
to 2GB, 4GB and then 8GB and got similar messages, even after I ran a
database backup of just the Transaction Log file.

What appears to be the problem?

Robert



Reply With Quote
  #3  
Old   
Robert Gandrud
 
Posts: n/a

Default Re: DTS error from MSDE - 12-15-2005 , 07:50 AM



I did a backup within SQL Ent. Mgr. Database Maint. and chose only the
Transaction Log for that particular database.

My understanding, is that it clears committed entries in the Tran Log file,
but doesn't actually change the size (make it smaller). Is this true?? And
if so, how can I make the log file smaller, after ensuring that all
transactions are committed?

thanks,
Robert
"Danijel Novak" wrote:

Quote:
Hi,

Did you do a FILE backup of Transaction log file or did you make a
transaction log backup?
Did space used in transaction log dropped after backup?
If you did the first then you did not clear the transaction log. You should
do a second (transaction log backup) to clear some space in transaction log.

--
Danijel Novak



"Robert Gandrud" <RobertGandrud (AT) discussions (DOT) microsoft.com> wrote in message
news:88857AEB-AB22-4A14-8A5F-F75F116C8E3C (AT) microsoft (DOT) com...
I am using DTS in SQL2K to pull data and tables (copy tables and views from
source database selection) from a remote MSDE2000 installation. Things
appear to run OK, but I eventually get an error on a particular row
everytime
for one table in particular.

The error varies between the Transaction Log file being full and "Error at
destination for row 3,869,407. Violation of PRIMARY KEY constraint
'IDX_EVENTS_ID'. Cannot insert duplicate key in object 'EVENTS' ".

The transaction log file was defaulted to 1GB hard stop. I increased that
to 2GB, 4GB and then 8GB and got similar messages, even after I ran a
database backup of just the Transaction Log file.

What appears to be the problem?

Robert




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.