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: Virtual catalog search issues occur when you use the CatalogSearch class in Commerce Server 2009


View products that this article applies to.

Symptoms

When you use the CatalogSearch class to search the catalog items in a virtual catalog on a computer that is running Microsoft Commerce Server 2009, one of the following issues may occur:
  • If you set the SortProperty property of the SearchOptions property for this search to DisplayName or to Name, the search fails. Additionally, you receive an error message that resembles the following:
    invalid column name 'DisplayName'
  • If the virtual catalog contains two items that meet the following conditions, only the first item in the virtual catalog is returned:
    • Both items are of the same object identifier (also known as OID) value.
    • One item is from the base catalog, and the other item is from a virtual category that is created in the virtual catalog.
  • When you set the SortProperty property of the SearchOptions property to cy_list_price, the search result has an incorrect sort order if the price is overwritten in the virtual catalog. 
  • When you search the virtual catalog and a base catalog in one request, the search may fail and generate an error. Additionally, an exception of type Microsoft.CommerceServer.Catalog.CatalogDatabaseException occurs.
  • When the virtual catalog contains items from different base catalogs, and when these items have the same object identifier value, only the first item in the first base catalog is returned.

↑ 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.

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, submit a request to 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

To apply this hotfix, you must have Commerce Server 2009 installed.

Restart requirement

You do not have to restart the computer after you apply this hotfix. 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, open a command prompt, type the following command, and then press ENTER: 
IISRESET /RESTART
Note The /RESTART option stops and then restarts all IIS services that are running.

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 item in Control Panel.

File nameFile versionFile sizeDateTimePlatform
Catalogcreate.sqlNot applicable1,156,47713-Jul-201011:53Not applicable
Cs2009hotfixhelper.exe6.0.4171.2512,13613-Jul-201016:17x86

Installation instructions

  1. Extract the following files from the hotfix package:
    • CommerceServer2007SP3-KB2280532-ENU.exe
    • Hotfix.txt
    • KB2280532.sql
  2. Install the CommerceServer2007SP3-KB2280532-ENU.exe file to update the Catalogcreate.sql file of Commerce Server 2009. This step makes sure that these issues do not occur in any new catalog databases.
  3. Run the KB2280532.sql file against the existing catalog databases to resolve these issues.

↑ 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

For more information about the CatalogSearch class, visit the following Microsoft Developer Network (MSDN) website: For more information about the SortProperty property, visit the following MSDN website:

↑ Back to the top


Keywords: kbautohotfix, kbqfe, kbhotfixserver, kbsurveynew, kbexpertiseadvanced, kb

↑ Back to the top

Article Info
Article ID : 2280532
Revision : 2
Created on : 9/19/2018
Published on : 9/19/2018
Exists online : False
Views : 326