dbTalk Databases Forums  

DTS Run Intermittant fail

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


Discuss DTS Run Intermittant fail in the microsoft.public.sqlserver.dts forum.



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

Default DTS Run Intermittant fail - 11-11-2003 , 08:00 AM






Hi
I'm calling a DTS package from a VB application and about every 1 run
in 4 it fails with the follwoing message "-2147467259 - Connection
failure has Occurred in LoadTables"
The steps to run are as follows

From the VB application

deConnection.sp_rundts_package

Stored procedure does

EXEC Master.dbo.xp_cmdshell "DTSRUN /S /E /N Loadalltables_ECD_DEV"


Works some of the time but not always....Anyone got any ideas?

The connections is done as below (where sServer and sDB just give
database location/name from an INI file)

sConnect = "Data Source="
sConnect = sConnect & sServer & ";Integrated Security = SSPI;Initial
Catalog="
sConnect = sConnect & sDB
deConnection.Connection_Asb.ConnectionString = sConnect
deConnection.Connection_Asb.CommandTimeout = 3600
deConnection.Connection_Asb.ConnectionTimeout = 3600
deConnection.Connection_Asb.Open

Cheers
Shaun

Reply With Quote
  #2  
Old   
Ilya Margolin
 
Posts: n/a

Default Re: DTS Run Intermittant fail - 11-12-2003 , 07:26 AM






What does the package log say?

"shaun" <shaun (AT) paradisii (DOT) co.uk> wrote

Quote:
Hi
I'm calling a DTS package from a VB application and about every 1 run
in 4 it fails with the follwoing message "-2147467259 - Connection
failure has Occurred in LoadTables"
The steps to run are as follows

From the VB application

deConnection.sp_rundts_package

Stored procedure does

EXEC Master.dbo.xp_cmdshell "DTSRUN /S /E /N Loadalltables_ECD_DEV"


Works some of the time but not always....Anyone got any ideas?

The connections is done as below (where sServer and sDB just give
database location/name from an INI file)

sConnect = "Data Source="
sConnect = sConnect & sServer & ";Integrated Security = SSPI;Initial
Catalog="
sConnect = sConnect & sDB
deConnection.Connection_Asb.ConnectionString = sConnect
deConnection.Connection_Asb.CommandTimeout = 3600
deConnection.Connection_Asb.ConnectionTimeout = 3600
deConnection.Connection_Asb.Open

Cheers
Shaun



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.