Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

I'm trying to enable the Service Broker for Sql Server 2005 because I want to be able to use a SqlDependency object.

 

I ran the following query to see if my local sql server service broker was enabled:

SELECT is_broker_enabled FROM sys.databases WHERE name = 'dbname';

 

It came back with a value of 0 (which means it is not enabled).

 

I tried executing the following sql command to enable it:

ALTER DATABASE dbname SET ENABLE_BROKER;

 

The query has been running for over 5 mins and just keeps spinning (should it take this long to enable the Service brfoker), so I cancel it.

 

I even try to issue the command to see if the service broker is enabled after I cancel the query and it is not enabled.

 

How can I properly enable the Service Broker?

Thanks,

 

Bill Yeager (MCP, BCIP)

Microsoft Certified Professional

Brainbench Certified Internet Professional, .Net Programmer, Computer Programmer

YeagerTech Consulting, Inc.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...