Service Broker not working after database restore

Coordinator
Dec 17, 2015 at 7:31 AM
Run the following command:

ALTER AUTHORIZATION ON DATABASE::[restored db name] TO [sa];

The dbo of the restored database is the Windows SID that created the db on the original server. This may be a local SID (eg. SERVERNAME\user) that has no meaning on the new server. This problem usually affects activated procedures and may affect message delivery, both issues happening due to inability of SQL to impersonate 'dbo'. Changing dbo to a valid login SID (like sa) would fix it.
Marked as answer by delbianco on 12/17/2015 at 12:31 AM