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

A .NET Framework error occurred during execution of user-defined routine or aggregate "sp_printstatement":

$
0
0

Hi,

When we run sp_browsereplcmds command it gives following message. Not sure if this related to any patching.Can somebody provide a solution? 

Msg 6522, Level 16, State 1, Procedure sp_printstatement, Line 0

A .NET Framework error occurred during execution of user-defined routine or aggregate "sp_printstatement":

System.TypeInitializationException: The type initializer for 'System.Data.ProviderBaswe.DbConnectionClosedPreviouslyOpened' threw an exception. ---> System.Threading.ThreadAbortException: Exception of type 'System.Threading.ThreadAbortException' was thrown.

System.Threading.ThreadAbortException: System.TypeInitializationException:

at System.Data.ProviderBase.DbConnectionInternal.CloseConnection(DbConnection owningObject, DbConnectionFactory connectionFactory)

  at System.Data.SqlClient.SqlConnection.Close()

  at System.Data.SqlClient.SqlConnection.Dispose(Boolean disposing)

  at System.ComponentModel.Component.Dispose()

  at Microsoft.SqlServer.Replication.ReplCmdsReader.sp_printstatement(String strCmd)


Rahul


Viewing all articles
Browse latest Browse all 4054

Trending Articles



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