30秒后DTEXEC SQL Server 2012超时

时间:2013-06-06 21:30:55

标签: ssis sql-server-2012

在SQL Server 2012上运行以下命令时:

dtexec /isserver "\My Folder\My Package.dtsx" /X86 /SERVER "." /REPORTING V /Par "$ServerOption::SYNCHRONIZED (Boolean)";True

我们每次30秒后收到以下错误:

Failed to execute IS server package because of error 0x80131904. Server: ., Package path: \My Folder\My Package.dtsx, Environment reference Id: NULL.
Description: Timeout expired.  The timeout period elapsed prior to completion of the operation or the server is not responding.
Source: .Net SqlClient Data Provider
Started:  1:57:04 PM
Finished: 1:57:35 PM
Elapsed:  30.311 seconds

1 个答案:

答案 0 :(得分:3)

“SYNCHRONIZED”“(布尔)”之间有一个额外的空格。删除这个额外的空间解决了错误。错误消息没有指出我们这个问题,所以我们通过试验和错误了解了几个小时。该命令应为:

dtexec /isserver "\My Folder\My Package.dtsx" /X86 /SERVER "." /REPORTING V /Par "$ServerOption::SYNCHRONIZED(Boolean)";True

我们不再看到超时错误。