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

This article was previously published under Q328062
This article has been archived. It is offered "as is" and will no longer be updated.
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
HelpContext: 0
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)					
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

Article ID: 328062 - Last Review: 12/07/2015 12:20:42 - Revision: 1.2

Microsoft Commerce Server 2002 Standard Edition

  • kbnosurvey kbarchive kberrmsg kbfix kbnofix kbpending kbprb KB328062