Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 

Get your favourite SSC scripts directly in SSMS with the free SQL Scripts addin. Search for scripts directly from SSMS, and instantly access any saved in your SSC briefcase from the favorites tab.
Download now (direct download link)

After Restoring MSDB perform the following two steps

By K.senthilkumar,

 

  • Step 1: Delete data from subsystem table on MSDB

Installation path is different source server to target server, so configure the new path on target server. Otherwise all sql jobs will be failed. So delete the old path and fill current path on syssubsystems table. Execute the following two steps.
Delete data from subsystem table
1. Delete from msdb.dbo.syssubsystems
Fill the table with new rows pointing to the proper location of the DLLs
2. EXEC msdb.dbo.sp_verify_subsystems 1
After run the above procedure pointing to the new path, Then Start SQL Agent, and run a test job

 

 

 

  • Step 2: Enable service broker

Service broker essential for database mail, If you do not enable service broker mail will queue E-mail message, but will not able to deliver the message. Service broker must be enabled.

Use the following code to enable the Service Broker
Use master
Alter database databasename set enable_broker;

Total article views: 1898 | Views in the last 30 days: 8
 
Related Articles
BLOG

SQL Server Service Broker error database cannot be enabled

Problem The SQL Server Database Engine returns the following error message after a service broker e...

FORUM

Service Broker

Service Broker

ARTICLE

SQL Server Service Broker demystified

Simplified explanation of whats and hows of Service Brokers

FORUM

TempDB and Service broker question

does service broker need to be enabled?

ARTICLE

SQL Server 2012 - New Service Broker Features

SQL Server 2012 came with bells and whistles for service broker, that give you plenty reasons to sta...

Tags
 
Contribute

Join the most active online SQL Server Community

SQL knowledge, delivered daily, free:

Email address:  

You make SSC a better place

As a member of SQLServerCentral, you get free access to loads of fresh content: thousands of articles and SQL scripts, a library of free eBooks, a weekly database news roundup, a great Q & A platform… And it’s our huge, buzzing community of SQL Server Professionals that makes it such a success.

Join us!

Steve Jones
Editor, SQLServerCentral.com

Already a member? Jump in:

Email address:   Password:   Remember me: Forgotten your password?
Steve Jones