Replies Back to Article

Pure ASP Upload Tutorial by Leon Radley

HELP!:)
February 3, 2001 by chris williams
Hello,

I followed your tutorial to the tee. The problem lies in when I try to view it I either get a page can not be found error or it takes me to another page in my website. Any ideas?

Thanks,
Chris
RE: HELP!:)
February 3, 2001 by chris williams
Forget that. I figured it out. Thank you so much for the tutorial. That is exactly what I needed!

Chris
IIS
February 5, 2001 by Guenther Kraibacher

When I apply the PureASPuplaod in my form and click submit, show one blank screen! You extension is not compatible with SQL Server.... Check this!

hmmm
February 8, 2001 by juanluis
Got the extension to upload images, but cant firgure out how to get the script to work that puts the images into another folder called "images". Not too familiar with Java, so it looks a bit alien. Any tips on integrating that?
actually
February 8, 2001 by juanluis
It posts the images into the folder ok, but it only writes to the database the simple filename, and not the path name of where it is newly located. So when I try and call the images up dynamically within a page, they dont load in, as they are not in the same directory as the page that calls them. I would rather avoid having all my pages and images in the same directory. How do I get this to write the full reltive path name into the DB?
RE: IIS
February 9, 2001 by George Petrov
Sure it is all compatible! But when you don't specify a redirect - you get a blank screen (your form again)
RE: actually
February 9, 2001 by George Petrov
Normally you specify a different path to store the uploads. You do that on the extension properties. So the path is known and there is no need to store it in the db. When you want to use your images - just prefix the filename field with the path.
RE: hmmm
February 9, 2001 by George Petrov
You can just specify upload directory (like images) directly on the extension properties. See above Step 6
ASP For First Time Users
February 12, 2001 by ASP Wanna Be
I want to add ASP functionality to our web site and I would like this file upload to be the first feature we present to our group. We have an ASP supported server, I have several years experience with HTML, Javascipt, DHTML, etc. but cannot seem to get this file to work. I know this is due to my inexperience, and I was wondering if it would be possible for you to 'hold my hand' to help me load this so that I can start my ASP learning curve with this great feature.
I get this error when submiting the upload page
February 13, 2001 by Phil

Server object error 'ASP 0177 : 800401f3'

Server.CreateObject Failed

/lcc/pages/TMPb0wye8pi3x.asp, line 148

800401f3

 

Any ideas greatly appreciated.

p.s this was using the supplied 'ready script' pages

RE: I get this error when submiting the upload page
February 13, 2001 by TSW

I am getting the same error message.

I noticed that a previous post mentioned that you could receive this error if you were running an older version of ADO.  I am running 2.6, so I can eliminate that as the problem.

RE: RE: I get this error when submiting the upload page
February 14, 2001 by Phil

I have found that when the pages are uploaded to the server that it all functions just fine.

The only problem now is the same as other users are finding, the full path to the image is not stored in the database. It has been suggested that the path should be prefixed with the required path...any clues how to do this as I have tried a few ways without any luck.

Would it not be possible to prefix with the full path as specifed when the folder is selected to store the images in?

As ever any help much appreciated as this is a great tool, just stumbling at the last hurdle.

Regards

Phil

RE: I get this error when submiting the upload page
February 14, 2001 by George Petrov

Look also under the comments on Pure ASP Upload.
You are missing ADO 2.5 - go and get the latest MDAC (it includes ADO 2.5) from www.microsoft.com/data

 

IIS5, win2000, SQL server 2000
February 14, 2001 by rachel ricketts

I am trying to get your extension working with SQL server 2000.

I have it working using my own modified versions of the access database and sample pages which came with the download. Strangely I had  problems with this too - if I directly changed the form on upload.asp using server behaviours in ultradev (I tried with both versions 3 and 4) then it wouldn't work, but changing the source code worked.

I am having the same problem changing over to using the SQL server database. When I change the connection string and reassociate the form fields with the database fields using server behaviours, it quits working. The asp page loads up ok and the image file gets uploaded to the server fine but no record is inserted into the database. I am not experienced enough to change the source code to work with SQL server.

Please help if you can!!!

Rachel

Changing the name of the uploaded file
February 15, 2001 by N I

Leon,

After following the steps in your tutorial it worked great, thanks for that!!  I do have one question though:

Is it possible to rename the uploaded file to avoid overwriting an existing file?  For example, if I am uploading a file named image1.jpg, can I upload it under a different file name such as 03427.jpg.  Maybe the name can be generated from the database?

Any help would be much appreciated.  Thanks for a great tutorial.

Nico

RE: IIS5, win2000, SQL server 2000
February 15, 2001 by George Petrov
The extension should work without a problem on SQL 2000. Actually the whole UDzone.com runs on SQL 2000 database and heavily utilizes the Pure ASP File Upload extension (for example when uploading extensions on UDzone.com).
If you have problems with the upload extensions and a Insert/Update Record SB, just remove both from yout page, save and add them again. This mind solve your problems.
RE: Changing the name of the uploaded file
February 15, 2001 by George Petrov
Auto-rename, or prefix with a variable, is a feature of the next version of the extension.
Auto Name Change In Images
February 19, 2001 by Clay Dempsey

