Forums

ASP

This topic is locked

File Field in forms breaks insert record

Posted 19 Jun 2006 06:31:07
1
has voted
19 Jun 2006 06:31:07 chris holloway posted:
I updated to 8.02, now if I have a form with a "file field" in it, it will not insert the record.
Therefore cannot use Pure asp upload.
What is going on ?
Is there a way to un install the update, or should I remove everything and install 8.0 again ?
Anyone else had this problem ?

ASP/ Access Database

Replies

Replied 19 Jun 2006 06:36:29
19 Jun 2006 06:36:29 chris holloway replied:
Here is the error :

Microsoft OLE DB Provider for ODBC Drivers error '80040e57'
[Microsoft][ODBC Microsoft Access Driver]Invalid string or buffer length
/admin/test.asp, line 26

Replied 20 Jun 2006 01:27:28
20 Jun 2006 01:27:28 Wim Conix replied:
Chris,

I was seriously thinking to uninstall the update myself, but didn't dare so far because I have so many pages that are "updated" to the update. I really don't know what's gonna happen with them, because they have new code in it, generated by the update.
I'll let you know if I find out more...

Greetzz,

Wim

Wim Conix
www.image-belle.com
Replied 02 Jun 2007 02:15:46
02 Jun 2007 02:15:46 Charles Yakish replied:
Hi,

I am sure someone has the solution to this. i have been searching but cant find the answer.

I create insert on page, change the text field to a file field and it breaks the page (wont submit)

anyone have a work around please?
Replied 09 Mar 2008 01:21:25
09 Mar 2008 01:21:25 Seth Talbott replied:
Change your form post type from "multipart/ form-data" to "application/x-www-form-urlencoded" and it will fix it. I saw this thread (after wasting hours of troubleshooting) and saw that someone recommended it. It was a 2 second fix and now my posts actually get inserted in the DB.

Hat tip to Rob Dekoch @ Macromedia Technical Support from a Google Groups post from 2002.<u></u>

Reply to this topic