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: It takes a long time to import a catalog file by using the Replace import type if there is an existing catalog in Commerce Server


View products that this article applies to.

Symptoms

In Microsoft Commerce Server 2007 or in Microsoft Commerce Server 2009, you select the Replace import type to perform a catalog import. If the catalog data exists, the import takes a very long time to be completed.

For example, if you import a new catalog, the import takes about 10 minutes. If you use the Replace import type to import the same catalog file again after the first import, the import takes an hour to be completed.

↑ Back to the top


Cause

The issue occurs because ctlg_RepairCatalogsAfterImport selects an inefficient query plan for the catalog import process.

↑ 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 the problem described in this article. 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 website: 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

You must have one of the following versions installed:
  • Microsoft Commerce Server 2007 SP2
  • Microsoft Commerce Server 2009

Restart requirements

You do not have to restart the computer. However, you must restart Internet Information Services (IIS) and the Commerce Server Catalog Import Host COM+ application after you apply this hotfix. To restart IIS, at a command prompt, type the following command, and then press ENTER:
IISRESET /RESTART
Note This option stops and then restarts all IIS services that are running.

Replacement information

This hotfix does not replace a previously released hotfix.

File information

The global version of this hotfix uses a Microsoft Windows Installer package to install the hotfix. The dates and the times for these files are listed in Coordinated Universal Time (UTC) in the following table. When you view the file information, the date is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time item in Control Panel.
For Microsoft Commerce Server 2007
File nameFile versionFile sizeDateTimePlatform
Catalogcreate.sqlNot applicable1,153,42125-Feb-201110:38Not applicable
For Microsoft Commerce Server 2009
File nameFile versionFile sizeDateTimePlatform
Catalogcreate.sqlNot applicable1,157,10325-Feb-201110:38Not applicable
Cs2009hotfixhelper.exe6.0.4171.4013,08028-Feb-201108:01x86

Hotfix installation information

After you extract the hotfix package, you obtain the following files:
  • For Commerce Server 2007:
    • CommerceServer2007SP2-KB2513798-ENU.exe
    • KB2513798.sql
    Install the CommerceServer2007SP2-KB2513798-ENU.exe file to update the Catalogcreate.sql file.
  • For Commerce Server 2009:
    • CommerceServer2007SP3-KB2513798-ENU.exe
    • KB2513798.sql
    Install the CommerceServer2007SP3-KB2513798-ENU.exe file to update the Catalogcreate.sql file.
You have to install the appropriate hotfix to make sure that this issue does not occur for new catalog databases.

Additionally, you must run the KB2513798.sql file against the existing catalog databases to update their stored procedures.

↑ Back to the top


More Information

For more information about how to import catalogs in Commerce Server, visit the following MSDN webpage:

↑ Back to the top


Keywords: kbautohotfix, kbhotfixserver, kbfix, kbqfe, kbexpertiseinter, kbsurveynew, kb

↑ Back to the top

Article Info
Article ID : 2513798
Revision : 2
Created on : 9/25/2018
Published on : 9/25/2018
Exists online : False
Views : 241