Ads
23 December 2014
Kill Sessions For The Database
The enclosed script is used to kill the sessions of a perticular datbase. This can be used while restore of the database or any sessions needs to be killed from the application.
https://gallery.technet.microsoft.com/Kill-Sessions-For-The-ada2f686
19 December 2014
17 December 2014
The process could not execute 'sp_repldone/sp_replcounters
Error messages:
·
The
process could not execute 'sp_repldone/sp_replcounters' on 'SCKNLSSI '.
(Source: MSSQL_REPL, Error number: MSSQL_REPL20011)
Get help: http://help/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
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
Get help: http://help/MSSQL_REPL22017
·
The
process could not execute 'sp_repldone/sp_replcounters' on 'SCKNLSSI'.
(Source: MSSQL_REPL, Error number: MSSQL_REPL22037)
Get help: http://help/MSSQL_REPL22037
Get help: http://help/MSSQL_REPL22037
SOLUTION:-
To clear
the pending transactions, run the following against the published database,
1. Stop the logreader Agent
2. Stop the distribution agent:
exec
sp_repldone @xactid = NULL, @xact_seqno = NULL, @numtrans = 0, @time = 0,
@reset = 1
Turn on both agents.
Subscribe to:
Posts (Atom)
-
Find More On : - http://www.sqlserver-training.com/250-sql-queries-interview-question-answers/-#5+ SQL Queries Interview Questions ...
-
ERROR: report server remote procedure call (RPC) end point. Verify that the Report Server Windows service is running, and then retry the o...
-
http://technet.microsoft.com/en-us/library/cc731002(WS.10).aspx#BKMK_requirements How accounts are created through wizards in ...