Microsoft KB Archive/309368

= Catalog Incorrectly Uses Quotation Marks for Stored Procedure Parameter =

Article ID: 309368

Article Last Modified on 9/23/2005

-

APPLIES TO


 * Microsoft Commerce Server 2000 Service Pack 1

-



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

Additional query words: quotes apostrophe DBCS

Keywords: kbbug kbfix kbcommserv2000presp2fix kbqfe kbcommserv2000sp2fix kbhotfixserver KB309368

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.