Signup · Login
Stardeveloper.com  
Home · Tutorials · Forums · ASP.NET Newsletter Application · Web Hosting Plans · Faisal Khan's Blog · Contact
Forums : ASP : ADO/ODBC : INSERT.asp ERROR (Image DB upload) Signup · Login
Author Thread
INSERT.asp ERROR (Image DB upload)
Posted in tutorial: Uploading Files into an Access Database using plain ASP
·  Duran
User
Joined: 16 Apr 2005
Total Posts: 2

INSERT.asp ERROR (Image DB upload)

Posted: 16 Apr 2005
I attempted to run the Image Upload script, however i encountered an error. I honestly haven't gone through everything trying different variations -- then again its harder to debug someone else's work then your own. Anyway my Error is...

///error///
File INSERT.ASP
Line: 112
Error: Item cannot be found in the collection corresponding to the requested name or ordinal.
//end of error//

This is what is at line 112.....

///script//
Line 104 --> rs.Open "Files", connStr, 2, 2

' Adding data
rs.AddNew
rs("File Name") = fileName
rs("File Size") = fileSize
rs("File Data").AppendChunk fileData
rs("Content Type") = contentType
**Line 112--> rs("First Name") = fnameInput
rs("Last Name") = lnameInput
rs("Profession") = profession
rs.Update

rs.Close
Line 118--> Set rs = Nothing

//end of script//
I've checked the correct spelling of the lnameInput in the INSERT.htm

Let me know if you come up with anything...
If you want to test the LIVE version please goto....
www.uedhq.com/ImageLoader/insert.htm

Thanks in advanced!
·  jamisonburrous08
User
Joined: 21 Jul 2007
Total Posts: 3
RE: INSERT.asp ERROR (Image DB upload)
Posted: 21 Jul 2007
the error you are referring to is:

The specified field does not exist. Verify spelling, capitalization, and that the field actually exist.


James Jones
Want to leave a comment? Login or Register for free!

Users Who Have Visited This Thread In Last 24 Hours
1 Visitor

Login to post a comment or start a new thread
UserName Or Email Address:       Password:       Auto-Login:    
· Create New User Account
· Send Forgotten Password by Email
 
© 1999 - 2010 Stardeveloper.com, All Rights Reserved.