dbTalk Databases Forums  

Potential issue with DTS and Log Shipping

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


Discuss Potential issue with DTS and Log Shipping in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
guevara_81@yahoo.com
 
Posts: n/a

Default Potential issue with DTS and Log Shipping - 01-04-2005 , 10:12 AM






Hi everyone.

I have a question that maybe some of you may be able to shed some light
on. My set up involves three SQL Server Databases. First one, used by
the application. Second, copy of first via log shipping. Third,
contains data aggregation from the Second. Now, my issue is that I
have a DTS packagage that (COPY SQL SERVER OBJECTS) that copys select
tables from the second DB, into the third. The issue lies when the DTS
package executes, everyonce in a while it errors out. I'm assuming
it's an error due to the log shipping restore on the second database.
Are there any solutions to this?

TIA


Reply With Quote
  #2  
Old   
Simon Hayes
 
Posts: n/a

Default Re: Potential issue with DTS and Log Shipping - 01-04-2005 , 10:21 AM







<guevara_81 (AT) yahoo (DOT) com> wrote

Quote:
Hi everyone.

I have a question that maybe some of you may be able to shed some light
on. My set up involves three SQL Server Databases. First one, used by
the application. Second, copy of first via log shipping. Third,
contains data aggregation from the Second. Now, my issue is that I
have a DTS packagage that (COPY SQL SERVER OBJECTS) that copys select
tables from the second DB, into the third. The issue lies when the DTS
package executes, everyonce in a while it errors out. I'm assuming
it's an error due to the log shipping restore on the second database.
Are there any solutions to this?

TIA

One possible solution could be to check DATABASEPROPERTYEX('MyDB', 'Status')
either before executing the package or within the package itself - if it
isn't online then you can wait for an appropriate period of time and try
again.

Simon




Reply With Quote
  #3  
Old   
guevara_81@yahoo.com
 
Posts: n/a

Default Re: Potential issue with DTS and Log Shipping - 01-05-2005 , 10:18 AM



Thanks! That's a HUGE help.

thanks again.

-A


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.