Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

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


View products that this article applies to.

This article was previously published under Q328062

↑ Back to the top


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

↑ Back to the top


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)
    					

↑ Back to the top


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

↑ Back to the top


Keywords: KB328062, kbprb, kbpending, kbnofix, kbfix, kberrmsg

↑ Back to the top

Article Info
Article ID : 328062
Revision : 3
Created on : 10/24/2002
Published on : 10/24/2002
Exists online : False
Views : 323