Microsoft KB Archive/840301

= Status message files accumulate in the \SMS\inboxes\statmgr\retry folder on a Systems Management Server 2003 site =

Article ID: 840301

Article Last Modified on 7/24/2007

-

APPLIES TO


 * Microsoft Systems Management Server 2003

-





SYMPTOMS
New status messages are not processed, and a backlog of .sql files occur in the \SMS\inboxes\statmgr.box\retry folder. Entries that are similar to the following may be logged in the Statmgr.log file: ERROR: Could not add a SQL command to the transaction. Most likely, there is a problem with the SQL server or our connection to it. The transaction will be rolled back. WARNING: SMS_STATUS_MANAGER could not insert 365 status messages, 1539 insertion strings, and 566 attribute ID/value pairs into the database at this time but retry them in 600000 milliseconds.



CAUSE
This problem may occur when a status message is received that contains a syntax error, such as a carriage return that is embedded in the insertion string data. When the Status Manager component tries to process one of these status messages, the resulting .sql statement is not created correctly. Status Messages that contain the carriage return can be generated by various components, including the Active Directory discovery components. Because the Status Manager component processes oldest files first, new status message files are backlogged until the offending file is processed or deleted.



Hotfix information
A supported hotfix is now available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing this specific problem. This hotfix might receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next service pack that contains this hotfix.

To resolve this problem, submit a request to Microsoft Online Customer Services to obtain the hotfix. To submit an online request to obtain the hotfix, visit the following Microsoft Web site:

http://go.microsoft.com/?linkid=6294451

Note If additional issues occur or any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. To create a separate service request, visit the following Microsoft Web site:

http://support.microsoft.com/contactus/?ws=support

Prerequisites
No prerequisites are required.

Restart requirement
You do not have to restart your computer after you apply this hotfix.

Hotfix replacement information
This hotfix does not replace any other hotfixes.

File information
The English version of this hotfix has the file attributes (or later) that are listed in the following table. The dates and times for these files are listed in coordinated universal time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel.   Date         Time   Version            Size    File name --  06-Apr-2004  16:24                     13,144  Filemap.ini 20-Feb-2004 15:03  2.0.6.7           355,242  Smsupdate.exe 25-Dec-2003 08:10  2.50.2726.127     221,184  Statmgr.dll This hotfix can be applied to primary or secondary site servers, although only primary sites would experience this problem.



WORKAROUND
To work around this problem, delete the oldest .sql file in the \SMS\inboxes\statmgr.box\retry folder.



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the &quot;Applies to&quot; section.

