Catalog Incorrectly Uses Quotation Marks for Stored Procedure Parameter (309368)



The information in this article applies to:

  • Microsoft Commerce Server 2000 SP1

This article was previously published under Q309368

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 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 Commerce Server: Unable to Handle Unicode Catalog


Modification Type:MinorLast Reviewed:9/23/2005
Keywords:kbHotfixServer kbQFE kbbug kbCommServ2000preSP2fix kbCommServ2000SP2fix kbfix KB309368