DOCUMENT:Q245613 06-AUG-2002 [sms] TITLE :SMS: Error Message Occurs When Status Messages Are Deleted PRODUCT :Microsoft Systems Management Server PROD/VER:winnt:2.0 OPER/SYS: KEYWORDS:kbsms200 kbsms200bug ====================================================================== ------------------------------------------------------------------------------- The information in this article applies to: - Microsoft Systems Management Server version 2.0 ------------------------------------------------------------------------------- SYMPTOMS ======== When you attempt to delete the status messages associated with a status message query, you may receive the following error message: An error was encountered deleting status messages: rc = -2147217407. No status messages were deleted. In addition, the Microsoft Systems Management Server Provider log (Smsprov.log) may contain an error message similar to the following: * * E:\OPALSP1\sdk_provider\nt\smsprov\SspStatusMessage.cpp(927) : Error executing delete query: delete from StatusMessages WHERE RecordID IN (SELECT SMS_StatusMessage.RecordID from vStatusMessages AS SMS_StatusMessage LEFT OUTER JOIN StatusMessageInsStrs AS SMS_StatMsgInsStrings ON SMS_StatMsgInsStrings.RecordID = SMS_StatusMessage.RecordID LEFT OUTER JOIN StatusMessageAttributes AS SMS_StatMsgAttributes ON SMS_StatMsgAttributes.RecordID = SMS_StatusMessage.RecordID ) SQL Error: SQL Server connection timed out. * * CAUSE ===== This error message can occur because the deletion query has timed out. On a site that has a large number of status messages stored in the database, the preset time-out interval of 10 minutes may not be enough time for Microsoft SQL Server to complete the deletion request. WORKAROUND ========== To work around this behavior, use the status message filter rules to limit the number of status messages in the database. For additional information on using the status message filter rules, see Chapter 20 of the . STATUS ====== Microsoft has confirmed this to be a problem in Systems Management Server version 2.0. Additional query words: prodsms ====================================================================== Keywords : kbsms200 kbsms200bug Technology : kbSMSSearch kbSMS200 Version : winnt:2.0 Issue type : kbprb ============================================================================= THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY. Copyright Microsoft Corporation 2002.