Forums
This topic is locked
error message on delete file before record
Posted 31 Aug 2007 22:34:48
1
has voted
31 Aug 2007 22:34:48 Harold Rau posted:
I am using the latest version of Pure ASP File Upload Add On Pack version 1.8and getting this error message when I try to delete a file that is on the server
Microsoft OLE DB Provider for ODBC Drivers error '80040e10'
[Microsoft][ODBC Microsoft Access Driver] Too few parameters. Expected 1.
/ca/dcs/child/ScriptLibrary/incPUAddOn.asp, line 18
I have an absolute path specified and the field name of the table where the file name is located.
Is this a bug or am I doing something wrong?
Replies
Replied 03 Sep 2007 11:20:21
03 Sep 2007 11:20:21 Georgi Kralev replied:
Hi Harold,
This does not look like a bug.
It seems more as a problem with the passed parameters to the DeleteFileBeforeRecord function.
Check for example the value of MM_recordId.
You can do this by running your page and View the source (generated HTML).
Then find the hidden MM_recordId field and check if it has appropriately assigned value:
For example:
<input type="hidden" name="MM_recordId" value="1" />
Regards,
Georgi Kralev
----------------------------------
Support - www.DMXzone.com
This does not look like a bug.
It seems more as a problem with the passed parameters to the DeleteFileBeforeRecord function.
Check for example the value of MM_recordId.
You can do this by running your page and View the source (generated HTML).
Then find the hidden MM_recordId field and check if it has appropriately assigned value:
For example:
<input type="hidden" name="MM_recordId" value="1" />
Regards,
Georgi Kralev
----------------------------------
Support - www.DMXzone.com