3

在 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
4

1 回答 1

3

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

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

而且我们不再看到超时错误。

于 2013-06-06T21:30:54.880 回答