An access violation may occur in the SMS Agent Host service when you run a software inventory on an Advanced Client that is running SMS 2003 with SP1

Article translations Article translations
Article ID: 890055 - View products that this article applies to.
This article has been archived. It is offered "as is" and will no longer be updated.
Expand all | Collapse all

On This Page

Symptoms

When you run a software inventory on an Advanced Client that is running Microsoft Systems Management Server (SMS) 2003 with Service Pack 1 (SP1), an access violation may occur in the SMS Agent Host service (Ccmexec.exe). When this problem occurs, the SMS Agent Host service stops responding. You may also receive the following error message:
CcmExec.exe
Application Error
The instruction at "memory_address" referenced memory at "memory_address". The memory could not be "written".

Click on OK to terminate the program
Click on CANCEL to debug the program

Resolution

Service pack information

To resolve this problem, obtain the latest service pack for Systems Management Server 2003. For more information, click the following article number to view the article in the Microsoft Knowledge Base:
885643 How To obtain the latest Systems Management Server 2003 service pack

Hotfix information

A supported hotfix is 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 software update that contains this hotfix.

If the hotfix is available for download, there is a "Hotfix download available" section at the top of this Knowledge Base article. If this section does not appear, contact Microsoft Customer Service and Support to obtain the hotfix.

Note If additional issues occur or if 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. For a complete list of Microsoft Customer Service and Support telephone numbers or to create a separate service request, visit the following Microsoft Web site:
http://support.microsoft.com/contactus/?ws=support
Note The "Hotfix download available" form displays the languages for which the hotfix is available. If you do not see your language, it is because a hotfix is not available for that language.

Prerequisites

No prerequisites are required.

Restart requirement

You must restart your computer after you apply this hotfix.

Hotfix replacement information

This hotfix does not replace any other hotfixes. The English version of this hotfix has the file attributes (or later file attributes) 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.

File information

   Date         Time   Version         Size    File name
   ------------------------------------------------------------
   20-Oct-2004  10:35  2.50.3174.1107  59,904  Invdatastore.dll

Hotfix installation instructions

Apply this hotfix to each SMS 2003 SP1 Advanced client in the SMS hierarchy. Also, apply the hotfix to your central site server. When you apply the hotfix, you may automatically create the SMS package and program that you will use to distribute the hotfix. To create the package and program and to distribute the hotfix, follow these steps.
Create the package and program
  1. Extract the SMS2003-SP1-KB890055-X86-ENU.exe hotfix file to a location that all your SMS 2003 site servers can access.
  2. Log on to the SMS site server computer by using an account that has administrative credentials.
  3. Double-click the hotfix file.
  4. In the Welcome to the Systems Management Server 2003 KB890055 Setup Wizard, click Next.
  5. On the License Agreement page, click I agree, and then click Next.
  6. In the KB890055 Installation dialog box, click Yes, I want to create a package and program now, and then click Next.
  7. On the Create a Package and Program page, click Next to accept the default settings.
  8. On the Specify Package and Source Location page, specify a location for the source files, or accept the default location.
  9. Click Next two times, and then click Finish.
  10. In the SMS Administrator console, expand Site Database (SiteCode-SiteName), expand Packages, expand KB890055 - Advanced Client Hotfix - SiteCode, right-click Distribution Points, click New, and then click Distribution Points.
Distribute the hotfix
  1. Click Start, point to Programs, point to Systems Management Server, and then click SMS Administrator Console.
  2. On the Welcome to the New Distribution Points Wizard page, click Next.
  3. On the Copy Package page, click to select the server that you want to use as the distribution point, and then click Finish.
  4. Under Packages, right-click KB890055 - Advanced Client Hotfix - SiteCode, click All Tasks, and then click Distribute Software.
  5. On the Welcome to the Distribute Package Wizard page, click Next.
  6. On the Distribution Points page, click Next to accept the defaults.
  7. On the Advertise a Program page, click Yes, and then click Next.
  8. On the Select a program to Advertise page, click Next to accept the defaults.
  9. On the Advertisement Target page, click Create a new collection and advertise this program to it, and then click Next.
  10. On the New Collection page, type a descriptive name in the name box, and then click Next.

    For example, type KB890055 - Advanced Client Hotfix Clients.
  11. On the Collection Membership Rules page, click the database icon.
  12. In the Query Rule Properties dialog box, type a descriptive name in the Name box, and then click Edit Query Statement.
  13. In the Query Statement Properties dialog box, click the Criteria tab, and then click Show Query Language.
  14. Copy the following sample query, and then paste the sample query to the Query Statement box. Modify the query to apply to your environment.

    In this sample query, XXXX is the hotfix build number that is provided in the hotfix Knowledge Base article, and COMPONENT_NAME is the name of the component that has to be updated. The following table lists some possible values for the component name.
    Collapse this tableExpand this table
    Component nameDisplay Name
    CcmFrameworkCCM Framework
    CcmPolicyAgent CCM Policy Agent
    CcmStatusAgent CCM Status and Event Agent
    SmsClientSMS Client Core Components
    SmsCommonSMS Client Shared Components
    SmsInventorySMS Inventory Agent
    SmsRemoteTools SMS Remote Tools Agent
    SmsSoftwareDistribution SMS Software Distribution Agent
    SmsSoftwareMetering SMS Software Metering Agent
    SMSSourceUpdateAgentSMS Source List Update Agent
    Note In this sample query, the version numbers of the components do not have leading zeros. For example, "2.50.2726.4" is listed in the query, but "2.50.2726.0004" is not. When you modify this query, we recommend that you include version numbers that have leading zeros.
    select *  from  SMS_R_System inner join SMS_G_System_SMS_ADVANCED_CLIENT_STATE on SMS_G_System_SMS_ADVANCED_CLIENT_STATE.ResourceID = SMS_R_System.ResourceId where SMS_R_System.ClientType = 1 and SMS_G_System_SMS_ADVANCED_CLIENT_STATE.Name = COMPONENT_NAME" and (SMS_G_System_SMS_ADVANCED_CLIENT_STATE.Version < "2.50.2726.xxxx" or SMS_G_System_SMS_ADVANCED_CLIENT_STATE.Version in ( "2.50.2726.4", "2.50.2726.5", "2.50.2726.18", "2.50.2726.1", "2.50.2726.16" ))
  15. In the Query Statement Properties dialog box, click OK three times, and then click Next.
  16. On the Advertisement Name page, type a descriptive name in the Name box, and then click Next.
  17. In the Advertise to Subcollections dialog box, click Advertise the program only to members of the specified collection, and then click Next.
  18. On the Advertisement Schedule page, click Yes, Assign the program, specify a date and time, click Next, and then click Finish.

Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section. This problem was first corrected in Systems Management Server 2003 Service Pack 2.

More information

For more information about the terminology that is used in this article, click the following article number to view the article in the Microsoft Knowledge Base:
824684 Description of the standard terminology that is used to describe Microsoft software updates

Properties

Article ID: 890055 - Last Review: October 26, 2013 - Revision: 4.0
Applies to
  • Microsoft Systems Management Server 2003 Service Pack 1
Keywords: 
kbnosurvey kbarchive kbautohotfix kbqfe kbhotfixserver kbfix kbbug KB890055

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com