Article ID: 938085
Article Last Modified on 11/20/2007
APPLIES TO
- Microsoft SQL Server 2005 Developer Edition
- Microsoft SQL Server 2005 Enterprise Edition
- Microsoft SQL Server 2005 Standard Edition
- Microsoft SQL Server 2005 Standard X64 Edition
- Microsoft SQL Server 2005 Standard Edition for Itanium-based Systems
- Microsoft SQL Server 2005 Enterprise X64 Edition
- Microsoft SQL Server 2005 Enterprise Edition for Itanium-based Systems
Bug #: 50001017 (SQL Hotfix)
SYMPTOMS
After you install Microsoft SQL Server 2005 Service Pack 2 (SP2), you use a clean-up task in SQL Server 2005. However, the clean-up task does not delete database maintenance plan reports. Additionally, you receive an error message that resembles the following:
CAUSE
This problem occurs because the first line of the report contains the following text:
NEW COMPONENT OUTPUT
The xp_delete_file system stored procedure examines the first line of the report to determine whether the report is a database maintenance plan report. If the first line of the report is "NEW COMPONENT OUTPUT," the xp_delete_file system stored procedure cannot recognize the report as a database maintenance plan report.
WORKAROUND
To work around this problem, delete the first line of the report if the first line of the report is "NEW COMPONENT OUTPUT". After you do this, the report will be deleted the next time that you use the clean-up task.
STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
Keywords: kbtshoot kbprb kbexpertiseadvanced kbsql2005tool KB938085