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

Msg 18752, Level 16, State 1, Procedure sp_repldone, Line 1 Only one Log Reader Agent or log-related procedure (sp_repldone, sp_replcmds, and sp_replshowcmds)

$
0
0

Hi

  I have configured database mirroring and replication, the log file not getting shrink ,so i try to reduce log many ways but could not reduce the log size , I use the following script

EXEC sp_repldone @xactid = NULL, @xact_segno = NULL, @numtrans = 0, @time = 0, @reset = 1


Once i excute i truncate the log file using DBCC SHRINK FILE

after that i start the Log reader It shows

Error messages:
The process could not execute 'sp_repldone/sp_replcounters' on 'HDB'.
(Source: MSSQL_REPL, Error number: MSSQL_REPL20011)
Get help: http://help/MSSQL_REPL20011
Only one Log Reader Agent or log-related procedure (sp_repldone, sp_replcmds, and sp_replshowcmds)
 can connect to a database at a time.
 If you executed a log-related procedure, drop the connection over which the procedure was executed
or execute sp_replflush over that connection before starting the Log Reader Agent or
executing another log-related procedure. (Source: MSSQLServer, Error number: 18752)
Get help: http://help/18752
The process could not set the last distributed transaction. (Source: MSSQL_REPL, Error number: MSSQL_REPL22017)
Get help: http://help/MSSQL_REPL22017
The process could not execute 'sp_repldone/sp_replcounters' on 'HDB'. (Source: MSSQL_REPL, Error number: MSSQL_REPL22037)


Please help me to solve the problem

when i try to remove replication and decide to configure new replication ,the following error i received,

Please help me ,I am using SQL server 2012


Msg 18752, Level 16, State 1, Procedure sp_repldone, Line 1Only one Log Reader Agent or log-related procedure (sp_repldone, sp_replcmds, and sp_replshowcmds)
can connect to a database at a time. If you executed a log-related procedure,
 drop the connection over which the procedure was
 executed or execute sp_replflush over that connection before
starting the Log Reader Agent or executing another log-related procedure.


Thanks & Regards Manoj


Viewing all articles
Browse latest Browse all 4054

Trending Articles



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