PRB: Error Message: Wrong Number of Arguments or Invalid Property Assignment

Article translations Article translations
Article ID: 328062 - View products that this article applies to.
This article was previously published under Q328062
Expand all | Collapse all

SYMPTOMS

When you try to change a Product, and then save the changes through BizDesk, you may receive the following error message:
Number: 0x1c2
Description: Wrong number of arguments or invalid property assignment
Source: Microsoft VBScript runtime error
HelpFile:
HelpContext: 0

WORKAROUND

To work around this problem, open /Retail2002BizDesk/Catalogs/Editor/edit_Product.asp, and then change line 2142 as follows:
  • Original Code
    if not bDeny (g_dPermissions, sItem) then oFields(sItem) = variantValue(g_oDict(sItem), sItem)
    					
  • New Code
    if not bDeny (g_dPermissions, sItem) then oFields(sItem).Value = variantValue(g_oDict(sItem), sItem)
    					

MORE INFORMATION

If the following code is commented out on line 2128 of Edit_Product.asp
On Error Resume Next
				
the following error should appear as a Microsoft Internet Information Services (IIS) error:
Error Type:
Microsoft VBScript runtime (0x800A01C2)
Wrong number of arguments or invalid property assignment: 'oFields'
/Retail2002BizDesk/Catalogs/Editor/edit_Product.asp, line 2142

Properties

Article ID: 328062 - Last Review: October 24, 2002 - Revision: 1.2
APPLIES TO
  • Microsoft Commerce Server 2002 Standard Edition
Keywords: 
kberrmsg kbfix kbnofix kbpending kbprb KB328062

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com