Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Dec 2007
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    urgent help needed. Website supposed to be launched today.

    Hello all.

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

    www.djrclub17.com.au/cm

    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

    Code:
    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?

    PLEASE HELP!

  • #2
    Senior Coder
    Join Date
    Jun 2002
    Location
    Zwolle, The Netherlands
    Posts
    1,120
    Thanks
    2
    Thanked 31 Times in 31 Posts
    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
    I am the luckiest man in the world


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •