我正在使用远程分发服务器设置将数据从Server 2012复制到Server 2008 R2。每当我为发布运行快照复制时,我都会得到以下错误。有人能帮我解决这个问题吗?
消息:读取列数据失败 堆叠: 在Microsoft.SqlServer.Replication.Snapshot.SqlServer.NativeBcpOutProvider.ThrowNativeBcpOutException(CConnection* pNativeConnectionWrapper) 在Microsoft.SqlServer.Replication.Snapshot.SqlServer.NativeBcpOutProvider.BcpOut(String strBcpObjectName,String strBcpObjectOwner,String strBaseBcpObjectName,Boolean,String strDataFile,String strLoadOrderingHint,String strWhereClause,Boolean useTableLockHint,Int32 bcpFileFormatVersion) 在Microsoft.SqlServer.Replication.Snapshot.SqlServer.BcpOutThreadProvider.DoWork(WorkItem workItem) 在Microsoft.SqlServer.Replication.WorkerThread.NonExceptionBasedAgentThreadProc() 在Microsoft.SqlServer.Replication.MainWorkerThread.AgentThreadProc() 在Microsoft.SqlServer.Replication.AgentCore.BaseAgentThread.AgentThreadProcWrapper() (来源: MSSQLServer,错误号: 0)消息: TCP提供程序:现有连接被远程主机强制关闭。 堆栈:(源: MSSQLServer,错误号: 10054)消息:通信链路失败 堆栈:(源: MSSQLServer,错误号: 10054) 消息: TDS流中的协议错误 堆栈:(源: MSSQLServer,错误号: 0) 消息: TDS流中的协议错误 堆栈:(源: MSSQLServer,错误号: 0)
发布于 2017-06-19 16:36:20
因此,我们在快照代理作业步骤中显式指定了一个参数来控制bcp线程。
-maxbcpthreads 4
·
没有理想的数字,这完全取决于,所以我们需要测试和看看哪个数字是最适合我们的。
https://stackoverflow.com/questions/44482215
复制相似问题