View Full Version : urgent help needed. Website supposed to be launched today.

12-31-2007, 10:22 PM
Hello all.

I have a very basic knowledge of ASP and have been slowly putting together this website of mine..


The site is supposed to be launched today as the team it is dedicated to are releasing their new cars today and we really want to be the first to have the images...

Everything on the site is working except this!!!

Microsoft VBScript runtime error '800a01a8'

Object required: ''

/cm/Galleries/default.asp, line 728

Call objUpload.File(x).SaveToDisk(Server.MapPath ("../Uploads"), strFileName)

Is there any really obvious screw ups in the code there.. or do you need to see more?


01-02-2008, 07:39 AM
it seems that you did not initialize objUpload properly. Is there a statement before this one what looks like:

Set objUpload = .......

Also you can check the values of the arguments entered into this method call, like

Response.write "debug: <br />"
Response.write "mappath: " & Server.Mappath ("../Uploads") & "<br />"
Response.write "strFileName: " & strFileName & "<br />"

Put this piece of code before the Call statement and see what it has as output