I have a problem also with the upload extension.  The extension is great and really cuts out a lot of work.  I do though, however, wish to change the name of each image so that each image will be named uniquely.  How can this be done.  Any input would be helpful.

Thanks,

Clay Dempsey

not working...
February 20, 2001 by alberto catagni

sorry.. but I receive this error when I try to upload images:

Server object error 'ASP 0177 : 800401f3'
Server.CreateObject Failed
/ctman/upload.asp, line 149
Invalid class string

after submitting the form...
what is it? can u help me?

tx alot

RE: not working...
February 20, 2001 by George Petrov

Look also under the comments on Pure ASP Upload.
You are missing ADO 2.5 - go and get the latest MDAC (it includes ADO 2.5) from www.microsoft.com/data

RE: RE: not working...
February 20, 2001 by alberto catagni

TX a lot... I already did!! :-)
now it is working...
FANTaSTIC!!!

Status page
February 20, 2001 by Mike mbevins
The Pure ASP Upload works great however, I have one additional question.  Is there a way to add a page that asks the user to please wiat while the file uploads (incase of large file that take a while)?
RE: Status page
February 20, 2001 by George Petrov
No, this is currently not possible. It all depends on the browser support for http upload. Maybe someday the browsers will offer this functionality.
Error Upload
February 26, 2001 by ten bear

I tried your mxp but got this error message from browser. I uploaded to virtual root directory. Could you suggest how to fix this?  Thank you. An error has occured saving uploaded file!

Filename: /test.gif
Maybe the destination directory does not exist, or you don't have write permission.
Please correct and try again

RE: Error Upload
February 26, 2001 by Leon Radley

It's a little hard to say just like this, if you write the line that isn't working then maybe I could think of a soution.

try giving the folder your trying to upload to the right permissions

download the latest ado drivers from www.microsoft.com/data/

try doing a new uploadpage with just the upload extension on and see if that works.

Cheers Leon

RE: RE: Error Upload
February 27, 2001 by ten bear

I tested uploading to www.domaindlx.com and it works.  But It doesn't work on www.brinkster.com   Pls suggest me why and about ado drivers.  I follow your links but it seems to be a lot of download.   Pls let me know which one I must download to get it work. 

Thanks a lot.

Ten

The right url for MDAC 3.6
February 27, 2001 by Leon Radley

http://www.microsoft.com/data/download_260rtm.htm

download your laguage and install ;P

Allowing an empty upload field
February 28, 2001 by Ben H

Hi,

I've done the form with a few fields, all working fine, but I'd like to be able to allow the user to insert a news item (that's what the form's for) without an image if needs be. I've tried taking out the 'check if the file field is null' bit from the checkFileUpload function, but I get: 'news.FilePath' cannot be a zero-length string

Any pointer would be most welcome - thanks for the tutorial, by the way.

cant get upload extension to work
February 28, 2001 by joe baldwin

hi i have been struggling with this for some time now, so i downloaded your ready script which works fine. when comparing the code for your page and the one i created i noticed that any function commented '(Modified for File Upload)' was different in my script. i think i have followed your intructions to the letter (several times)!!  any idea what i  could  be doing wrong?

thanks
joe baldwin

RE: cant get upload extension to work
February 28, 2001 by George Petrov
You are not doing anything wrong - this is the upload extension itself. The upload extension needs to modify any standard Insert/Update Server Behaviors used on the same page, to make all do form fields working. That is why comments are appearing.
RE: cant get upload extension to work
February 28, 2001 by Leon Radley

This tutorial is in ASP 2.0 / VBscript check that your using that first...
you didn't mension what errors you are getting when you try to upload
download the right  drivers from this url www.microsoft.com/data

then you look for look in previous post if you don't understand where to get the drivers from

send me an email with the code attached and I'll have a look at it.
Cheers

RE: Allowing an empty upload field
February 28, 2001 by George Petrov

Just put the file field from the form within a ASP condition:

<% if hasDownload then %>
<tr>
  <td align="right"><b>Filename</b></td>
  <td><input type="file" name="filename" size="40"></td>
</tr>
<% end if %>

Maybe you can also use the Conditional Region extension.

Error Message
March 2, 2001 by Traci McMahan

I am receiving this error message:

ADODB.Recordset error '800a0bb9'

Arguments are of the wrong type, are out of acceptable range, or are in conflict with one another.

/Upload/TMPrdvo9k2gl.asp, line 277

Here is line 277:

RsUpload.ActiveConnection = MM_uploadconn_STRING;

I have checked and rechecked all of the settings. What do you think is going on? I am running Win98SE, Access 97, ADO 2.5, & UltraDev 4.0. Thanks!

RE: Error Message
March 2, 2001 by Leon Radley
try redoing your connection to the database, since It's the connection string that is the problem.
Upload outside root directory
March 5, 2001 by Jorg Leenaards

Hi,

