You receive a "VBScript runtime" error message when you browse a product variant in a Commerce Server 2002 Web site (838465)
The information in this article applies to:
- Microsoft Commerce Server 2002
SYMPTOMSWhen 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
CAUSEThis 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.RESOLUTIONTo 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:
Drive :\Inetpub\wwwroot\SiteName - 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 <> "TimeStamp") And (fldProp.Name <> "cy_list_price") Then - Replace the original code with the following code:
listGetVariantPropertiesToShow(ByVal fldsProps)
If (fldProp.Name <> "TimeStamp") And (fldProp.Name <> "cy_list_price")
And (fldProp.Name <> "VariantID") Then - Save your changes in Notepad.
STATUSMicrosoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
Modification Type: | Major | Last Reviewed: | 6/1/2004 |
---|
Keywords: | kbprb KB838465 kbAudDeveloper |
---|
|