473,569 Members | 2,765 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 "Unspecifie d 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=""mult ipart/form-data"" name=""UploadFo rm"">"
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.CreateOb ject("aspSmartU pload.SmartUplo ad")

myupload.Allowe dFilesList = "gif,jpg,jpeg,G IF"
myupload.MaxFil eSize = 50000

myupload.Upload

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

''Create Connection
''Set Conn = Server.CreateOb ject("ADODB.Con nection")
''Conn.Open "Provider=Micro soft.Jet.OLEDB. 4.0;" & _
'' "Data Source=" & Server.MapPath( "data.mdb")

Set Rs = Server.CreateOb ject("ADODB.rec ordset")
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.FileToFiel d Rs("imgDta")
''Rs.Fields("im gDta") = "..."
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 2574
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.forum szone.com...
Due to my browser being danishm the error message will not mean much to
most of you. It is an "Unspecifie d 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=""mult ipart/form-data"" name=""UploadFo rm"">"
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.CreateOb ject("aspSmartU pload.SmartUplo ad")

myupload.Allowe dFilesList = "gif,jpg,jpeg,G IF"
myupload.MaxFil eSize = 50000

myupload.Upload

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

''Create Connection
''Set Conn = Server.CreateOb ject("ADODB.Con nection")
''Conn.Open "Provider=Micro soft.Jet.OLEDB. 4.0;" & _
'' "Data Source=" & Server.MapPath( "data.mdb")

Set Rs = Server.CreateOb ject("ADODB.rec ordset")
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.FileToFiel d Rs("imgDta")
''Rs.Fields("im gDta") = "..."
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
6926
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 to rename the file 'test.gif' ********
2
13814
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. --------------------- 'rqstupl.asp contents <HTML>
0
2374
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 hubbed local network, with PWS > Any help is appreciated. > --------------------- > 'rqstupl.asp contents
2
6103
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 with some apperently random files bein uploaded. Please Help
0
1386
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
6247
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 snippet is executed.
1
2150
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
5997
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: http://www.thescripts.com/forum/thread102044.html I'd like to set this property so that foreign characters in form submissions are posted correctly especially for text fields....
4
5261
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 (0x80070005) General error Unable to open registry key 'Temporary (volatile) Jet DSN for process 0x918 Thread 0xa90 DBC 0x96768d4 Jet'.
0
7697
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7612
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7924
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
1
7672
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
6283
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5512
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5219
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
1
1212
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
937
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.