dbTalk Databases Forums  

NEWBIE - run dts from VBA fails randomly

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


Discuss NEWBIE - run dts from VBA fails randomly in the microsoft.public.sqlserver.dts forum.



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

Default NEWBIE - run dts from VBA fails randomly - 07-18-2003 , 01:32 AM






Hi

I execute a dts package from an Access database to import SQL Server tables
into the Access database.

It works and fails randomly! As a last resort, I executed the package in a
loop so it tries 10 times before telling the user it has failed. This has
worked around the problem as it generally succeeds before the 10th try but I
would love to know if there is a reasonable explanation for why sometimes it
works and others not.

Thanks in advance



Reply With Quote
  #2  
Old   
Allan Mitchell
 
Posts: n/a

Default Re: NEWBIE - run dts from VBA fails randomly - 07-18-2003 , 03:04 AM






Are you logging the package execution?
If not then do so. Hopefully you will see messages in the logs that give
you an idea why it fails.

--

----------------------------
Allan Mitchell (Microsoft SQL Server MVP)
MCSE,MCDBA
www.SQLDTS.com
I support PASS - the definitive, global community
for SQL Server professionals - http://www.sqlpass.org



"GH" <grada (AT) nda (DOT) com.au> wrote

Quote:
Hi

I execute a dts package from an Access database to import SQL Server
tables
into the Access database.

It works and fails randomly! As a last resort, I executed the package in
a
loop so it tries 10 times before telling the user it has failed. This
has
worked around the problem as it generally succeeds before the 10th try but
I
would love to know if there is a reasonable explanation for why sometimes
it
works and others not.

Thanks in advance





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.