Home > error 14274 > error 14274 cannot add update delete job

Error 14274 Cannot Add Update Delete Job

Contents

360 games PC games

Sp_add_jobserver

Windows games Windows phone games Entertainment All Entertainment sp_delete_job Movies & TV Music Business & Education Business Students & educators

Sp_dropserver

Developers Sale Sale Find a store Gift cards Products Software & services Windows Office Free downloads & security Internet Explorer Microsoft Edge Skype OneNote OneDrive Microsoft Health MSN Bing Microsoft Groove Microsoft Movies & TV Devices & Xbox All Microsoft devices Microsoft Surface All Windows PCs & tablets PC accessories Xbox & games Microsoft Lumia All Windows phones Microsoft HoloLens For business Cloud Platform Microsoft Azure Microsoft Dynamics Windows for business Office for business Skype for business Surface for business Enterprise solutions Small business solutions Find a solutions provider Volume Licensing For developers & IT pros Develop Windows apps Microsoft Azure MSDN TechNet Visual Studio For students & educators Office for students OneNote in classroom Shop PCs & tablets perfect for students Microsoft in Education Support Sign in Cart Cart Javascript is disabled Please enable javascript and refresh the page Cookies are disabled Please enable cookies and refresh the page CV: {{ getCv() }} English (United States)‎ Terms of use Privacy & cookies Trademarks © 2016 Microsoft

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) Cannot add, update, or delete a job (or its https://support.microsoft.com/en-us/kb/281642 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 are testdbname jobtestnewdb jobIt comes up with the following errorsI got many these http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=186495 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', @type=N'LOCAL', @name=N'Database Maintenance'IF (@@ERROR <> 0 OR @ReturnCode <> 0) GOTO QuitWithRollbackEND-- testdbname jobDECLARE @jobId BINARY(16)EXEC @ReturnCode = msdb.dbo.sp_add_job @job_name=N'testdbname', @enabled=1, @notify_level_eventlog=0, @notify_level_email=0, @notify_level_netsend=0, @notify_level_page=0, @delet

add, update, or delete a job (or its steps or schedules) that originated from an MSX server. http://www.sqlserver-query.com/sql-server-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 error 14274 the format server\instance. Even for the default instance of the server, the actual server name is used instead of (local). After the Windows server is renamed, these jobs still reference the original server name and may not be updated or error 14274 cannot deleted by the process from the new server name. It’s a known problem with SQL2000 SP3. Fix --Verify Server Name SELECT @@servername If SQL name is not correct run. -- if no sp_dropserver <'nameReturned'> -- and then sp_addserver <'correctServername'> , 'local' Print 'Your server name has now been changed, restart SQL Service so changes will take effect.' If SQL name is correct run. --check originating_server column SELECT * FROM msdb..sysjobs --if not USE msdb GO DECLARE @server sysname SET @server = CAST(SERVERPROPERTY('ServerName')AS sysname) UPDATE sysjobs SET originating_server = @server WHERE originating_server = '' Reference: http://support.microsoft.com/default.aspx?scid=kb;en-us;281642 < Prev Next > Tweet

HomeServersWork StationsPrograming Jamin Quimby © jaminquimby.com All rights reserved. Menu HomeServersWork StationsPrograming

Database Engine Tuning Advisor SQL SERVER - Create Database Role with simple example using tsql Script » SQL Server Error 14274 - Cannot add, update or delete a job (or its steps or schedules) that originated from an MSX server 7 Nov 2014 | SQL Server Database Maintenance Error 14274 occurs when you try to update a sql agent job after renaming server name. If sql server is running on the server then after renaming windows server, you need to update sql server name. Otherwise when you will try to add, update or delete a job on sql server, it will throw below error. SQL Server 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. Because MSDB stores server name in originating_server field under sysjobs table. So now whenever you will try to access jobs information it will refer to old server. SQL server 2000 supports multiple instances so for default instance also it store server name instead of local. Fix-Workaround-Solution To fix this problem, one option to drop old server name using system stored procedure in sql server and then add new server name and restart the services. a. Run the below query SELECT @@servername b. Run system stored procedure to drop server sp_dropserver ‘old server name' c. Run system stored procedure to drop server sp_addserver ‘new server name' d. Restart sql server services to takes change e. Again perform the step 1 to verify the updated server name. Now you can run query against sysjobs table to see the changes in originating_server field. 2. To resolve this problem by using manual method (script out) 1. Revert the server back to old name. 2. Generate script for all sql jobs and delete them. 3. Rename the server to the new name. 4. Execute the script generated by step 2. If all above solution doesn't work for you then run update command to server name in sysjobs table. UPDATE sysjobs SET originating_server = ‘New Server Name' Where originating_server = ‘old Server name' Leave a Reply Cancel Reply Author (required) Email (will not be published)(required) Website + 9 = 15 « SQL Server Profiler – Collect Workload data for Database Engine Tuning Advisor SQL SERVER - Create Database Role with simple exam

 

Related content

error 14274 msx

Error Msx table id toc tbody tr td div id toctitle Contents div ul li a href Cannot Delete Job Originated Msx Server a li li a href Sp dropserver a li ul td tr tbody table p SERVER - Fix Error Cannot add update or delete a job or its steps or schedules that originated relatedl from an MSX server The job was error sql server not saved December Pinal DaveSQL SQL Server SQL Tips error cannot add update msx server and Tricks commentsTo fix the error which occurs after the Windows server name been changed when error delete

error 14274 cannot add update or delete msx server

Error Cannot Add Update Or Delete Msx Server table id toc tbody tr td div id toctitle Contents div ul li a href Sp add jobserver a li ul td tr tbody table p SERVER - Fix Error Cannot add update or delete a job or relatedl its steps or schedules that originated p h id Sp add jobserver p from an MSX server The job was not saved sp delete job December Pinal DaveSQL SQL Server SQL Tips and Tricks commentsTo fix the error sp dropserver which occurs after the Windows server name been changed when trying to update

error 14274 that originated from an msx server

Error That Originated From An Msx Server table id toc tbody tr td div id toctitle Contents div ul li a href Sp add jobserver a li ul td tr tbody table p SERVER - Fix Error Cannot add update or delete a job or its steps or schedules that originated from an relatedl MSX server The job was not saved p h id Sp add jobserver p December Pinal DaveSQL SQL Server SQL Tips and Tricks commentsTo sp delete job fix the error which occurs after the Windows server name been changed when trying to update or sp dropserver

error 14274 cannot add update delete

Error Cannot Add Update Delete table id toc tbody tr td div id toctitle Contents div ul li a href Sp delete job a li ul td tr tbody table p SERVER - Fix Error Cannot add update or delete a relatedl job or its steps or schedules that sp add jobserver originated from an MSX server The job was p h id Sp delete job p not saved December Pinal DaveSQL SQL Server SQL Tips and Tricks commentsTo sp dropserver fix the error which occurs after the Windows server name been changed when trying to update or delete the

error 14274

Error table id toc tbody tr td div id toctitle Contents div ul li a href Error Delete Job a li li a href Sp add jobserver a li li a href Sp dropserver a li ul td tr tbody table p SERVER - Fix Error Cannot add update or delete a job or its steps or schedules that originated relatedl from an MSX server The job was not error that originated from an msx server saved December Pinal DaveSQL SQL Server SQL Tips and p h id Error Delete Job p Tricks commentsTo fix the error which occurs after

error 14274 cannot add that originated from an msx server

Error Cannot Add That Originated From An Msx Server table id toc tbody tr td div id toctitle Contents div ul li a href Sp delete job a li ul td tr tbody table p games PC games sp add jobserver Windows games Windows phone games Entertainment All Entertainment p h id Sp delete job p Movies TV Music Business Education Business Students educators sp dropserver Developers Sale Sale Find a store Gift cards Products Software services Windows Office Free downloads security Internet Explorer Microsoft Edge Skype OneNote OneDrive Microsoft Health MSN Bing Microsoft Groove Microsoft Movies TV Devices Xbox

error 14274 cannot add update delete job msx server

Error Cannot Add Update Delete Job Msx Server table id toc tbody tr td div id toctitle Contents div ul li a href Sp add jobserver a li ul td tr tbody table p SERVER - Fix Error Cannot add update or delete a job or relatedl its steps or schedules that originated p h id Sp add jobserver p from an MSX server The job was not saved sp delete job December Pinal DaveSQL SQL Server SQL Tips and Tricks commentsTo fix the error sp dropserver which occurs after the Windows server name been changed when trying to update

error 14274 cannot add update or delete a job msx

Error Cannot Add Update Or Delete A Job Msx table id toc tbody tr td div id toctitle Contents div ul li a href Sp add jobserver a li li a href Sp dropserver a li ul td tr tbody table p games PC games p h id Sp add jobserver p Windows games Windows phone games Entertainment All Entertainment sp delete job Movies TV Music Business Education Business Students educators p h id Sp dropserver p Developers Sale Sale Find a store Gift cards Products Software services Windows Office Free downloads security Internet Explorer Microsoft Edge Skype OneNote OneDrive

error 14274 cannot msx server

Error Cannot Msx Server p SERVER - Fix Error Cannot add update or delete a job or its steps or schedules that relatedl originated from an MSX server The job sp add jobserver was not saved December Pinal DaveSQL SQL Server SQL sp delete job Tips and Tricks commentsTo fix the error which occurs after the Windows server name been changed sp dropserver when trying to update or delete the jobs previously created in a SQL Server instance or attaching msdb database Error Cannot add update or delete a job or its steps or schedules that originated from an MSX

error 14274 sql server

Error Sql Server table id toc tbody tr td div id toctitle Contents div ul li a href Sp add jobserver a li li a href Sp dropserver a li ul td tr tbody table p games PC games p h id Sp add jobserver p Windows games Windows phone games Entertainment All Entertainment sp delete job Movies TV Music Business Education Business Students educators p h id Sp dropserver p Developers Sale Sale Find a store Gift cards Products Software services Windows Office Free downloads security Internet Explorer Microsoft Edge Skype OneNote OneDrive Microsoft Health MSN Bing Microsoft Groove

error 14274 cannot

Error Cannot table id toc tbody tr td div id toctitle Contents div ul li a href Sp add jobserver a li li a href Sp dropserver a li ul td tr tbody table p games PC games p h id Sp add jobserver p Windows games Windows phone games Entertainment All Entertainment sp delete job Movies TV Music Business Education Business Students educators p h id Sp dropserver p Developers Sale Sale Find a store Gift cards Products Software services Windows Office Free downloads security Internet Explorer Microsoft Edge Skype OneNote OneDrive Microsoft Health MSN Bing Microsoft Groove Microsoft

error 14274 cannot add update or delete a job

Error Cannot Add Update Or Delete A Job table id toc tbody tr td div id toctitle Contents div ul li a href Sp add jobserver a li li a href Sp dropserver a li ul td tr tbody table p games PC games p h id Sp add jobserver p Windows games Windows phone games Entertainment All Entertainment sp delete job Movies TV Music Business Education Business Students educators p h id Sp dropserver p Developers Sale Sale Find a store Gift cards Products Software services Windows Office Free downloads security Internet Explorer Microsoft Edge Skype OneNote OneDrive Microsoft

error 14274 cannot add update originated msx server

Error Cannot Add Update Originated Msx Server p SERVER - Fix Error Cannot add update or delete a job or its steps relatedl or schedules that originated from an MSX sp add jobserver server The job was not saved December Pinal DaveSQL sp delete job SQL Server SQL Tips and Tricks 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 instance or attaching msdb database Error Cannot add update or delete a job or its steps or schedules that originated

error 14274 cannot add

Error Cannot Add table id toc tbody tr td div id toctitle Contents div ul li a href Sp delete job a li ul td tr tbody table p games PC games sp add jobserver Windows games Windows phone games Entertainment All Entertainment p h id Sp delete job p Movies TV Music Business Education Business Students educators sp dropserver Developers Sale Sale Find a store Gift cards Products Software services Windows Office Free downloads security Internet Explorer Microsoft Edge Skype OneNote OneDrive Microsoft Health MSN Bing Microsoft Groove Microsoft Movies TV Devices Xbox All Microsoft devices Microsoft Surface All

error 14274 cannot add update delete job msx

Error Cannot Add Update Delete Job Msx p SERVER - Fix Error Cannot add update or delete a job or relatedl its steps or schedules that originated sp add jobserver from an MSX server The job was not saved sp delete job December Pinal DaveSQL SQL Server SQL Tips and Tricks commentsTo fix the error sp dropserver which occurs after the Windows server name been changed when trying to update or delete the jobs previously created in a SQL Server instance or attaching msdb database Error Cannot add update or delete a job or its steps or schedules that originated

error 14274 cannot add update delete job sql server

Error Cannot Add Update Delete Job Sql Server table id toc tbody tr td div id toctitle Contents div ul li a href Sp dropserver a li ul td tr tbody table p SERVER - Fix Error Cannot add update or delete a job or its steps or schedules that originated from relatedl an MSX server The job was not saved sp add jobserver December Pinal DaveSQL SQL Server SQL Tips and Tricks commentsTo sp delete job fix the error which occurs after the Windows server name been changed when trying to update p h id Sp dropserver p or

error 14274 cannot add update delete job originated msx server

Error Cannot Add Update Delete Job Originated Msx Server table id toc tbody tr td div id toctitle Contents div ul li a href Sp delete job a li li a href Sp dropserver a li ul td tr tbody table p p p up Recent PostsRecent Posts Popular TopicsPopular Topics a href http www sqlservercentral com Forums Topic - - aspx http www sqlservercentral com Forums Topic - - aspx a Home Search Members Calendar Who's On Home SQL Server Administration Error Cannot add update or delete a Error Cannot add update or delete a job Rate Topic Display

error 14274 cannot add update

Error Cannot Add Update table id toc tbody tr td div id toctitle Contents div ul li a href Sp delete job a li ul td tr tbody table p games PC games sp add jobserver Windows games Windows phone games Entertainment All Entertainment p h id Sp delete job p Movies TV Music Business Education Business Students educators sp dropserver Developers Sale Sale Find a store Gift cards Products Software services Windows Office Free downloads security Internet Explorer Microsoft Edge Skype OneNote OneDrive Microsoft Health MSN Bing Microsoft Groove Microsoft Movies TV Devices Xbox All Microsoft devices Microsoft Surface

error 14274 cannot add update msx server

Error Cannot Add Update Msx Server table id toc tbody tr td div id toctitle Contents div ul li a href Sp dropserver a li ul td tr tbody table p SERVER - Fix Error Cannot add update or delete a job or its steps or schedules that originated from relatedl an MSX server The job was not saved sp add jobserver December Pinal DaveSQL SQL Server SQL Tips and Tricks sp delete job commentsTo fix the error which occurs after the Windows server name been changed when trying to p h id Sp dropserver p update or delete the

error 14274 cannot add update or delete

Error Cannot Add Update Or Delete p SERVER - Fix Error Cannot add update or delete a job or its steps relatedl or schedules that originated from an sp add jobserver MSX server The job was not saved December Pinal sp delete job DaveSQL SQL Server SQL Tips and Tricks commentsTo fix the error which occurs after sp dropserver the Windows server name been changed when trying to update or delete the jobs previously created in a SQL Server instance or attaching msdb database Error Cannot add update or delete a job or its steps or schedules that originated from

error 14274 sql server 2000

Error Sql Server p log in tour help Tour Start here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About relatedl Us Learn more about Stack Overflow the company Business Learn more sp add jobserver about hiring developers or posting ads with us Database Administrators Questions Tags Users Badges Unanswered sp delete job Ask Question Database Administrators Stack Exchange is a question and answer site for database professionals who wish to improve their database skills and sp dropserver learn from others in

error 14274 sql

Error Sql table id toc tbody tr td div id toctitle Contents div ul li a href Sp delete job a li li a href Sp dropserver a li ul td tr tbody table p SERVER - Fix Error Cannot add update or delete a job or its steps or schedules that relatedl originated from an MSX server The job was sp add jobserver not saved December Pinal DaveSQL SQL Server SQL Tips p h id Sp delete job p and Tricks commentsTo fix the error which occurs after the Windows server name been changed when p h id Sp

error 14274 msx server

Error Msx Server table id toc tbody tr td div id toctitle Contents div ul li a href Sp add jobserver a li li a href Sp dropserver a li ul td tr tbody table p SERVER - Fix Error Cannot add update or delete a job or its steps or schedules that originated relatedl from an MSX server The job was p h id Sp add jobserver p not saved December Pinal DaveSQL SQL Server SQL Tips and sp delete job Tricks commentsTo fix the error which occurs after the Windows server name been changed when p h id

error 14274 sql 2000

Error Sql table id toc tbody tr td div id toctitle Contents div ul li a href Sp add jobserver a li ul td tr tbody table p SERVER - Fix Error Cannot add update or delete a job or its steps or schedules that originated from relatedl an MSX server The job was not p h id Sp add jobserver p saved December Pinal DaveSQL SQL Server SQL Tips and Tricks sp delete job commentsTo fix the error which occurs after the Windows server name been changed when trying to sp dropserver update or delete the jobs previously created

error 14274 delete job

Error Delete Job table id toc tbody tr td div id toctitle Contents div ul li a href Error Cannot Add Update Msx Server a li li a href Sp add jobserver a li ul td tr tbody table p games PC games p h id Error Cannot Add Update Msx Server p Windows games Windows phone games Entertainment All Entertainment sql error Movies TV Music Business Education Business Students educators p h id Sp add jobserver p Developers Sale Sale Find a store Gift cards Products Software services Windows Office Free downloads security Internet sp delete job Explorer Microsoft