Best Practice : Restoring MSDB database ‘Error : Subsystem % could not be loaded’

The paths to SQL Server Agent subsystem DLL’s are stored in table msdb.dbo.syssubsystems, hence when you do a restore of MSDB database you have to follow the below process to delete the entry and repopulate the same:
use msdb
delete from msdb.dbo.syssubsystems
exec msdb.dbo.sp_verify_subsystems 1
You would require restarting the Agent service to be back in business.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s