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

Service broker not sending message from target database

$
0
0

Hello all,

i am facing a problem kindly help. the db owner of db1 and db2 is same 'sa'. when i send message from db1 its good but when i send message from db2 it never reaches and says: "An exception occurred while enqueueing a message in the target queue. Error: 916, State: 3. The server principal "sa" is not able to access the database "db1" under the current security context."

I also want to tell that i recently restore new back of db2. and i run following query on db2 as service broker was not enabling. ALTER DATABASE db2 SET  new broker.

I also user this query ALTER AUTHORIZATION ON database:: db2 TO sa;

Viewing all articles
Browse latest Browse all 461

Trending Articles



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