In my asp.net, I creaate a
SqlCommand ligado a esto
SqlConnection. Entonces configuro el
CommandTimeout propiedad de la
SqlCommand to 1 hour.
SqlCommand will call a stored procedure in the database. Inside the stored procedure, I will run a SSIS using the following command.
master..xp_cmdshell 'dtexec /ISSERVER "' + @PackageName + '" /Par "$ServerOption::SYNCHRONIZED(Boolean)";True'
This SSIS can take quite a long time. If the SSIs takes more than 1 hour, then the
SqlCommand will timeout. But then what happens to the SSIS? Will the package still run until finish or will it be stopped when it is timeout? And how about the result? Will it be rolled back like a transaction or how do I check the data integrity?
preguntado el 12 de junio de 14 a las 10:06
Ok, I've tried and it seems that the SSIS will continue, despite the web page saying it is timeout. Checking on the Integration Services Catalogs > "Package" > Reports > All Executions show its status as 'Running'. And I also see more data inserted to my database. Then after waiting for some time, the status becomes 'Succeeded'.