Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Error 14274: Cannot add, update, or Delete

Status
Not open for further replies.

CXO

MIS
Jul 31, 2003
10
0
0
CA
I am running windows 2000 server and MS SQL server 2000 standard.

I have recently renamed my servers and joined a different domain. Things are working well except that my maintenance plans had to be recreated and the when I try and delete old jobs under the SQL server Agent. it informs me that I cannot delete, update etc:

Error 14274: Cannot add, update, or delete a job (or its steps or schedules) that originated from an MSX Server.

Any ideas on what I should do to resolve this

Christian Ormstrup
 
I am guessing that you changed the computer name during the rebuild.

This should help:

DECLARE @srv sysname
SET @srv = CAST(SERVERPROPERTY('ServerName') AS sysname)
UPDATE sysjobs SET originating_server = @srv



Thanks

J. Kusch
 
thanks
do i run this from Query analyzer?

I treid it and it fails at the UPDATE sysjobs Line
Is it possible that there is a another function or same function as sysjobs with another name?

I could not find sysjobs anywhere.

thanks again
Chris Ormstrup
 
SysJobs is found in the MSDB database where all info on jobs are stored for the server. Did you replace the 'SERVERNAME' with your corrosponding server name as it stands today?

Thanks

J. Kusch
 
Run it from Query Analyzer, but add this to the BEGINNING of the script:

USE MSDB
GO




-SQLBill
 
Thanks

I see it there(msdb)

Should be OK now.

Will add:
USE MSDB
GO

Thanks again
CXO
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top