1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Problem in Uploading Picture. URGENT!!

Discussion in 'C#' started by borisding, Aug 10, 2006.

  1. #1
    Hi all,
    I'm now using ASP for my project,
    one of my part is regarding uploading.
    My problem is,
    while i try to upload pic at localhost, it done well.
    Yet, when i'm trying to upload pic on real server, it's failed and show me without any error instead of "The page cannot be displayed"
    since it will be redirected to the upload file again, which is uploadpic.asp

    Does anyone can help me? URGENT!!
    Thanks for any helps!!
    SEMrush
     
    borisding, Aug 10, 2006 IP
    SEMrush
  2. DanInManchester

    DanInManchester Active Member

    Messages:
    116
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    53
    #2
    My first guess is that it sounds like this is a page not found error.
    Check that the form is pointing to the right place.
    Check where it is being redirected and that the page exists.

    If it is a server error then you should try turning of friendly http error messages in internet explorers settings. this will give you a more detailed error message and highlight the code for you.
     
    DanInManchester, Aug 10, 2006 IP
  3. Free Born John

    Free Born John Guest

    Messages:
    111
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #3
    two things I'd look at:

    1. the upload directory path is correct and

    2. you have permissions to upload to that directory
     
    Free Born John, Aug 10, 2006 IP
  4. danielbruzual

    danielbruzual Active Member

    Messages:
    908
    Likes Received:
    57
    Best Answers:
    0
    Trophy Points:
    70
    #4
    Yes, you probably haven't set permissions correctly to that directory, you should change them so that you can read/write that folder.
     
    danielbruzual, Aug 10, 2006 IP