Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

FIX: You receive an error message and the operation fails when you try to import an XML file in Commerce Server 2002 Feature Pack 1


View products that this article applies to.

Symptoms

In Microsoft Commerce Server 2002 Feature Pack 1 (FP1), when you try to import an XML file, the import operation fails and you receive an error message that is similar to the following:
Event Type: Error
Event Source: Commerce Server 2002
Event Category: None Event ID: 4101
Description: Commerce Server: The Product 'ProductName' already exists in the Catalog 'CatalogName'. Products in a catalog should be unique.
Note The import file was previously generated by exporting a catalog to an XML-based file. The products export as duplicate when they are associated with more than one category in the catalog. For example, a product that is assigned to three categories will contain three instances of the product in the generated XML file.

↑ Back to the top


Resolution

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: 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 do not have to restart your computer after you apply this hotfix. However, you must stop Microsoft Internet Information Services (IIS) before you install this hotfix. To stop the IIS services, use the following command:
IISReset /stop
After you are finished installing the hotfix, you can restart IIS by using the following command:
IISReset /start

Hotfix replacement information

This hotfix does not replace any other hotfixes.

File information

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.
  Date         Time  Version      Size     File name
  ----------------------------------------------------------
  09-Aug-2004  23:19                3,211  883504.sql
  18-Jan-2005  22:09  4.6.5236.0  959,968  Catalog.dll
  09-Nov-2004  00:43              830,023  Catalogcreate.sql

↑ Back to the top


Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

↑ Back to the top


More information

You must also update the stored procedures that are in the catalog databases for exising Commerce Server sites. For guidelines about upgrading catalog databases, follow these steps:
  1. Make sure that you back up the existing stored procedures that are in the catalog database before you install this hotfix.
  2. Run the hotfix installer. This will replace the Catalogcreate.sql script and will make sure that future unpackaged sites will receive the stored procedure update.
  3. To change the stored procedure that is in the existing site, run SQL Query Analyzer.
  4. In SQL Query Analyzer, choose the Commerce Server database that contains the catalog by running the following command:
    use DatabaseName
  5. In SQL Query Analyzer, click Open on the File menu.
  6. Locate the 883504.sql file that is included in the hotfix package, and then click OK.
  7. On the Query menu, click Execute.

    Note This will update the stored procedure in the site.
  8. Repeat steps 3 - 7 for every Commerce Server site where you experience the symptoms that are described in the "Symptoms" section.
After you apply this hotfix, you must reregister Mscscore.dll. To do this, follow these steps:
  1. Click Start, click Run, type cmd, and then click OK.
  2. Type the following command, and then press ENTER:
    regsvr32 DriveLetter:\Program Files\Common Files\Microsoft Shared\Enterprise Servers\Commerce Server\mscscore.dll
For more information about software update terminology, 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

↑ Back to the top


Keywords: KB892479, kbcommserv2002presp4fix, kbbug, kbfix, kbqfe, kbhotfixserver, kbautohotfix

↑ Back to the top

Article Info
Article ID : 892479
Revision : 4
Created on : 11/15/2007
Published on : 11/15/2007
Exists online : False
Views : 314