Microsoft KB Archive/823655

= Orphaned distribution point data in a Systems Management Server 2.0 database =

Article ID: 823655

Article Last Modified on 10/25/2006

-

APPLIES TO


 * Microsoft Systems Management Server 2.0 Standard Edition

-





SYMPTOMS
This articles describes a hotfix that addresses two different but related problems.

Problem 1
If you delete a Microsoft Systems Management Server (SMS) 2.0 secondary site, a site system that belongs to the site that you delete may still be present in the SMS SQL database on the parent site after the deletion. For example, when you delete the site, the SMS Distribution Manager may try to distribute a package to a non-existent SMS distribution point.

Problem 2
If you have a script or application that uses the SMS_DistributionPointGroup class in the SMS 2.0 software development kit (SDK) to distribute an SMS package to members of a distribution point group, SMS may target a distribution point that belonged to a child site that no longer exists.



CAUSE
Problem 1 may occur if you click Delete the site in the SMS Administrator Console but not if you click Deinstall the site. The problem may also occur if you run the preinst /DELSITE:{SiteCode,ParentCode} command to delete the site.

Both of these problems occur because, when a secondary site is removed, not all the references to the site are removed from its parent site SQL database.



Hotfix information
A supported hotfix is now available from Microsoft, but it is only intended to correct the problem that is described in this article. Only apply it to systems that are experiencing this specific problem. This hotfix may receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next SMS 2.0 that contains this hotfix.

To resolve this problem immediately, contact Microsoft Product Support Services to obtain the hotfix. For a complete list of Microsoft Product Support Services telephone numbers and information about support costs, visit the following Microsoft Web site:

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

Note In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question.

The English version of this SMS 2.0 Service Pack 4 sites 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   Size   File name -  05-Nov-2003  23:19  1,906  Update.sql Note Because of file dependencies, the most recent hotfix or feature that contains these files may also contain additional files.

Hotfix installer
Note This method is only for Intel-based computers.
 * 1) Create a folder that is accessible to your SMS site servers.
 * 2) Copy the Sms2.0-sp -kb823655-x86-enu.exe update file (where   is the service pack version) to the new folder.
 * 3) From each of the primary SMS site servers in your environment, use an account that has administrative credentials to log on to your site server.
 * 4) Exit the SMS Administrator console if it is running.
 * 5) Run the Sms2.0-spX-kb823655-x86-enu.exe file, and then follow the instructions in the wizard.

Manual installation
 Create a folder that is accessible to your SMS site servers. Run the following command, and then extract the hotfixed files to the folder you just created:

SMS2.0-SP -KB823655-X86-ENU.exe /x

Where  is the service pack version. From each of the primary SMS site servers in your environment, use an account that has administrative credentials to log on to your site server. Exit the SMS Administrator console if it is running. Stop all the SMS services. Use a SQL server query tool (such as Query Analyzer or ISQL/W) to load the Update.sql script.</li> In the SQL server query tool, click the SMS database, and then run the script.</li> Restart the SMS services.</li></ol>

<div class="status_section">

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

Keywords: kbhotfixserver kbqfe KB823655

-

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

© Microsoft Corporation. All rights reserved.