PC Review

Thread Tools Rate Thread

ajax asyncfileupload can't get filename on production server

Posts: n/a
      28th Feb 2012
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.
Reply With Quote

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
asyncfileupload with updatepanel in modalpopupextender snaj84@gmail.com Microsoft ASP .NET 0 12th Jul 2012 07:45 PM
AJAX Asyncfileupload - how to refresh updatepanel after UploadedComplete Mel Microsoft ASP .NET 1 18th Jan 2012 06:20 PM
AsyncFileUpload fails in hidden panel Scooby Dog Microsoft ASP .NET 0 18th Jun 2010 09:41 PM
HttpPostedFile.saveas(filename) issue when the filename is used "-" as a part of the filename. Ken Microsoft Dot NET Framework 0 25th Feb 2009 11:58 PM
CFP: CALL FOR PAPERS. Special Issue: Operational Control of Wafer Production. Production Planning & Control International Journal Rubén Ruiz Processors 0 26th Jul 2004 04:39 PM




All times are GMT +1. The time now is 12:44 PM.