Quantcast
Channel: SQL Server Integration Services forum
Viewing all articles
Browse latest Browse all 24688

SMO transfer sql server objects task - timing out

$
0
0

Hi,

I'm using the 'Transfer SQL Server Objects Task' in SSIS 2012 which uses a SMO connection between SQL Server 2012 instances. It's set to drop and create object if exists and uses the following table options:

CopyIndexes, CopyTriggers, CopyFullTextIndexes, Primary keys and Foreign keys.

It works fine for smaller tables, however for tables with large indexes there is an issue with dropping/creating indexes. The task always fails with the following error:

[Transfer SQL Server Objects Task] Error: Execution failed with the following error: "An error occurred while transferring data. See the inner exception for details.".

[Transfer SQL Server Objects Task] Error: Execution failed with the following error: "Timeout expired.  The timeout period elapsed prior to completion of the operation or the server is not responding.
The statement has been terminated.".

I narrowed it down to the index dropping/creation because if I turn off the CopyIndexes option, the table and data gets pushed through fine.

In SSIS designer there is no command timeout setting for SMO connections, is there a known issue with this in SQL Server 2012 because this functionality used to work fine in SQL Server 2008.

We are currently using SQL Server 2012 SP1.

Any insight would be much appreciated. Thanks.


Viewing all articles
Browse latest Browse all 24688

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>