Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
DB Engine
SQL ServerMSDESQL Server CE
Services
Analysis (Data Mining)Analysis (OLAP)DTSIntegration ServicesNotification ServicesReporting Services
Programming
CLRConnectivitySQLXML
Other Technologies
ClusteringEnglish QueryFull-Text SearchReplicationService Broker
General
Data WarehousingPerformanceSecuritySetupSQL Server ToolsOther SQL Server Topics
DirectoryUser Groups
Related Topics
MS AccessOther DB ProductsMS Server Products.NET DevelopmentVB DevelopmentJava DevelopmentMore Topics ...

SQL Server Forum / Other Technologies / Service Broker / January 2009

Tip: Looking for answers? Try searching our database.

how long lasts ALTER DATABASE [msdb] SET ENABLE_BROKER ?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Scan le Gentil - 24 Apr 2006 11:45 GMT
My command never ends :

ALTER DATABASE [msdb] SET ENABLE_BROKER ;

Any idea ?

(it works on user DBs and I have one endpoint created yet)

Thanks for any helps

Scan le Gentil
Tibor Karaszi - 24 Apr 2006 13:41 GMT
Make sure no-one is using the database (lick out all users). This includes SQL Server Agent.

Signature

Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://www.solidqualitylearning.com/

> My command never ends :
>
[quoted text clipped - 7 lines]
>
> Scan le Gentil
Chris Leiter - 24 Apr 2006 15:40 GMT
That includes yourself.  Make sure you don't have another connection open to
the same database.  That's bitten me a couple of times.

-Chris

> Make sure no-one is using the database (lick out all users). This includes
> SQL Server Agent.
[quoted text clipped - 10 lines]
>>
>> Scan le Gentil
Roger Wolter[MSFT] - 24 Apr 2006 15:53 GMT
http://blogs.msdn.com/remusrusanu/archive/2006/01/30/519685.aspx

Signature

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

> That includes yourself.  Make sure you don't have another connection open
> to the same database.  That's bitten me a couple of times.
[quoted text clipped - 15 lines]
>>>
>>> Scan le Gentil
manishkaushik - 08 Jan 2009 09:21 GMT
Try this this, worked for me

ALTER DATABASE [msdb] SET ENABLE_BROKER WITH ROLLBACK IMMEDIATE

thanks
Manish
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.