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

CDC Job capture failure

$
0
0

Recently I Restored a database from Live to Test Instance for implementing CDC feature on sql server 2008 X64 Enterprise Edition on Windows server 2008r2 X64.
***Meant there was NO CDC Enabled in Production Nor Replication Features Its stand Alone. 

Initially i Enabled CDC on Database level and next for 3 Tables, after that i inserted records for all the tables but the same was not getting reflected to CDC tables. then i checked in agent service-> CDC capture Job -> view history, then i got the following below error..

Message
Msg 22859, Level 16, State 2, Log Scan process failed in processing log records. Refer to previous errors in the 

current session to identify the cause and correct any associated problems. For more information, query the 

sys.dm_cdc_errors dynamic management view.


Date14-Dec-13 8:07:35 AM
LogJob History (cdc.HC_UAT_DB_V4_capture)

Step ID2
ServerADDCSVHC05
Job Namecdc.HC_UAT_DB_V4_capture
Step NameChange Data Capture Collection Agent
Duration00:34:29
Sql Severity16
Sql Message ID22859
Operator Emailed
Operator Net sent
Operator Paged
Retries Attempted11

Message
Executed as user: Test\hcuat. Could not locate text information records for the column "ExMaritalStatus", 

ID 189 during command construction. [SQLSTATE 42000] (Error 18773)  The Log-Scan Process failed to construct a 

replicated command from log sequence number (LSN) {00232390:00001fc9:0015}. Back up the publication database and 

contact Customer Support Services. [SQLSTATE 42000] (Error 18805)  Log Scan process failed in processing log 

records. Refer to previous errors in the current session to identify the cause and correct any associated 

problems. [SQLSTATE 42000] (Error 22859)


can anyone please help me.., what is the cause for the below error and how i can get rid of this.

"ExMaritalStatus",column -> Nvarchar datatype

Note : 
      *** issue can be solved by disabling & enabling CDC at database level but i need the root cause, again CDC capture job fails for capturing other Nvarchar columns when i Re-Enable at the database level. This cause is getting cycled/looping in capturing other colums.

 Thanks for the advance.


 



Pavicoolman


Viewing all articles
Browse latest Browse all 4054

Trending Articles



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