Search Persits Software Knowledge Base

 

Article PS02032291

Wrong number of arguments or invalid property assignment error

Problem Description

When calling the method Upload.Save with no arguments, the following error is generated:

Microsoft VBScript runtime error '800a01c2'
Wrong number of arguments or invalid property assignment: 'Save'

Solution

The Save method can be called with no arguments starting with version 3.0, of AspUpload which is equivalent to calling SaveToMemory in previous versions.

The above error message indicates that your server is still running version 2.1 or earlier of AspUpload. Therefore, you should either upgrade to AspUpload 3.0+ or replace Save by SaveToMemory . The latter is supported by versions 2.x and 3.x.

Created: 3/22/2002 3:59:56 PM
Last Modified: 12/15/2010 3:25:40 PM

Copyright © Persits Software, Inc. 1998 - 2018
For technical support, write to support@persits.com.