Microsoft KB Archive/838465

= You receive a &quot;VBScript runtime&quot; error message when you browse a product variant in a Commerce Server 2002 Web site =

Article ID: 838465

Article Last Modified on 6/1/2004

-

APPLIES TO


 * Microsoft Commerce Server 2002 Standard Edition

-



SYMPTOMS
When you try to display a product variant in a Microsoft Commerce Server 2002 Web site, you may receive the following error:

Error Type: Microsoft VBScript runtime (0x800A01A8) Object required:

'MSCSCatalogAttribs.Value(...)' /retail/product.asp, line 358



CAUSE
This problem may occur if your Microsoft Commerce Server 2000 Web site contains a product catalog and then you upgrade Commerce Server 2000 to Commerce Server 2002.



RESOLUTION
To resolve this issue for a Web site that is based on a Commerce Server solution site, modify the Product.asp file. After you complete these changes, you can browse the product variants on your Commerce Server 2002 site.

To update the Product.asp file, follow these steps:  Locate the Product.asp file in the following folder:



 Right-click Product.asp, point to Open With, and then click Choose Program. In the Program list, click Notepad, and then click OK.  In Notepad locate the following code: listGetVariantPropertiesToShow(ByVal fldsProps) If (fldProp.Name <> &quot;TimeStamp&quot;) And (fldProp.Name <> &quot;cy_list_price&quot;) Then   Replace the original code with the following code: listGetVariantPropertiesToShow(ByVal fldsProps) If (fldProp.Name <> &quot;TimeStamp&quot;) And (fldProp.Name <> &quot;cy_list_price&quot;) And (fldProp.Name <> &quot;VariantID&quot;) Then  Save your changes in Notepad.</ol>

<div class="status_section">

STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the &quot;Applies to&quot; section.

<div class="moreinformation_section">

MORE INFORMATION
For more information about Commerce Server 2002, visit the following Microsoft Web site.

http://www.microsoft.com/commerceserver

Keywords: kbprb KB838465

-

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

© Microsoft Corporation. All rights reserved.