Quantcast
Channel: SQL Service Broker forum
Viewing all articles
Browse latest Browse all 461

A database user associated with the secure conversation was dropped before credentials had been exchanged with the far endpoint. Avoid using DROP USER while conversations are being created.

$
0
0

Hi. I was repeatedly receiving this error message in a SQL Server 2008 Error Log:

A database user associated with the secure conversation was dropped before credentials had been exchanged with the far endpoint. Avoid using DROP USER while conversations are being created.

The only references I found to this error message were support issues occuring while a database was being restored.

KB 2483090: Restore or recovery may fail or take a long time if query notification is used in a database

KB 974777: Database restore operation may fail during the recovery phase when the database uses query notification in SQL Server 2005/2008

However, this database was alive and well, and was not in the process of restoring or failing over. The users were noticing a severe degradation in messages being serviced.

I was able to terminate this message by restarting Service Broker for the database in question.

ALTER DATABASE [mydb] SET DISABLE_BROKER WITH ROLLBACK IMMEDIATE

ALTER DATABASE [mydb] SET SINGLE_USER WITH ROLLBACK IMMEDIATE

ALTER DATABASE [mydb] SET NEW_BROKER WITH ROLLBACK IMMEDIATE

ALTER DATABASE [mydb] SET ENABLE_BROKER WITH NO_WAIT

ALTER DATABASE [mydb] SET MULTI_USER WITH ROLLBACK IMMEDIATE

I'm just posting this for anyone else who comes across the same issue.


Viewing all articles
Browse latest Browse all 461

Trending Articles



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