ajax asyncfileupload can't get filename on production server

Discussion in '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. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. =?Utf-8?B?Sm9l?=

    Extract filename from a filename typed by user

    =?Utf-8?B?Sm9l?=, Aug 23, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    1,029
    Travis Murray
    Aug 24, 2004
  2. Replies:
    1
    Views:
    1,486
    Roland de Ruiter
    Jun 15, 2006
  3. Scooby Dog

    AsyncFileUpload fails in hidden panel

    Scooby Dog, Jun 18, 2010, in forum: ASP .Net
    Replies:
    0
    Views:
    599
    Scooby Dog
    Jun 18, 2010
  4. Mel
    Replies:
    1
    Views:
    3,999
  5. Replies:
    0
    Views:
    854
Loading...

Share This Page