I would like to use PureASPupload  to upload files on an intranet. The location of the files is not in the root direcory of my intranet. I is on another location in the network.  When I use "browse" to go to that location and I run the script, I get an error saying that the loation does not exists (or that I don't have write permission".  If I use a destination in a folder in the root directory of the intranetlocation, everything works fine.  Any suggestions on how to make the script write the right location ?

Thank you.

Jorg Leenaards

Access97/UD1/Upload Compatibility
March 6, 2001 by Mark Tait

Hi - I've cross posted this to the extensions (ASPUpload) - as I'm not sure where to really ask - I've tried the macromedia forum too but have not yet had a response from the forums - this tutorial works brilliantly - until I try and create my own form, and database - The files selected are still uploaded, but no data is written to the database - I have re-created your tutorial using UD1 and MS Access 97, and MDAC 2.5 - is anyone aware of any known reason that affects writing to the database (is the Upload code only fully operational on Access 2000 for instance).

Thanks in advance, and kindest regards, Mark Tait

RE: Upload outside root directory
March 7, 2001 by George Petrov

If you are uploading to any dir - first you should make sure the the anynimous user account (IUSER_computername) has a write/change permission to it.

I'm not sure if the upload will work on a network share. You can try making it a virtual directory first.

error 'ASP 0177 : 800401f3'
March 22, 2001 by Mike Keser

ASP uplod works fine on my system. When is posted on my web - IP, than I get following error message:

Server object error 'ASP 0177 : 800401f3'
Server.CreateObject Failed
/upload.asp, line 148
Invalid class string

This is line 148:  Set GP_strm1 = Server.CreateObject("ADODB.Stream")
....and this is waht support from my IP said:|
"..Your error message indicates that you have an invalid class string"
Please, I would like to know if  there is any cahange I need to make to this line or error is caused by my ISP - no ADO 2.5 version, or it is something different. Thank you, Mike.

RE: error 'ASP 0177 : 800401f3'
March 22, 2001 by George Petrov
Yes you have no ADO 2.5 installed on the server - that is the problem.
Get ADO 2.5 with the latest MDAC from www.microsoft.com/data
RE: Access97/UD1/Upload Compatibility
March 24, 2001 by Raoul Pop

I've just used the PureASPUpload on one of my pages, and I'm encountering the same problem. The form won't insert to the database at all. The file is uploaded, but the database fields are still blank. I'm using Access 2000 on Windows 2000 with IIS 5.0.

If you could also tell me how you got this great form/HTML editor to enter the Replies, I'd love to get it too. I'm looking for a very simple version of it, one that would just substitute <br> when the user presses the "Enter" key and a couple of other things, maybe bullets and numbered lists and the align keys.

Thanks! Contact me at raoulpop@hotmail.com

Error message - but the program works! 'Form was submitted with no ENCTYPE="multipart/form-data"'
March 26, 2001 by Mark Tait

Hi - I'me following the instructions to the letter (including the field names for the form etc) -  (I've also tried copying and pasting character for character from the working example files for the form) - but I keep getting the message'Form was submitted with no ENCTYPE="multipart/form-data"
Please correct the form attributes and try again.'

The data is appended to the database, and the file is moved into the correct directory - but just can't get passed this error message - has anyone any ideas what may be wrong (my system corrupt?) - I'm using UD1, Access 97 and PWS.

 

Thanks in advance,

 

Mark Tait

RE: Error message - but the program works! 'Form was submitted with no ENCTYPE=
March 26, 2001 by George Petrov
Well the solutions is very simple: As the error says you don't have the attribute ENCTYPE="multipart/form-data" on your form tag! eather add it manually or in you are in DW/UD - delete and add again the file upload field.
RE: RE: Error message - but the program works! 'Form was submitted with no ENCTYPE=
March 26, 2001 by Mark Tait

Hi George - thanks for the quick response - I do have that in my Form tag - I cut and pasted the form from your downloadble examples (after re-doing it manually several times) - all of the fields work - the database is updated and the file is copied, as it's intended to be - hence the reason I was doubting my system set-up (certainly not your excellent program)...I cannot understand why the message comes back - suggests that my system is somehow re-sending the request...

Just managed a work around - for my re-direct file, I was 'mistakingly?' re-directing the page back to itself - if I re-direct it to another page (from the InsertRecord area), I no longer get the message - but the URL shows the re-directed page and '?GP_Upload=True' at the end.

I can live with that, Thanks again, and kindest regards, Mark


     

   

I'm a newbie
March 27, 2001 by David Fernandez
Hi I've been following the tutorial and have run into a problem, first you must know that i'm new to the whole database scenealong with programming.  In other words I dont know jack!  But i am trying to learn.
In the tutorial when i get to step 6 where i choose the PureASPupload button i get a popupmessage saying
"Before using this Server Behavior, please create a form that has a file field on it"
What am i not doing?

Thanks
RE: I'm a newbie
March 27, 2001 by George Petrov
Well the message says it all actualy. You should create a form on your page first and add a file upload field on it (from the form objects pallette). Then you should go and apply the Server Behavior.
DB is not being updated!
March 27, 2001 by Tyron Bader

Hi there!  I've applied this extension to my page, and the files upload fine, but the database remains unchanged.  I do not get any errors.  Do I need to add the "insert record" and "pure asp upload" behaviors in a certain order?  I'm not sure why it's not working.  HELP!

Ty

