How do you set the command timeout in SSIS?
Asked Answered
S

2

7

I have a datareader source firing some sql which takes longer than 30 seconds to run, so it's timing out. I can not find a command timeout property on the datareader source component, or the data flow task. Is there some way to set a longer command timeout in SSIS?

Savoy answered 10/11, 2009 at 21:11 Comment(1)
what version of SQL Server are you running?Lepidus
E
11

Right Click on the Datareader source and click edit. Go to Tab Component Properties and under Group Custom Properties has CommandTimeout

Executor answered 10/11, 2009 at 21:15 Comment(3)
All I have for properties on the Custom Properties group is SqlCommand and UserComponentTypeNameSavoy
I am using VS.net 2005. But I think that shouldn't be an issue with VS.net 2008. Its strange that property is missing. Try OLE Db Data Source. See if that has the property.Executor
Yup, the OLE DB Source has a command timeout, but the DataReader Source does not!Savoy
L
0

I see there is a hotfix for this, I don't know if it applies to you or not: Hotfix link

Lepidus answered 10/11, 2009 at 21:17 Comment(1)
This says its for the web service task, does it apply to the datareader source component too?Savoy

© 2022 - 2024 — McMap. All rights reserved.