Error 14274 Cannot Add Update Originated Msx Server
SERVER - Fix : Error 14274: Cannot add, update, or delete a job (or its steps or schedules) that originated from an MSX sp_add_jobserver server. The job was not saved. December 20, 2006Pinal DaveSQL, sp_delete_job SQL Server, SQL Tips and Tricks97 commentsTo fix the error which occurs after the sp_dropserver Windows server name been changed, when trying to update or delete the jobs previously created in a SQL Server 2000 instance, or attaching msdb database.Error 14274: Cannot add, update, or delete a job (or its steps or schedules) that originated from an MSX server. The job was not saved.Reason: SQL Server 2000 supports multi-instances, the originating_server field contains the instance name in the format ‘server\instance'. Even for the default instance of the server, the actual server name is used instead of ‘(local)'. Therefore, after the Windows server is renamed, these jobs still reference the original server name and may not be updated or deleted by the process from the new server name. It's a known problem with SQL2000 SP3.Fix/Workaround/Solution:In order to solve the problem you should perform the following steps: From the Query Analyzer run following steps in order: SELECT @@servernameand verify if it shows the correct SQL server name.a) If not, run: sp_dropserver <'name_returned'>and then: sp_addserver <'correct_servername'>, 'local'to change the SQL server name.Please restart SQL server service to let the new configuration takes effect.b) If yes,Please check the originating_server column in msdb..sysjobs by running: SELECT *
FROM msdb..sysjobsand verify if all jobs have the correct server name for originating_serv
SQL Server experts to answer whatever question you can come up with. Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums. SQL Server Forums Profile | ActiveTopics | Members | Search | ForumFAQ Register Now and get your question answered! Username: Password: Save Password Forgot your Password? All Forums SQL Server 2008 Forums Transact-SQL (2008) http://blog.sqlauthority.com/2006/12/20/sql-server-fix-error-14274-cannot-add-update-or-delete-a-job-or-its-steps-or-schedules-that-originated-from-an-msx-server-the-job-was-not-saved/ Cannot add, update, or delete a job (or its steps Reply to Topic Printer Friendly Author Topic rosetulip Starting Member 15 Posts Posted-06/28/2013: 23:58:43 I have a trouble to merge two jobs into a master script file by sharing the same globalization declaration. If I run separately, it works fine.The two jobs http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=186495 are testdbname jobtestnewdb jobIt comes up with the following errorsI got many these messageMsg 14274, Level 16, State 1, Procedure sp_add_job, Line 132Cannot add, update, or delete a job (or its steps or schedules) that originated from an MSX server.Msg 14274, Level 16, State 1, Procedure sp_add_job, Line 132Cannot add, update, or delete a job (or its steps or schedules) that originated from an MSX server.Msg 14274, Level 16, State 1, Procedure sp_add_job, Line 132 Here is two job scriptUSE [msdb]GODECLARE @LLC_DATABASE_NAME NVARCHAR(100) = N'LLC'DECLARE @LLC_LOG_IN_NAME NVARCHAR(100) = N'LLC'DECLARE @Roll_Back_Server NVARCHAR(100) = N'(local)'IF EXISTS (SELECT job_id FROM msdb.dbo.sysjobs_view WHERE name = N'testdbname')EXEC sp_delete_job @job_name = N' testdbname' , @delete_unused_schedule=1IF EXISTS (SELECT job_id FROM msdb.dbo.sysjobs_view WHERE name = N'testnewdb')EXEC sp_delete_job @job_name = N'testnewdb' , @delete_unused_schedule=1/****** Object: Job [testdbname] Script Date: 06/25/2013 16:41:15 ******/BEGIN TRANSACTIONDECLARE @ReturnCode INTSELECT @ReturnCode = 0/****** Object: JobCategory [Database Maintenance] Script Date: 06/25/2013 16:41:15 ******/IF NOT EXISTS (SELECT name FROM msdb.dbo.syscategories WHERE name=N'Database Maintenance' AND category_class=1)BEGINEXEC @ReturnCode = msdb.dbo.sp_add_category @class=N'JOB', @typ
Recent PostsRecent Posts Popular TopicsPopular Topics Home Search Members Calendar Who's http://www.sqlservercentral.com/Forums/Topic846604-5-1.aspx On Home » SQL Server 7,2000 » Administration » Error 14274: Cannot add, update, or delete a... Error 14274: Cannot add, update, or delete a job Rate Topic Display http://www.tek-tips.com/viewthread.cfm?qid=965815 Mode Topic Options Author Message Mani-584606Mani-584606 Posted Tuesday, January 12, 2010 3:35 PM Mr or Mrs. 500 Group: General Forum Members Last Login: Friday, July 25, 2014 2:47 error 14274 PM Points: 586, Visits: 1,998 Hi,We have SQL Server 2000 with SP3. We have a maintenance plan for backups, integrity check.I’m trying to include some more databases in the maintenance plan but I’m getting the below error:Error 14274: Cannot add, update, or delete a job (or its steps or schedules) that originated from MSX server.After getting error 14274 cannot this error, I tried to delete the Maintenance plan, it gave same error couple of times and then it got deleted. But jobs related to this maintenance plan in SQL Agent are NOT deleted and I tried to delete manually but still getting the same above error.please advice thanks Post #846604 - Win.- Win. Posted Tuesday, January 12, 2010 8:59 PM SSC Veteran Group: General Forum Members Last Login: Thursday, March 29, 2012 5:22 AM Points: 260, Visits: 800 If you want to delete the job, you can do that manually.Try :select * from sysjobs delete from sysjobs where name = '<>' or Job_ID = <>hope it will work. Cheers,- Win." Have a great day " Post #846668 MANU-J.MANU-J. Posted Wednesday, January 13, 2010 4:02 PM SSCommitted Group: General Forum Members Last Login: Thursday, May 22, 2014 7:04 AM Points: 1,688, Visits: 8,766 Have you renamed the server in recent past?http://support.microsoft.com/kb/281642MJ Post #847253 pakmanpakman Posted Tuesday, February 16, 2010 9:41 PM Forum Newbie Group: General Forum Members La
Join INTELLIGENT WORK FORUMSFOR COMPUTER PROFESSIONALS Log In Come Join Us! Are you aComputer / IT professional?Join Tek-Tips Forums! Talk With Other Members Be Notified Of ResponsesTo Your Posts Keyword Search One-Click Access To YourFavorite Forums Automated SignaturesOn Your Posts Best Of All, It's Free! Join Us! *Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail. Posting Guidelines Promoting, selling, recruiting, coursework and thesis posting is forbidden.Tek-Tips Posting Policies Jobs Jobs from Indeed What: Where: jobs by Link To This Forum! Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum.Just copy and paste the BBCode HTML Markdown MediaWiki reStructuredText code below into your site. Microsoft SQL Server: Setup and Administration Forum at Tek-Tips HomeForumsProgrammersDBMS PackagesMicrosoft SQL Server: Setup and Administration Forum error 14274: Cannot add, update, or delete a job ????? thread962-965815 Forum Search FAQs Links MVPs error 14274: Cannot add, update, or delete a job ????? error 14274: Cannot add, update, or delete a job ????? mb224 (Programmer) (OP) 10 Dec 04 07:53 I created a scheduled job called (MyExtract) .... Then later SQL Server was re-named ..... The job then failed to run .... I created another (NEW) similar job (MyExtract2) .. This second job runs fine .... However the previous job still RUNS and fails!!! I tried to delete it in the SQL Server Agent ... (Jobs) ... but cannot .. I get the error message:error 14274: Cannot add, update, or delete a job(or its steps or schedule) that originated from an MSX serverI deleted the DTS package in the DTS (local packages) section ..... however when I try to delete the JOB iself in the SQL Server Agent (under Jobs) .. it will not delete ... I get the error 14274.How can I delete this previous job .. please help! RE: error 14274: Cannot add, update, or delete a job ????? WhiteKnight57t (Programmer) 10 Dec 04 08:04 solution?1. Rename the server back to the original name.2. Script out all of the jobs and then delete them.3. Rename the server to the new name.4. Add back the jobs by