RE: DB is not being updated!
March 27, 2001 by George Petrov
The order of adding the extension shouldn't realy matter.
However if you use Insert/Update Record SB - you should specify there the redirect page and NOT on the Pure Upload Extension.
path problems
April 7, 2001 by James Puzziferro
I want to put the image upload folder in the same folder as the DB which is outside the root folder on the site but I'm not really clear on how
RE: path problems
April 8, 2001 by George Petrov
Currently this is not possible in a standard way. Maybe with some code hacks only.
redirect
April 8, 2001 by Andy Mclatchie

I have got this baby working great , thank you UDZONE, but when i test it on PWS the only way i get it to work is to have a link after the insert record and after the pure ASP. ( not in only one of them )

just thought you should know....

How to detect if file already exists
April 11, 2001 by Steve Newbery
The extension works fine, but I'd like to alert the user if the file already exists on the server, and display a confirmaton message like "This file already exists. Replace it?" with an OK and Cancel button. Can this be done?
My PWS cannot create server object
April 14, 2001 by David Chew
 

Server object error 'ASP 0177 : 800401f3'

Server.CreateObject Failed

 

It seems that the code

 'Create a Stream instance
      Dim GP_strm1, GP_strm2
      Set GP_strm1 = Server.CreateObject("ADODB.Stream")
      Set GP_strm2 = Server.CreateObject("ADODB.Stream")

cannot be executed.

What should I do to solve this problem?

 

Thanks in advance

RE: My PWS cannot create server object
April 15, 2001 by Waldo Smeets
Hi David, please have a look at this Pure ASp Upload FAQ: www.UDzone.com/go?388 , that will help you solve your problem.
RE: redirect
April 15, 2001 by Waldo Smeets
Andy, have you tried using an URL in only the insert record server behavior? That should do the job. When you use both Upload File and Insert Record at one page you must never use the redirect of the pure asp upload extension.
RE: RE: My PWS cannot create server object
April 15, 2001 by Steve Newbery
Waldo, I have the same problem exactly, but ADO 2.5 *is* installed. When I do the upload from a "public" area of my site, it works ok. But when I do it from an area that is secured with Site Server Membership, I get the error...
How add Upload progresive bar after submit form ?
April 15, 2001 by Luiz Barros

Hi ,

It would like to know as I can show the Upload progressive to ber after the form being filled?

As the model of Update Detaul page in Udzone.

Yours truly,  

Upload Optional
April 15, 2001 by Luiz Barros

Hi ,

Not to want to abuse its aid.

It would like to know, as that Update Detaul page in Udzone, upload of the archive if becomes optional,
or either is possivel to order the article, without mind would necessaria to fill the field of the archive for upload.

Therefore in the extension Pure ASP this is denied.
I only can order registering in cadastre the data in the data base being obliged to fill the field archive.

Please, I wait its information.
It is of importancia extreme for a design that I am developing.

 

3704 Error Message! Please Help
April 16, 2001 by Lewis Richards

It is amazing that I am the only one getting this error message

3704 Operation is not allowed when the object is closed.

The form works fine and files are uploaded to the folder but when the page is loaded this error message appears. I do a refresh and it disappears but how do I keep it from appearing?

Thanks,

Jordan

Provider error '80004005'
April 16, 2001 by Lewis Richards
 After working with this thing all day to add new fields and to get it working properly I now get this error message. How do I fix it?

Provider error '80004005'

Unspecified error

/upload.asp, line 259

PureASPupload
April 17, 2001 by mark mlifty

Hi,

I followed your tutorial and even tried PureAspUpload with  your zipped files. The problem I am having is that the image I select is uploading into the specified directory, however, all the information (including the image name) is not being inserting into the data base (as per your example database, where all the fields are complete.)

Thanx

Look forward to your reply

MLIFTY

upload.asp?GP_upload=true - page not found
April 17, 2001 by peter gray

The file uploads OK, I then get a page not found error...

upload.asp?GP_upload=true

Any ideas ? Thanks - Pete.

any chance of an option to delete file
April 18, 2001 by robert butterfield

just tryed this extension, worked first time, thanks u saved me a lot of work. but i have two questions

1st how do you save a gif into an access database

2nd is it possible to delete the files uploaded in some way (not the ones saved in database)

thanx for the extension

and thanx for any help

RE: RE: My PWS cannot create server object
April 18, 2001 by abdul mujeeb

Hi i got the same error i installed MdAC 2.6  but still its not working

please let me thanks abdul@sonicboom.com

Exellent Tutorial
April 19, 2001 by Mike Wintersgill

Worked first time, after downloading MDAC2.5 from Microsoft site.

Exactly what I needed for several projects.

By the by, where can I get script / extension for colour picker & font selector box like the one you enter this message in?

Reply to mike_win@blueyonder.co.uk

Update a record with image
April 26, 2001 by Sindri B

Thanks, this is great!

I've used this extention for a few projects, and it works great.

But....there is one problem. When I update a record with an image, I always have to find the image again!  Is there some way past this.

Thanks again
Sindri

