Quantcast
Channel: SQL Server Replication forum
Viewing all articles
Browse latest Browse all 4054

Replication issue

$
0
0

Hi All,

While I am setting up replication,my snapshot agent after it completes bulk copy its giving me below error

"Message: Conflicting locking hints are specified for table "dbo.employee". This may be caused by a conflicting hint specified for a view. 

Command Text: SELECT TOP 1 0 FROM [dbo].[oemployeereplication] WITH (TABLOCK, HOLDLOCK)
Parameters: 
Stack:    at Microsoft.SqlServer.Replication.AgentCore.ReMapSqlException(SqlException e, SqlCommand command)
   at Microsoft.SqlServer.Replication.AgentCore.AgentExecuteNonQuery(SqlCommand command, Int32 queryTimeout)
   at Microsoft.SqlServer.Replication.AgentCore.ExecuteDiscardResults(CommandSetupDelegate commandSetupDelegate, Int32 queryTimeout)

I am doing replication from Indexed view as publisher and  table as subscriber.


Viewing all articles
Browse latest Browse all 4054

Trending Articles



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