Article ID: 309368 - Last Review: September 23, 2005 - Revision: 1.1

Catalog Incorrectly Uses Quotation Marks for Stored Procedure Parameter

This article was previously published under Q309368
Expand all | Collapse all

SYMPTOMS

When the QueryCatalogInfo pipeline component makes a call to the sp_GetResults_for_AllColumns stored procedure, if an item has a double-byte character set (or Unicode) ProductID, the call may fail to return the selected item.

CAUSE

The call that the stored procedure implements escapes the N around the ProductID or title. Because the query is broken down to ...N''... (which is invalid), the SQL operation fails. Only a single, straight quotation mark (') should appear after the N.

RESOLUTION

To resolve this problem, obtain the latest service pack for Commerce Server 2000. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:
297216  (http://support.microsoft.com/kb/297216/EN-US/ ) INFO: How to Obtain the Latest Commerce Server 2000 Service Pack
The English version of this fix should have the following file attributes or later:
   Date         Time   Version     Size     File name       Platform
   -----------------------------------------------------------------
   04-Oct-2001  13:50  4.0.0.2095  356,624  Stdretcomp.dll  i386
				

STATUS

Microsoft has confirmed that this is a problem in Commerce Server 2000. This problem was first corrected in Commerce Server 2000 Service Pack 2 (SP2).

MORE INFORMATION

For additional information about a dependent hotfix, click the article number below to view the article in the Microsoft Knowledge Base:
305351  (http://support.microsoft.com/kb/305351/EN-US/ ) Commerce Server: Unable to Handle Unicode Catalog

APPLIES TO
  • Microsoft Commerce Server 2000 Service Pack 1
Keywords: 
kbbug kbfix kbcommserv2000presp2fix kbqfe kbcommserv2000sp2fix kbhotfixserver KB309368
 

Article Translations