Microsoft KB Archive/890055

= 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 ID: 890055

Article Last Modified on 7/24/2007

-

APPLIES TO


 * Microsoft Systems Management Server 2003 Service Pack 1

-





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 &quot; &quot; referenced memory at &quot; &quot;. The memory could not be &quot;written&quot;.

Click on OK to terminate the program

Click on CANCEL to debug the program



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 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 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 , expand Packages, expand KB890055 - Advanced Client Hotfix -  , right-click Distribution Points, click New, and then click Distribution Points.

Distribute the hotfix
 Click Start, point to Programs, point to Systems Management Server, and then click SMS Administrator Console. On the Welcome to the New Distribution Points Wizard page, click Next. On the Copy Package page, click to select the server that you want to use as the distribution point, and then click Finish. Under Packages, right-click KB890055 - Advanced Client Hotfix - , click All Tasks, and then click Distribute Software. On the Welcome to the Distribute Package Wizard page, click Next. On the Distribution Points page, click Next to accept the defaults.</li> On the Advertise a Program page, click Yes, and then click Next.</li> On the Select a program to Advertise page, click Next to accept the defaults.</li> On the Advertisement Target page, click Create a new collection and advertise this program to it, and then click Next.</li> 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 .</li> On the Collection Membership Rules page, click the database icon.</li> In the Query Rule Properties dialog box, type a descriptive name in the Name box, and then click Edit Query Statement.</li> In the Query Statement Properties dialog box, click the Criteria tab, and then click Show Query Language.</li>  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,  is the hotfix build number that is provided in the hotfix Knowledge Base article, and   is the name of the component that has to be updated. The following table lists some possible values for the component name.

Note In this sample query, the version numbers of the components do not have leading zeros. For example, &quot;2.50.2726.4&quot; is listed in the query, but &quot;2.50.2726.0004&quot; is not. When you modify this query, we recommend that you include version numbers that have leading zeros. <pre class="fixed_text">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&quot; and

(SMS_G_System_SMS_ADVANCED_CLIENT_STATE.Version < &quot;2.50.2726.xxxx&quot; or

SMS_G_System_SMS_ADVANCED_CLIENT_STATE.Version in

( &quot;2.50.2726.4&quot;, &quot;2.50.2726.5&quot;, &quot;2.50.2726.18&quot;, &quot;2.50.2726.1&quot;, &quot;2.50.2726.16&quot; )) </li> In the Query Statement Properties dialog box, click OK three times, and then click Next.</li> On the Advertisement Name page, type a descriptive name in the Name box, and then click Next.</li> In the Advertise to Subcollections dialog box, click Advertise the program only to members of the specified collection, and then click Next.</li> On the Advertisement Schedule page, click Yes, Assign the program, specify a date and time, click Next, and then click Finish.</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. This problem was first corrected in Systems Management Server 2003 Service Pack 2.

<div class="moreinformation_section">

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

Keywords: kbqfe kbhotfixserver kbfix kbbug KB890055

-

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

© Microsoft Corporation. All rights reserved.