Microsoft KB Archive/922359

= The SMS_HIERARCHY_MANAGER component of Systems Management Server 2003 may log Event ID 3304 and the following error message in the System event log: “Cannot update the Sites table, try this later” =

Article ID: 922359

Article Last Modified on 2/8/2007

-

APPLIES TO


 * Microsoft Systems Management Server 2003

-





SYMPTOMS
In Microsoft Systems Management Server 2003, the SMS_HIERARCHY_MANAGER component may log Event ID 3304 in the System event log. An error message that resembles the following is logged together with this event:

Cannot update the Sites table, try this later.

Additionally, an error message that resembles the following is logged in the Hman.log file:

9/26/2005 2:23:29 PM Site  in Sites table: Site status = 1, Detailed status = 1

9/26/2005 2:23:29 PM Processing site control file: Site  File  :\SMS\inboxes\hman.box\VST1CK7O.CT2

9/26/2005 2:23:29 PM Update the Sites table: Site= Parent=

9/26/2005 2:23:29 PM *** IF NOT EXISTS (select SiteCode from Sites where SiteCode = ' ') insert into Sites (SiteCode, SiteName, ReportToSite, Status, DetailedStatus, TimeStamp, SomeId, SiteType, BuildNumber, Version, SiteServer, InstallDir, TimeZoneInfo) values (&quot; &quot;, &quot; &quot;, &quot;&quot;, 1, 1, 0, &quot;&quot;, 2, 3174, &quot;2.50.3174.1018&quot;, &quot; &quot;, &quot; :\SMS&quot;, &quot;00000168 0000 000A 0000 0005 0002 0000 0000 0000 00000000 0000 0004 0000 0001 0002 0000 0000 0000 FFFFFFC4&quot;)~ ELSE update Sites set SiteCode = &quot; &quot;, SiteName = &quot; &quot;, ReportToSite = &quot;&quot;, Status = 1, DetailedStatus = 1, TimeStamp = 0, SomeId = &quot;&quot;, SiteType = 2, BuildNumber = 3174, Version = &quot;2.50.3174.1018&quot;, SiteServer = &quot; &quot;, InstallDir = &quot; :\SMS&quot;, TimeZoneInfo = &quot;00000168 0000 000A 0000 0005 0002 0000 0000 0000 00000000 0000 0004 0000 0001 0002 0000 0000 0000 FFFFFFC4&quot; where SiteCode = &quot; &quot;

9/26/2005 2:23:29 PM *** [42000][0][Microsoft][ODBC SQL Server Driver][SQL Server]Cannot load the DLL smsxp.dll, or one of the DLLs it references. Reason: 126(The specified module could not be found.). : xp_SMS_notification

9/26/2005 2:23:29 PM Cannot update the Sites table, try this later

9/26/2005 2:23:29 PM STATMSG: ID=3304 SEV=E LEV=M SOURCE=&quot;SMS Server&quot; COMP=&quot;SMS_HIERARCHY_MANAGER&quot; SYS= SITE=  PID=1960 TID=3400 GMTDATE=Mon Sep 26 19:23:29.430 2005 ISTR0=&quot;BF4&quot; ISTR1=&quot;&quot; ISTR2=&quot;&quot; ISTR3=&quot;&quot; ISTR4=&quot;&quot; ISTR5=&quot;&quot; ISTR6=&quot;&quot; ISTR7=&quot;&quot; ISTR8=&quot;&quot; ISTR9=&quot;&quot; NUMATTRS=0



CAUSE
Typically, this issue occurs if one or more Microsoft C Runtime Library files or Microsoft Foundation Class Library files are missing or are not registered. Specifically, a missing Msvcr70.dll file is known to cause this issue.

Note The Msvcr70.dll file is a Microsoft Visual C Runtime Library file.

Many Microsoft and third-party programs use Microsoft C Runtime Library files and Microsoft Foundation Class Library files. If you remove a program that uses one of these files, the uninstall program may prompt you to remove the file. This issue may occur if the uninstall program does not detect that other programs use the file.



RESOLUTION
To resolve this issue, make sure that the Msvcr70.dll file exists in the %Windir%\System32 folder. If the Msvcr70.dll file does not exist in this folder, copy a version of the file from the SMS\Bin\i386\System32 folder to the %Windir%\System32 folder. Then, register the file by typing the following command at a command prompt:

regsvr32 msvcr70.dll

Note If you receive a &quot;DllRegisterServer entry point was not found&quot; error message when you run this command, you can safely ignore it.

Make sure that the following Microsoft C Runtime Library files and Microsoft Foundation Class Library files are also installed in the %Windir%\System32 folder.

Note These files are located in the SMS\Bin\i386\System32 folder.
 * Mfc42.dll
 * Mfc42u.dll
 * Mfc70.dll
 * Mfc70u.dll
 * Msvci70.dll
 * Msvcirt.dll
 * Msvcp50.dll
 * Msvcp60.dll
 * Msvcp70.dll
 * Msvcr70.dll
 * Msvcrt.dll
 * Msvcrt20.dll
 * Msvcrt40.dll

If one or more of these files are missing from the in the %Windir%\System32 folder, copy them from the SMS\Bin\i386\System32 folder. Then, register the files by running the regsvr32 command at a command prompt.

Important If you replace or register any of these files, you must restart the SMS_EXECUTIVE service. To do this, follow these steps:
 * 1) Click Start, point to All Programs, click Systems Management Server, and then click SMS Administrator Console.
 * 2) In SMS Administrator Console, expand Site Database , expand Tools, right-click SMS Service Manager, and then click Start SMS Service Manager.
 * 3) In SMS Service Manager, expand  , and then expand Components.
 * 4) Locate and then click SMS_HIERARCHY_MANAGER.
 * 5) In the results pane, click SMS_HIERARCHY_MANAGER, and then click the Query icon.
 * 6) On the menu bar, click the Stop icon, and then click the Start icon.
 * 7) When the SMS_HIERARCHY_MANAGER component restarts, check the Hman.log file. Make sure that the error message that is mentioned in the &quot;Symptoms&quot; section is not logged in this file.

Keywords: kbtshoot kbprb KB922359

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.