Error in SQL Server database synchronization using SyncServices and WCF -
The database I have server - Microsoft SQL Server 2008 R2 (RTM) - L0k50kl600kl (x 64). . ADO.NET is configured to synchronize with a SQL Server Compact database client through using Microsoft Synchronization Services WCF
Sometimes this error began to emerge:
< P> Microsoft.Synchronization.Data .yncException:. Unable to calculate change in DBServerSyncProvider for table 'table name' in synchronization group 'group name'--- & gt; SystemkDatakSqlClientkSqlException: When went to a transport-level error to get results from the server (: TCP Provider, error: Provider. 0 - Semaphore time has expired expiration period)
System.Data .SqlClient.SqlConnection.OnError (SqlException Exception, Boolean Break Connection)
System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning (TdsParserStateObject stateObj)
System.Data.SqlClient.TdsParserStateObject.ReadSniError (TdsParserStateObject stateObj , UInt32 error) System.Data.SqlClient.TdsParserStateObject.ReadSni on (SystemAdsyncResult asyncResult, TdsParserStateObject stateObj)
on System.Data.SqlClient.TdsParserStateObject.ReadNetworkPacket ()
S ystem.Data.SqlClient.TdsParserStateObject.ReadBuffer ()
on System.Data.SqlClient.TdsParserStateObject.ReadByte ()
Sistmkdeta. SQLLient.TdsParser.Run (RunBehavior Run Behavior, SqlCommand cmdHandler, SqlDataReader Data Stream, BulkPCPML Resettate BulkHandler, TdsParserStateObject stateObj)
System.Data.SqlClient.SqlDataReader.ConsumeMetaData ()
System.Data.SqlClient.SqlDataReader GetMetaData () on System.Data.SqlClient.SqlCommand.FinishExecuteReader (SqlDataReader DS, RunVivier RunBrevier, String ResetOostings String) on System.Data.SqlClient.SqlCommand.RunExecuteReaderTds (CommandBehavior cmdBehavior, RunBehavior Run Behavior, Boolean Returnstream, Boolean async ) On the system. Data SQLLient.SqlCommand.RunExecuteReader (CommandWheel cmdBehavior, RunBehavior Run Behavior, Boolean ReturnStream, String Method, DbAsyncResult Results)
System.Data.SqlClient.SqlCommand.RunExecuteReader (CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, string method)
System.Data.SqlClient.SqlCommand.ExecuteReader (CommandBehavior behavior, string method) at System.Data.SqlClient.SqlCommand.ExecuteDbDataReader (CommandBehavior behavior
)
System.Data.Common.DbCommand.System.Data. IDbCommand.ExecuteReader (low)
on.Data.Server.DbServerSyncProvider.EnumerateChanges on Microsoft.Synchronizati (SyncGroupMetadata groupMetadata, SyncSession syncSession, IDbTransaction transaction, EnumerateChangeType changeType, SyncSchema traceSchema)The table names are different each time.
Let me know how to solve this problem please.
Thank you.
I believe that you will get this error if you specify a database during the retention period Successful sync is not done. See
We occasionally receive this even when the sync process is unable to obtain data due to an open transaction or is locking with another process. : (
GO ONALTER DATABASE SET yourdatabasenamehere READ_COMMITTED_SNAPSHOT I believe that is right for the
set To have)
Comments
Post a Comment