Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Transactional replication suddenly gives error 542 - date > 9999

Status
Not open for further replies.

SQLWilts

Programmer
Feb 12, 2001
651
GB
We have a 60G database that replicates OK for weeks.
Suddenly the Log Reader agent has stopped with the following error:
"An invalid datetime value was encountered. Value exceeds the year 9999.
(Source: MYSERVER (Data source); Error number: 542)"

First, how on earth did a date greater than 9999 get into the database?
Secondly, how do I get around this? Re-innitialising the database is out of the question due to the size and time needed to do it. The transaction has somehow got into the log - I need to remove it. Is it possible to start transactional replication according to a specific date/time?
Anyone have any ideas - greatefully received
 
Oh, and I have alreadt changed the ReadBatchSize parameter to 1 and re-tried - no luck!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top