Microsoft KB Archive/249582
Article ID: 249582
Article Last Modified on 10/27/2006
- Microsoft Systems Management Server 2.0 Standard Edition
- Microsoft Systems Management Server 2.0 Service Pack 1
This article was previously published under Q249582
Systems Management Server (SMS) 2.0 Discovery Data Manager (DDM) may stop processing Discovery Data Records (DDRs) and generate a "Primary key violation" error message in the Ddm.log file. In the following sample log file excerpt, the name of the computer being processed is "OPGM-89." Note the space after the name of the computer being processed.
Status message error:
After DDM encounters this error, no other DDRs are processed until the problem DDR is removed from the SMS\Inboxes\DDM.box folder. This can cause a large backlog of DDRs, and over time can also cause high CPU usage.
This issue is caused by Network Discovery discovering a workstation that contains a space at the end of its NetBIOS name. Microsoft Windows NT-based clients do not allow you place a space at the end of the name. It is possible to encounter this problem with Windows NT-based workstations that are not running Windows NT.
To resolve this problem, obtain the latest service pack for Systems Management Server version 2.0. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:
236325 How to Obtain the Latest Systems Management Server 2.0 Service Pack
To work around this problem, determine which client has a name with a space at the end and remove the space from the workstation's NetBIOS name. To determine which client is causing this problem:
- Check the Ddm.log file to determine the name of the workstation. You see a line just before the "Primary Key error" message similar to:
==>Name = <OPGM-81 >
The name between the brackets is the name of the workstation.
- Stop the SMS_Executive service on the site server.
- Find the problem DDR in the SMS\Inboxes\DDM.box folder by performing a text search on all files containing the computer name. In this example, search for "<OPGM-81 >".
- Delete all DDRs that you locate with this search.
- On the workstation itself, remove the space from the end of the NetBIOS name.
You may have to delete multiple DDRs from the DDM.box folder, depending on how many times the workstation has been discovered.
Microsoft has confirmed this to be a problem in Systems Management Server version 2.0 This problem was first corrected in Systems Management Server version 2.0 Service Pack 2..
Additional query words: prodsms
Keywords: kbbug kbfix kbsms200sp2fix KB249582