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

Kill That Target!

By Steve Jones, 2002/09/16

Kill that Target Server!

Introduction

A few weeks ago I was asked to change the maintenance plan on one of our new servers to meet the production standards. This server had recently moved into production after having been configured by a developer (usually a bad idea IMHO).

So I connected to the server and edited the maintenance plan. When I went to save it, I received the following message:

Error 14274: Cannot add, update, or delete a job (or its steps or schedules) that originated from an MSX Server
Hmmmm. This threw me for a loop and I decided to dig into why this was the case.

What I did

A few of you might wonder why this bothered me. After all, if a master server (MSX) is sending jobs to its targets (TSX servers), then it's unlikely you want to start creating exceptions.

However, if I told you that I don't use master and target servers, then you might be more interested to read on.

Indeed this is the case. I don't have a master server installed because I am always running into exceptions and prefer the ability to manage items like backup jobs from each server. I think it is easier to administratively ensure the jobs are correct.

So imagine my surprise when I saw the message.

And annoyed. So I started at TechNet. A quick search of the error number revealed three results, one of which is BUG #: 351576. As you read the article, it appears that this is a renaming problem.

Aha!

This makes sense to me. We often name replacement servers or non production servers with an "a" at the end of the name. Then when we move it into production, we rename it. The article mentions that the workaround it renaming the server, then altering or deleting the job and then renaming the server again.

Too much work.

At least for me. The article does mention that sysjobs.originating_server is place where the data is stored. Simple enough for me. Open the msdb database in Enterprise Manager, click "tables", right click the sysjobs table and select Open, return all rows.

And there is the old server name. I edit each row and change the name to the new server name and close the table. A double check and I can now edit the maintenance plans and alter the jobs.

Conclusions

Now I don't recommend editing system tables. Do that at your own risk, but this seems like a pretty simple edit to me. Be sure that you do have your db backup up, however, something I didn't mention above because we snag msdb every night and this one hadn't changed other than the backup history. Also this was a non production server.

One other thing I can recommend. Search TechNet first. It's amazing how much information you can get from there. Sometimes you get deluged, however, and our forums are quicker, but give it a shot.

As always I welcome feedback on this article using the "Your Opinion" button below. Please also rate this article.

Steve Jones
©dkRanch.net September 2002
Return to Steve Jones Home

 

Total article views: 7198 | Views in the last 30 days: -1
 
Related Articles
FORUM

Production Server DB backup Restored on Development Server Backup

Production Server DB backup Restored on Development Server Backup

BLOG

SQLServerCentral Article on Backup Monitoring and Reporting

The article, Backup Monitoring and Reporting, demonstrates a SQL Server backup reporting solution I ...

FORUM

Renaming a server

Server being renamed...best practise...

FORUM

Rename SQL server Server

Rename SQL server Server

ARTICLE

Renaming a SQL Server

Renaming a server can be a mystery in SQL Server. The symtoms that SQL Server displays after you ren...

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