RE: Update a record with image
April 26, 2001 by George Petrov
For Update Record procedure look at the FAQ
RE: Exellent Tutorial
April 26, 2001 by George Petrov
The Visual HTML Editor is available here as free extension fro Public Domain
RE: any chance of an option to delete file
April 26, 2001 by George Petrov
Read a separate tutorial that deals with this issue here
filesize limit !
May 2, 2001 by Marcellino Bommezijn
How will i be able to set a file size limit to the file that someone is going to upload ? For example i allow extensions with .mdb, but they may not be greater in size then 1mb.
RE: filesize limit !
May 2, 2001 by George Petrov
This is a feature of the next version. Should be available in a couple of weeks.
Great Extension
May 3, 2001 by Dave Lynes

Great extension and works everytime.

But - How do you make the file upload so that it is NOT required - ie: to the end user doesn't have to upload an image everytime?

RE: Great Extension
May 3, 2001 by Leon Radley
Have two different pages for update and insert new record
Pass Form Values to Redirect Page
May 7, 2001 by Pablo Deeleman

Hi! This extension and tutorial have brung a new sense to my life. ;-D

Anyway, i need some help. How is it possible to pass the form values to the redirect page? I´d thank an answer covering both scenarios: a) When the user defines a redirect page in the extension window and b) when the redirect page is the default one defined in the INSERT page.

Thanks in advance

RE: Pass Form Values to Redirect Page
May 7, 2001 by George Petrov

We have a tutorial on this http://www.udzone.com/go?385 

This is just for the standard Insert Server Behavior.

To make it work with Pure Upload you need to change all instances of Request.Form to UploadFormRequest

Some other changes may maybe required but we don't really support this - so use that on your own risk.

RE: RE: Pass Form Values to Redirect Page
May 7, 2001 by Pablo Deeleman
I have tested it, but nothing happened. The form keeps submitting without passing any parameter to the redirect page.
RE: Provider error '80004005'
May 7, 2001 by Quinn Pearson

That error means that you have not enabled the web permissions for the folder your images are going to. Have your ISP enable web sharing, regular sharing, and read/write permissions for the folder where the images are to be stored. I say do all of this because I find things fail when only the web permissions are on.

 

Quinn Pearson

Permissions levels
May 8, 2001 by Quinn Pearson

Can someone tell me EXACTLY what to set my permissions at for file uploading. My picture folder is set to full control, and file sharing. I want to tone it down a bit.

RE: Permissions levels
May 8, 2001 by George Petrov
Just published a faq about this. Read it on http://www.udzone.com/go?627
RE: RE: HELP!:)
June 2, 2001 by Maurice Clarke
i have mdac2.6 installed on pws on win98 i have downloaded and tried your tutorial by the book and still end up with the following error 

Server object error 'ASP 0177 : 800401f3'

Server.CreateObject Failed

/TMPbtvpqovp2.asp, line 149

800401f3  i have restarted my computer twice to make sure all the components gets installed they were, ive checked if pws is running it is, ive checked if all the required parameters has been imputed they have but the msg still persist..

what do you think could cause this......

RE: RE: RE: HELP!:)
June 19, 2001 by Tony Trapp

It seems to me I am not the only one having this error.

I as well have the same exact problem and would like to get to the bottom if this.

my email address is tony@designbytony.com

It works...too well!!
November 3, 2001 by Cesare Lamanna

I find PureAspUpload a great extension, but i got a problem. I set to Custom the file extension to download: DOC, HTM, HTML, RTF

if I try to upload a zip file i should have an error, isn't it? But i the zip file is uploaded to the server, so i think Custom "filter" doesn't work. Anyone can help me? Thanks.

RE: RE: DB is not being updated!
November 15, 2001 by sergio jacome
I´ve this same proble, the file is iuploading fine but no info is recorded to the database, i´m using sql server, and i´m using the same insert record behavior in the same site, and it works fine. I´ve also checked that the redirect is at the insert record behavior and not at the asp upload behavior.
RE: It works...too well!!
January 22, 2002 by Karlo Kempis

Hi, I'm just new at using the PureASP upload. I've created the table, DB connection and Insert command. Now I just want to use the PureASP upload behaviour but it keeps giving me the following error:

! Please create a FOrm with File Upload field before using this Server Behaviour!

I've already created a form with a field containing this name. Can you please tell me what's going on??????

HEEEELLLLLPPPPP!!!!!!!
January 22, 2002 by Karlo Kempis

Hi, I'm just new at using the PureASP upload. I've created the table, DB connection and Insert command. Now I just want to use the PureASP upload behaviour but it keeps giving me the following error:

! Please create a FOrm with File Upload field before using this Server Behaviour!

I've already created a form with a field containing this name. Can you please tell me what's going on??????

a small problem
January 30, 2002 by Dennis van de Wijgert

l I have just used the upload tutorial just as descriped he doesn`t give any errors but he doesn`t put the info in the database he only uploads the file

Please help me,

Greets,

D_vdwijgert@hotmail.com

