SQL Server 2019 Developer - help with error in Log

TRAIAN MACAVEIU 91 Reputation points
2020-11-06T13:13:19.95+00:00

Hi, I made the transition by attaching databases from Server 2008 to SQL Server 2019 Developer. One of the databases uses Service Broker.
I noticed that in the Log file (which grew very large in a short time) the following error appeared:
The activated proc '[dbo].[SqlQueryNotificationStoredProcedure-f8159ca1-beff-4e33-9328-10cfe06c36cd]' running on queue 'A102.dbo.SqlQueryNotificationService-f8159ca1-beff-4e33-9328-10cfe06c36cd' output the following: 'Could not find stored procedure 'dbo.SqlQueryNotificationStoredProcedure-f8159ca1-beff-4e33-9328-10cfe06c36cd'.'

The error occurs very often for the same database but with a different GUID in the explanation. Can you tell me what I'm not doing right?

SQL Server | Other
0 comments No comments
{count} votes

Answer accepted by question author
  1. Erland Sommarskog 129.6K Reputation points MVP Volunteer Moderator
    2020-11-06T23:01:32.687+00:00

    It appears that you have set up query notification somewhere, possibly with the SqlDependncy class.

    I don't what is going on, but you will need to dig around: See which queues you have, and which of these SqlQueryNotificationStoredProcedure you have or have not. Not the least check for errors that indicates that they cannot be created.

    0 comments No comments

5 additional answers

Sort by: Most helpful
  1. TRAIAN MACAVEIU 91 Reputation points
    2020-11-08T19:18:20.867+00:00

    thanks, I deleted the service and reactivated the Broker Service and now everything seems OK! Thanks a lot for the tips!

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.