Microsoft KB Archive/328062

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

Article ID: 328062

Article Last Modified on 10/24/2002

-

APPLIES TO


 * Microsoft Commerce Server 2002 Standard Edition

-



This article was previously published under Q328062



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

Additional query words: plutonium

Keywords: kberrmsg kbfix kbnofix kbprb kbpending KB328062

-

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

© Microsoft Corporation. All rights reserved.