Thread: ERROR in uploading image
Results 1 to 2 of 2
Related
-
Parse error, parse error unexpected T_variable. Help appreciated! Forum: PHP Forum
Replies: 8 -
DB-Library error: General SQL Server error: Check messages from the SQL Server. Forum: General Discussion
Replies: 0 -
Error MySQL Error: 1064 - subqueries Forum: PHP Forum
Replies: 0 -
Getting crazy with image uploading Forum: PHP Forum
Replies: 1 -
uploading? Forum: Web Hosting Forum
Replies: 1
-
06-15-2004, 12:49 AM #1
ERROR in uploading image~
hello... i new to ASP script, so i have face some problem when i try to upload image from client site to save it at server site. Corrently the problem when i try to upload *.gif file the error message was occur as below :-
Microsoft OLE DB Provider for ODBC Driverserror '80040e14'[Microsoft][ODBC Microsoft Access Driver] The changes you requested to the table were not successful because they would create duplicate values in the index, primary key, or relationship. Change the data in the field or fields that contain duplicate data, remove the index, or redefine the index to permit duplicate entries and try again.
anyone can tell me what is error cause the error message as above?
Besides that, what is the difference between Set Files = Server.CreateObject("Scripting.Dictionary") and Set upl = Server.CreateObject("SoftArtisans.FileUp") ?? For uploading image (*.txt,*.gif and so on) which method is easy and efficiency to use?
thanks a lot.!
-
09-30-2004, 02:10 PM #2
Some information...
Hello!
I'll try to answer your questions in order:
Microsoft OLE DB Provider for ODBC Driverserror '80040e14'[Microsoft][ODBC Microsoft Access Driver] The changes you requested to the table were not successful because they would create duplicate values in the index, primary key, or relationship. Change the data in the field or fields that contain duplicate data, remove the index, or redefine the index to permit duplicate entries and try again.
Besides that, what is the difference between Set Files = Server.CreateObject("Scripting.Dictionary") and Set upl = Server.CreateObject("SoftArtisans.FileUp") ??
Scripting.Dictionary is typically used to parse out information into a pseudo array. You can find a good introduction article located at http://www.winnetmag.com/Articles/Index.cfm and an uploading example at http://juicystudio.com/tutorial/asp/upload.asp
As far as which I would use? That depends on the situation. I'm more familiar with using Scripting.Dictionary (for uploading multiple files or non-text files); however, the custom component you specified might have more features. Also, if you're considering ASP.NET, the .NET Upload component is a dream come true--very simple, yet very expandable to most all tasks.
Hope this information helps!
-David
Cloudjiffy- PaaS for Developers
10-05-2020, 12:30 AM in Web Hosting Forum