473,399 Members | 2,159 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,399 software developers and data experts.

AspSmartUpload only works half the time

Due to my browser being danishm the error message will not mean much to most of you. It is an "Unspecified problem" with "Provider (0x80004005)"
POST Data: error ''80020009''

The error only arrives with some apperently random files being uploaded.

Please Help
The codes being used for the upload is:
Response.Write "<form method=""post"" action=""./item/upload.asp"""
Response.Write "enctype=""multipart/form-data"" name=""UploadForm"">"
Response.Write "<input type=""hidden"" name=""itemidq"" value="""
Response.Write "" & rs("itemID") & """>"
Response.Write "<input type=""file"" name=""fileen"" size=""30"">"
Response.Write "<input type=""submit"" value=""Upload"" name=""send"">"
Response.Write "</form>"

And Upload.Asp Contains

Set myupload = Server.CreateObject("aspSmartUpload.SmartUpload")

myupload.AllowedFilesList = "gif,jpg,jpeg,GIF"
myupload.MaxFileSize = 50000

myupload.Upload

sqlDelete = "DELETE FROM imageData WHERE imageID = " & myupload.Form("itemidq")
conn.Execute(sqlDelete)

''Create Connection
''Set Conn = Server.CreateObject("ADODB.Connection")
''Conn.Open "Provider=Microsoft.Jet.OLEDB.4.0;" & _
'' "Data Source=" & Server.MapPath("data.mdb")

Set Rs = Server.CreateObject("ADODB.recordset")
Rs.Open "SELECT * FROM imageData", conn,3,3

''Select each file
For each file In myupload.Files
If not file.IsMissing Then ''Check for missing file
''Add the current file in database
Rs.AddNew
file.FileToField Rs("imgDta")
''Rs.Fields("imgDta") = "..."
Rs("imageID") = myupload.Form("itemidq")
Rs.Update
intCount = intCount + 1
End If

-----------------------------
This message is posted by http://asp.forumszone.com

Jul 22 '05 #1
2 2563
so try something else... google it....or contact them
and why make multiple posts about it over and over all over the place
"SayMyName" <sp**@magics.dk> wrote in message
news:91*************@asp.forumszone.com...
Due to my browser being danishm the error message will not mean much to
most of you. It is an "Unspecified problem" with "Provider (0x80004005)"
POST Data: error ''80020009''

The error only arrives with some apperently random files being uploaded.

Please Help
The codes being used for the upload is:
Response.Write "<form method=""post"" action=""./item/upload.asp"""
Response.Write "enctype=""multipart/form-data"" name=""UploadForm"">"
Response.Write "<input type=""hidden"" name=""itemidq"" value="""
Response.Write "" & rs("itemID") & """>"
Response.Write "<input type=""file"" name=""fileen"" size=""30"">"
Response.Write "<input type=""submit"" value=""Upload"" name=""send"">"
Response.Write "</form>"

And Upload.Asp Contains

Set myupload = Server.CreateObject("aspSmartUpload.SmartUpload")

myupload.AllowedFilesList = "gif,jpg,jpeg,GIF"
myupload.MaxFileSize = 50000

myupload.Upload

sqlDelete = "DELETE FROM imageData WHERE imageID = " &
myupload.Form("itemidq")
conn.Execute(sqlDelete)

''Create Connection
''Set Conn = Server.CreateObject("ADODB.Connection")
''Conn.Open "Provider=Microsoft.Jet.OLEDB.4.0;" & _
'' "Data Source=" & Server.MapPath("data.mdb")

Set Rs = Server.CreateObject("ADODB.recordset")
Rs.Open "SELECT * FROM imageData", conn,3,3

''Select each file
For each file In myupload.Files
If not file.IsMissing Then ''Check for missing file
''Add the current file in database
Rs.AddNew
file.FileToField Rs("imgDta")
''Rs.Fields("imgDta") = "..."
Rs("imageID") = myupload.Form("itemidq")
Rs.Update
intCount = intCount + 1
End If

-----------------------------
This message is posted by http://asp.forumszone.com

Jul 22 '05 #2

The file...
ftp://magics.dk/public_html/Kopi%20af%2010indsigter.jpg
Provides trouble.
And the file...
ftp://magics.dk/public_html/Kopi%20af%20magicsdk.jpg
Is no troubl

--
SayMyNam
-----------------------------------------------------------------------
SayMyName's Profile: http://www.msusenet.com/member.php?userid=95
View this thread: http://www.msusenet.com/t-187040562

Jul 22 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: cam | last post by:
Hi: How can I rename the file being uploaded using ASPSmartUpload? I can set the other parameters ok, just looking for the syntax to rename the file. E.G. User uploading GIF file. I'd like...
2
by: Jake | last post by:
Hi group, I am trying to build a page that allows uploading My ISP only supports Smartupload I am testing on a small hubbed local network, with PWS Any help is appreciated....
0
by: Jake | last post by:
Hi All, > Hi experts, > > I am trying to build a page that allows file uploading from a browser > My ISP where the page will be located, only supports Smartupload > I am testing on a small...
2
by: SayMyName | last post by:
Due to my browser being danishm the error message will not mean much t most of you. It is an "Unspecified problem" with "Provide (0x80004005)" POST Data: error '80020009' The error only arrives...
0
by: AdrianG | last post by:
Hi there, Does ASPSmartUpload work with the MacOSX Safari browser? One of my clients uses the Safari browser and the upload never works. The scripts work fine with IE and FireFox. Thanks
4
by: david | last post by:
I am getting the following error: Error Type: ADODB.Field (0x800A0BB9) Arguments are of the wrong type, are out of acceptable range, or are in conflict with one another. When this code...
1
by: pook | last post by:
Error Type: Server object, ASP 0177 (0x800401F3) Invalid class string <% set up = Server.CreateObject("aspsmartupload.smartupload") up.upload '---------temp data %>
2
by: MitchellEr | last post by:
Hi, I've seen various forum posts that mention the ability to set ASPSmaryUpload's Codepage property in order to handle UTF-8 and other character encodings. Example:...
4
by: =?Utf-8?B?VG9kZA==?= | last post by:
I am using Windows XP and have registered the aspsmartupload dll and moved it into the system32 directory. I get the following error Error Type: Microsoft OLE DB Provider for ODBC Drivers...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.