ajax asyncfileupload can't get filename on production server

Discussion in 'Microsoft ASP .NET' started by Mel, Feb 28, 2012.

  1. Mel

    Mel Guest

    I am allowing the user to select a file. This file could be anywhere,
    on their local machine or on our business network. I am reading the
    file, storing the contents in a datatable and then binding the
    datatable to a gridview on the screen. I choose the file with the
    asyncfileupload control, then I click import and it fails on this line
    AsyncFileUpload1.PostedFile.FileName. It says "Access to path is
    denied". It works fine when I debug the application on my machine.
    Do I need to save the file to the web server first, then open it?
    Please help.
     
    Mel, Feb 28, 2012
    #1
    1. Advertisements

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.
Similar Threads
  1. darrel

    beginner AJAX questions (AJAX.net)

    darrel, Apr 27, 2006, in forum: Microsoft ASP .NET
    Replies:
    5
    Views:
    523
    Flinky Wisty Pomm
    Apr 28, 2006
  2. jobs
    Replies:
    0
    Views:
    458
  3. Ryan
    Replies:
    1
    Views:
    532
  4. Guest

    AJAX in production

    Guest, Jun 1, 2007, in forum: Microsoft ASP .NET
    Replies:
    3
    Views:
    283
    Guest
    Jun 2, 2007
  5. KBS Tours Development

    AJAX Not working on production

    KBS Tours Development, Sep 15, 2007, in forum: Microsoft ASP .NET
    Replies:
    2
    Views:
    898
    densial
    Sep 15, 2007
  6. Scooby Dog

    AsyncFileUpload fails in hidden panel

    Scooby Dog, Jun 18, 2010, in forum: Microsoft ASP .NET
    Replies:
    0
    Views:
    837
    Scooby Dog
    Jun 18, 2010
  7. Mel
    Replies:
    1
    Views:
    3,382
  8. Replies:
    0
    Views:
    1,318
Loading...