Home > Archive > MS SQL Server > December 2006 > Enabling service broker









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Enabling service broker
Tim Greenwood

2006-12-04, 7:12 pm

SQL2K5 SP1
I found this much in BOL...

alter database msdb

set ENABLE_BROKER



But when I run this on either of my 2 test servers the query never
completes....I let it run all weekend, it was still running this morning.
Am I missing something in my install? Has anyone ever seen this?



I am supposed to be getting our backup plans into place today and still
cannot get the operator alert tasks working because of this. Any help is
graciously appreciated!!


Roger Wolter[MSFT]

2006-12-04, 7:12 pm

See if this helps:
http://blogs.msdn.com/remusrusanu/a.../30/519685.aspx
Chances are you are logged into the database when you are trying to run the
command so it will run until everyone logs out.

--
This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm

"Tim Greenwood" <tim_greenwood AT yahoo DOT com> wrote in message
news:OBwDsr8FHHA.1784@TK2MSFTNGP06.phx.gbl...
> SQL2K5 SP1
> I found this much in BOL...
>
> alter database msdb
>
> set ENABLE_BROKER
>
>
>
> But when I run this on either of my 2 test servers the query never
> completes....I let it run all weekend, it was still running this morning.
> Am I missing something in my install? Has anyone ever seen this?
>
>
>
> I am supposed to be getting our backup plans into place today and still
> cannot get the operator alert tasks working because of this. Any help is
> graciously appreciated!!
>
>



Tim Greenwood

2006-12-04, 7:12 pm

Hmm....tried that and got this error:

Msg 9776, Level 16, State 1, Line 1

Cannot enable the Service Broker in database "msdb" because the Service
Broker GUID in the database (3861FC2B-EFB6-4213-A5DC-864A3F21A018) does not
match the one in sys.databases (A1AEBD82-B5CE-4B27-88CC-E465AA90F9E1).

Msg 5069, Level 16, State 1, Line 1

ALTER DATABASE statement failed.

How can I force this GUID to match?


"Roger Wolter[MSFT]" <rwolter@online.microsoft.com> wrote in message
news:%23tN%23mv8FHHA
.1064@TK2MSFTNGP04.phx.gbl...
> See if this helps:
> http://blogs.msdn.com/remusrusanu/a.../30/519685.aspx
> Chances are you are logged into the database when you are trying to run
> the command so it will run until everyone logs out.
>
> --
> This posting is provided "AS IS" with no warranties, and confers no
> rights.
> Use of included script samples are subject to the terms specified at
> http://www.microsoft.com/info/cpyright.htm
>
> "Tim Greenwood" <tim_greenwood AT yahoo DOT com> wrote in message
> news:OBwDsr8FHHA.1784@TK2MSFTNGP06.phx.gbl...
>
>



Sponsored Links





Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive | Programming forum archive

Copyright 2009 droptable.com