RE: a small problem
January 31, 2002 by Dennis van de Wijgert
Not Nessacery anymore problem is all ready solved it zelve. Still don`t know what the problem was but it works now.
RE: RE: a small problem
February 13, 2002 by David TH
sorry, this is just a test, thank you.
RE: HEEEELLLLLPPPPP!!!!!!!
February 15, 2002 by scre wdanger

Hi dear,

You have to do it, otherwise it wouldn't work. If you dont know how, then download the zip file. Open the upload.asp, click the field where browse is written. Copy and paste it onto your asp file. Thats it no mere errors.

Printing out these tutorials
February 17, 2002 by kenny darcy

Hi when ever I print out these tutorials i have to save your page and then reformat it, other wise I miss a lot of the information due to the right column over lapping the center column. this is a right pan and I believe if you had a downloadable version even with advertisements at the bottom of the page i would nt care but at the moment it is a sruggle.

 

 

regards

Server.Transfer
February 26, 2002 by Jeff Davis

Does anyone know how to use Server.Transfer with this extension?

I can get it to work just fine and I get get the Server.Transfer to work on a simple insert record page but can't get it to work with this extension on my insert page.

Thanks for your help.

RE: RE: a small problem
March 6, 2002 by Carlos Espinal

I am having the same problem... I created a new file and follow those steps and now I am getting this error:

Form was submitted with no ENCTYPE="multipart/form-data"
Please correct the form attributes and try again.

I checked my form and it have the enctype set to "multipart/form-data"

Can somebody help me?

RE: RE: RE: a small problem
March 6, 2002 by Carlos Espinal

OK I found the problem, I dont know why but if you use Access 2000 it upload the picture but not the others fields to the Database.

 

So I converted my database to access 97 and it works fine.

I am working on a PIII 1.0 Ghz 512 Ram IIS 5.0 and using an access 2002/ XP

custom connection string
March 10, 2002 by james puzziferro
is there some reason why a custom connection string must be used rather than a dsn?
RE: custom connection string
March 10, 2002 by Leon Radley
No not really... it's just easier to use it in the tutorial because i don't have to show how to set up a dsn.. use what ever connection you need... to what ever database... works just as well
RE: a small problem
March 10, 2002 by Leon Radley

You probably haven't set the permissions for the file up... to do so (in win2k, don't know how it looks in another os) right klick the database file and choose properties then go to the security tab... then add the user IUSR_"computername"... then in the permissions press the allow write checkbox.. this makes the "internet" user get write permissions on the database thus making it possible to insert data...

Cheers and hope it works out now.

RE: RE: custom connection string
March 10, 2002 by james puzziferro

I'm struggling with this for some reason. I want to show the newly inserted or updated record on the redirect page. I was at one point able to get that to work before adding the pure aspupload. After adding it the record no longer inserts and I'm not redirected.

I have been trying to troubleshoot the problem. I started over with a very basic form with no file field, no aspupload and no dynamic content on the redirect page, just a "good boy it works" and it does. As soon as I add a file field it bombs. No insert and no redirect. I even tried adding the file field before adding the insert behavior and I get the same bad results. What am I doing wrong?

Is there some straightforward aproach to getting the type of tool I am trying to create?

RE: Server.Transfer
March 26, 2002 by yourarticle Stanhope

Jeff!

I have exactly the same prob with Pure ASP upload 1 - I would like to pass data from the form to the redirect page but havne't had any luck so far...I tried Server.Transfer and inserting sessions but it just throws up the "Cannot use generic request after calling BinaryRead" error message - if anyone could tell us how to get around this, that would make my day! Other than that PureASP Upload is an excellent extension and I'll gladly shell out the 50 bucks for version 2.0

Alex

Problem when testing connection
April 15, 2002 by M. Stan
I get this error message when I try to test the connection:

http://www.rdi1.com/personal/dwud-aspupload.gif

I followed the exact instructions of the tutorial to the point where you create the connection, when I go to test it, this the result I recieve.

Thanks in advance,
Matt S.

Error on upload
April 16, 2002 by M. Stan

Getting this message:

Microsoft OLE DB Provider for ODBC Drivers error '80004005'

[Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified

/personal/upload.asp, line 124

What do I have to do to get it to work?  Thanks.

Matt S.

File Upload Problems
April 16, 2002 by Bob Jones
I have created the virtual directory on the remote site but i guess i have to set permissions to the folder. I try doing it via UD, but i always get an error stating set permissions failed. How can i fix it. I do not host the site myself, i am using a hosting service. Please email me at nelson@nvidius.com thanx.
The upload becomes the filename to the blank when it becomes the filename to Korean.
May 17, 2002 by Yongsik Park

My server environment ....

  - Windows 2000 Server Korean SP2
  - IIS 5
  - Dreamweaver Ultradev 4.0.

A problem ....
The upload becomes the filename to the blank when it becomes the filename to Korean.
error while testing
May 27, 2002 by Tom D

I created my insert page with the Pure ASP Upload extension according to the tutorial, but when I test the page on the remote server it gives the following result:

Server object error 'ASP 0177 : 800401f3'

Server.CreateObject Failed

/cyberib/82/hfi_deconinc/uploadpic.asp, line 149

Invalid class string

could you maybe help me solve this problem?

greetz Tom

RE: RE: RE: RE: HELP!:)
June 20, 2002 by dennis tabanera

Greetings,...I had a similar problem happen to me when I first started using the upload extension. I ended up downloading the 'mdac 2.5 rtm' for windows 98 from microsoft data. And the installation of the downloaded software seem to do the trick.

Hope this helps.

Dennis.

Image file NOT uploading
June 20, 2002 by dennis tabanera
Nice extension and tutorial. Although the extension works just fine inserting information into my database, I've been unable to upload actual image files into my 'images' directory folder. When submitting a new upload, the extension process seem to work the way it should, except the images are always missing. No error messages are prompted and redirect page is working properly. Any suggestions?
An error has occured saving uploaded file!
July 23, 2002 by Matthijs de Groot

All the permission are open, what can be the problem!?
-------------------------------------------
An error has occured saving uploaded file!

Filename: /uploader/images/vactiklogo.gif
Maybe the destination directory does not exist, or you don't have write permission.
Please correct and try again
-------------------------------------------
hope anyone can help me...

Where is the Download of this extionsion?
July 25, 2002 by Alan Landrum

Am I as blind as it seems?  I can't find the download for this extension anywhere on this page.  Please help????

 

Thanks in Advance

Alan

RE: An error has occured saving uploaded file!
July 31, 2002 by Jason Friesen

I have exactly the same problem.  Just purchased the 2.09, and it won't upload at all.  HELP!

japhthor

Possible: file already exists
July 31, 2002 by Jason Friesen

Is there a problem with the "overwrite" ?  It seems to work okay for a new file...

J

RE: RE: Pass Form Values to Redirect Page
August 21, 2002 by Herman Van Aken
I changed all instances in the +++'append Query string to the redirect URL' *****in "UploadFormRequest" it doesn't work ! I know your awnser but it' me that has the problems now by Pure ASP Upload...so Help me Please Thanks in advance
RE: RE: RE: Pass Form Values to Redirect Page
August 21, 2002 by Herman Van Aken
Did you find a solution ?
Not Good
September 1, 2002 by Dave Hook
This is very poor for anyone who isnt an asp geek
RE: An error has occured saving uploaded file!
November 7, 2002 by Sam John
Wondering if you have a fix for this I am getting the same error and the server set up is OK. Any help will be appreciated
null image field value
December 1, 2002 by james puzziferro
I need the image field to have a null value if no file is uploaded so I can use something like <%If Not IsNull((afteradd.Fields.Item("image").Value)) Then%> to remove the ugly broken image display. Unfortunately the field is blank but not null and this code doesn't work. Any ideas?
Old tutorial??
December 4, 2002 by Andrew Casey
It would be nice if this tutorial was based on the latest version. For example, I would like to know how to use the "Progress Bar".
iform Is undefined
December 28, 2002 by Roger william

I have added upload extension to and existing update form, when I get a popup window that error"iform is undefined". I cannot find the reference iform anywhere. Maybe I’m brain dead,”being that it 3:00 am, but where is this error coming from and how do I fix it...

 

Not working with recent version 2.10
April 2, 2003 by Dionísio Monteiro

I have tryed with the files supplied and it worked fine.

I copied the file to a new one and removed all the behaviours (Insert and Upload), to use the new version.

Added Insert behabiour, then ASP Upload, well, nothing works, not even the upload.

I'm thinking about asking for a refund.

Dionísio

ASPupload failing at a redirect stage?
April 11, 2003 by Alex White

I can't get the ASPupload to work at the moment... I just have a very simple form to upload a file (I'm not trying anything fancy like updating a record at the same time or anything like that).

Once I select the file and submit the form, I see a file= parameter and a Submit= parameter added to the URL... but nothing happens. No file is uploaded, no redirection occurs.

Any idea what I might be doing wrong, or why it isn't working for me?

 

Regards,

Alex

Step 6 - trouble
May 24, 2003 by kahfei yeong

I can see the Pure ASP FIle upload, so where should i be able to download this file man...i reply need someone who can answer me about this....man..thankx a lot....

and i hope for some prompt reply from anyone who know...

Error while uploading picture
October 17, 2003 by Carl Runge

Hi, This is the message I receive when uploading. I tried all settings in the Pure ASP Upload extention but without any result. What can I do abou it?
===============
An error has occured saving uploaded file!

Filename: D:\Inetpub\user4044\htdocs\upload\move8.jpg

Error # 424 Object required
in Microsoft VBScript runtime error(0)
=================

RE: Error while uploading picture
October 30, 2003 by Jim Moore

Carl,

I'm having the same problem with Pure ASP File Upload 2.16. If you find the cause I would appreciate it if you would share it with me.

Jim

RE: RE: Error while uploading picture
October 31, 2003 by Carl Runge

Hi Jim,

Probably your file upload map has no writing rights. You should contact your ISP to make the changes. In my case it works now, but I have a new problem. The file uploads to the server now and also writes the uploaded filename to my database, but it doesn't include the path! The only solution for this problem I have up till now is create and ASP document in my upload map to access the uploaded file (in my case pictures). I don't want that. If you know how to change the path please let me know. I clicked on the upload map in the upload extention, so that's not the problem. Hope I got you one step further.

Good luck, you'll need it :)

Carl

RE: Error Message
January 5, 2004 by Mauro Caule

Dear Tracy,

               i have the same problem that you had in the 2001, that you wrote this message:

ADODB.Recordset error '800a0bb9'

Arguments are of the wrong type, are out of acceptable range, or are in conflict with one another.

/Upload/TMPrdvo9k2gl.asp, line 277

Here is line 277:

RsUpload.ActiveConnection = MM_uploadconn_STRING;

I have checked and rechecked all of the settings. What do you think is going on? I am running Win98SE, Access 97, ADO 2.5, & UltraDev 4.0. Thanks!

My problem and my conditions of work (software) are the same. Can You Help me??? Please????

My code that gives the errore is this:

<%@LANGUAGE="JAVASCRIPT"%>
<!--#include file="Connections/connServ.asp" -->
<%
var Pratiche__varCli = "%";
if(String(Request("txtCli")) != "undefined") {
  Pratiche__varCli = String(Request("txtCli"));
}
%>
<%
var Pratiche__varSede = "%";
if(String(Request("txtSede")) != "undefined") {
  Pratiche__varSede = String(Request("txtSede"));
}
%>
<%
var Pratiche__varProf = "%";
if(String(Request("txtProf")) != "undefined") {
  Pratiche__varProf = String(Request("txtProf"));
}
%>
<%
var Pratiche = Server.CreateObject("ADODB.Recordset");
Pratiche.ActiveConnection = MM_connServ_STRING;
Pratiche.Source = "SELECT CodCli, Sede, Prof, IDPratica  FROM avanzamento  WHERE CodCli LIKE '"+ Pratiche__varCli.replace(/'/g, "''") + "'   AND Sede LIKE '"+ Pratiche__varSede.replace(/'/g, "''") + "'   AND Prof LIKE '"+ Pratiche__varProf.replace(/'/g, "''") + "'   ";
Pratiche.CursorType = 0;
Pratiche.CursorLocation = 2;
Pratiche.LockType = 3;
Pratiche.Open();
var Pratiche_numRows = 0;
%>

he bold line is the line of the error.Thank you

!!!!!!

RE: Error while uploading picture
February 9, 2004 by Laura Machuca

An error has occured saving uploaded file!

Filename: D:\****\*******\solo_ads\camera.jpg

Error # 424 Object required
in Microsoft VBScript runtime error(0)

Can anybody share some light in this matter noone seems to know, I have tryed it in 3 diff websites and always get to this point. Death in the mud.

seems to work on my local computer but when up loaded it fails to work.
on one website it was working fine and all of the suden stop working and have not been able to get it to work again.

RE: Error while uploading picture
May 24, 2004 by Antonio Starace

Hi,
I do exactly as explained in the tutorial but I'm not able to make the extension work correctly. The file is uploaded in the directory I choose, but nothing is written in the database. It also shows an error page with an error related to something "LBound".
What is the problem ?! The script I downloaded from the website works fine, and even if I make some changes in it, upgrading the pureASPupload version and so on, it still keeps working. If I make it from the ground up it doesn't work.

I need help. It was quite expensive for me, but if it worked it would have worth the money. Otherwise it's only a waste of money.

Bye.
Antonio

RE: upload.asp?GP_upload=true - page not found
December 16, 2004 by Mark Steven

I have encountered an interesting variation of the same problem.

I can upload successfully from my PC, but a user of the site in a different location is encountering the exact same message.

So it seems to work inconsistently. Could this be to do with browser security settings? Network permissions? Anyone have any ideas?

Pure ASP Tutorial by Leon Radley
January 17, 2005 by Howard Walker Walker

This tutorial is 2 years old and does not apply to the current version of MX2004.

It refers to object panels - long since abandoned, and only gives the absolute bare minimum of instruction, omitting any explanation of many of the available options in the behaviour.

You may just get it working, but don't expect it ever to function at the first attempt.

The downloaded script may well function on an old version of Ultradev, but never 'as is' on MX2004.

I suggest that for such an expensive item, there should be a proper set of instructions included with the package.

If this is the best that is available, I wish that I had spent my money on something else.

Pure ASP Tutorial by Leon Radley (2)
January 18, 2005 by Howard Walker Walker

Whilst my comments about the tutorial still stand, further investigation of the help files within the package do give a full and complete set of instructions for you to work to, including detailed tutorials. Better still, they are printer friendly, though they still refer to Ultradev, and could do with updating.

I must therefore apologise and retract my statement regarding wishing I had not bought the package. Follow the tutorials and the thing actually works well.

 

 

RE: RE: Error while uploading picture
February 17, 2005 by mohammed husain

I ran in to same issue while uploading to a server in my LAN. To resolve this issue I mapped a network drive to uploading folder in my web server.

after this it started working

 

image size
February 17, 2005 by mohammed husain

This program works great with small image size. but when i am trying to more 400k files it fails to upload. just time me out. doesn't matter what the timeout value i set. it will keep hanging thentime me out.

I am working on windows200 and 2003 server.

any help will be greatly appreciated

thx

RE: RE: filesize limit !
February 17, 2005 by mohammed husain

George is ther any way I can get an extension that doesnot check image size. I am trying very hard to resolve this issue. got microsoft also with this issue. apperantly they are having the same issue. let me know if there is nay insight to this issue.

thx in advance

ANWAR

RE: RE: Error while uploading picture
March 18, 2005 by stéphane stefi09

I have the same problem. Have you find a solution?

 

Stef.

RE: RE: RE: Error while uploading picture
April 27, 2005 by jokin brown
I have too the same problem with lbound... something find any solution please?