My log reader has failed with the error:
-
19. dubna 2012 7:23
I have added 6 new articles and change the immediate_synch and allow anonymous property from 1 to 0 and then again 1 :
My log reader has failed with the error:
Error messages:
The process could not execute 'sp_replcmds' on 'REMEDYSQL'. (Source: MSSQL_REPL, Error number: MSSQL_REPL20011)
Get help: http://help/MSSQL_REPL20011
Could not locate text information records for the column "C456", ID 13 during command construction. (Source: MSSQLServer, Error number: 18773)
Get help: http://help/18773
The Log-Scan Process failed to construct a replicated command from log sequence number (LSN) {00002e78:0000b35f:0023}. Back up the publication database and contact Customer Support Services. (Source: MSSQLServer, Error number: 18805)
Get help: http://help/18805
The process could not execute 'sp_replcmds' on 'REMEDYSQL'. (Source: MSSQL_REPL, Error number: MSSQL_REPL22037)
Get help: http://help/MSSQL_REPL22037Thanks
Všechny reakce
-
19. dubna 2012 9:07
Is this new column "C456" a BLOB?
If yes check the document and see the topic
5.1.8 Log Reader Agent Fails After Adding an Article to a Publication with
binary large object (BLOB) DataHTH
Regards, Ashwin Menon My Blog - http:\\sqllearnings.com
- Označen jako odpověď Ajay.G 30. dubna 2012 5:51
-
19. dubna 2012 10:09No it is ntext...earlier replication was running with same table...
Thanks
-
19. dubna 2012 14:14
Ntext also belongs to the same category (specifically Large objects which doesn't fit in a single page)
Can you check what is mentioned in that document. What it says is, if you have a concurrent snapshot and if you have a large object column during the time a new column is added and if at the same time any update happens for this large object column you can get this error.
HTH
Regards, Ashwin Menon My Blog - http:\\sqllearnings.com
- Označen jako odpověď Ajay.G 30. dubna 2012 5:51
-
19. dubna 2012 14:28Moderátor
Whenever you get a message like this: "Could not locate text information records for the column "C456", ID 13 during command construction. (Source: MSSQLServer, Error number" is it a bug.
You need to open a support incident with Microsoft on this one. This is a bug.
looking for a book on SQL Server 2008 Administration? http://www.amazon.com/Microsoft-Server-2008-Management-Administration/dp/067233044X looking for a book on SQL Server 2008 Full-Text Search? http://www.amazon.com/Pro-Full-Text-Search-Server-2008/dp/1430215941
- Označen jako odpověď Ajay.G 30. dubna 2012 5:51
-
20. dubna 2012 8:44
I have changed immediate_synch and allow anonymous property from 1 to 0 and then again 1.
Is this problem not arises due to above written statement.I have done this and after that log reader agent has started to fail.
Thanks
-
20. dubna 2012 12:04Ashwin and Hilary Thanks...I will update you whatever is going on...
Thanks
-
20. dubna 2012 13:00Moderátor
This command construction problem is unrelated to the immediate sync option.looking for a book on SQL Server 2008 Administration? http://www.amazon.com/Microsoft-Server-2008-Management-Administration/dp/067233044X looking for a book on SQL Server 2008 Full-Text Search? http://www.amazon.com/Pro-Full-Text-Search-Server-2008/dp/1430215941
- Označen jako odpověď Ajay.G 30. dubna 2012 5:51
-
20. dubna 2012 13:08
I have not yet added those articles...Should I add new publication for these articles...
Thanks
-
20. dubna 2012 13:15Moderátor
It will not matter is if it in the same publication or a different/new one. All publications in the same database will share the same log reader agent. When the command that causes the problem enters the database the single log reader agent will go down and you will be out of luck for every publication in that database.
You might want to run continual traces capturing the xactsequence column as this maps to xact_sequenceid in the distribution database and the error message will refer to this xact_sequenceid - this way you can see the offending command and perhaps find a workaround.
looking for a book on SQL Server 2008 Administration? http://www.amazon.com/Microsoft-Server-2008-Management-Administration/dp/067233044X looking for a book on SQL Server 2008 Full-Text Search? http://www.amazon.com/Pro-Full-Text-Search-Server-2008/dp/1430215941
-
23. dubna 2012 10:21
Hi Hilary,
According to the shared documnet now I am going to add a new publication for these 6 views.
ShouLd i use old suscriber or new subscriber.
If use old one the old data should not be deleted...Please help
Thanks
-
23. dubna 2012 14:51Moderátor
For transactional replication when you reinitialize all subscriber data will be wiped out. Most people treat their subscribers as read only and do not make user changes there. Is this the case with you?
If so you will need to create a new subscription and subscriber database.
looking for a book on SQL Server 2008 Administration? http://www.amazon.com/Microsoft-Server-2008-Management-Administration/dp/067233044X looking for a book on SQL Server 2008 Full-Text Search? http://www.amazon.com/Pro-Full-Text-Search-Server-2008/dp/1430215941
-
24. dubna 2012 4:13
Hi hilary Thanks for your efforts..
Can u tell default way for second publication to publish his data to subscriber.So that data loss not occured.
I cannot create new database on subscriber side.
Thanks
-
24. dubna 2012 5:46
we are using a basic default configuration of Transactional replication.
I want to know:After creating second publication with 6 articles and add the same subscriber for this and after creation then reinitialize all subscription.
Q1: Will it disturb the first publication?
Q2: Will Subscriber wiped all data first from all other tables?
Thanks
-
24. dubna 2012 12:23Moderátor
Your log reader agent is the problem. No matter how may publications you have in the publication database there will be one publication. If the problem table is part of a single publication containing all tables, or just the problem table, the single log reader agent will at some point fail. Ashwin has pointed you to a known problem with replicating blobs and text and ntext. You are likely running into this problem.
Now if you send a new snapshot down, by default all subscriber data will be replaced with a copy of the data from the publisher.
looking for a book on SQL Server 2008 Administration? http://www.amazon.com/Microsoft-Server-2008-Management-Administration/dp/067233044X looking for a book on SQL Server 2008 Full-Text Search? http://www.amazon.com/Pro-Full-Text-Search-Server-2008/dp/1430215941
-
24. dubna 2012 12:49
In document it is written:
To modify replication configuration, use one of the following:
- Create new publications for any new articles. Do not add new articles to existing publications.
Can I go with this...
Thanks
- Upravený Ajay.G 24. dubna 2012 12:49
-
24. dubna 2012 12:57ModerátorIt may work - if that is the particular bug you are running into. I have ran into a different one where you update a text column with a null or blank space which generates the same error.
looking for a book on SQL Server 2008 Administration? http://www.amazon.com/Microsoft-Server-2008-Management-Administration/dp/067233044X looking for a book on SQL Server 2008 Full-Text Search? http://www.amazon.com/Pro-Full-Text-Search-Server-2008/dp/1430215941
-
24. dubna 2012 13:03
Can I do it after disable the application users who are using it..so that database will not be updated.
our main purpose is that database table should not be update of publication.
Thanks
- Upravený Ajay.G 25. dubna 2012 4:37
-
30. dubna 2012 5:50
Hi hilary,
I have got success after created a new publication for those 6 articles.
Thanks