SQL Clone
SQLServerCentral is supported by Redgate
Log in  ::  Register  ::  Not logged in

Get your favorite SSC scripts directly in SSMS with the free SQL Scripts addin. Search for scripts directly from SSMS, and instantly access any saved scripts 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: 2010 | Views in the last 30 days: 1
Related Articles

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...


Service Broker

Service Broker


SQL Server Service Broker demystified

Simplified explanation of whats and hows of Service Brokers


TempDB and Service broker question

does service broker need to be enabled?


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...

backup and restore