Purge Job History Failed.
Applies to: SQL Server Management Studio (2005, 2008) connected to a Microsoft
SQL Server 2000 SP4 instance.
Error Message
When connected to a Microsoft SQL Server 2000 SP4 instance using SQL Server
Management Studio, and you try to configure the "Automatically remove agent
history" feature on the SQL Server Agent Properties dialog, you receive the
following error message:
Purge job history failed for JobServer 'SERVERNAME'.(Microsoft.SqlServer.Smo)
Additional information:
An exception occurred while executing a Transact-SQL statement or batch.
(Microsoft.SqlServer.ConnectionInfo)
@oldest_date is not a parameter for procedure sp_purge_jobhistory. (Microsoft
SQL Server, Error: 8145)
Cause
This feature was originally introduced with Microsoft SQL Server 2005 and does
not work on Microsoft SQL Server 2000 instances using SQL Server Management
Studio.