Persits Software, Inc. Knowledge Base Articles

Invalid data format. You must include ENCTYPE="multipart/form-data" in your form

Problem Description

When uploading files via certain non-standard web browsers such as Opera, the following error may occur when calling Upload.Save:

Persits.Upload.1 error '800a000e'
Invalid data format. You must include ENCTYPE="multipart/form-data" in your form.

Solution

This bug has been fixed by version 2.1.0.1 (service release). An evaluation version of AspUpload 2.1.0.1 (or later) can be downloaded from www.aspupload.com.

Note that this bug is only fixed in the method Upload.Save but not in SaveToMemory or SaveEncrypted . The next major release will fix this bug entirely.