FileUpload control unable to write to network drives

  • Thread starter Thread starter Raymond Du
  • Start date Start date
R

Raymond Du

Hi,

I try to use ASP.Net 2.0 FileUpload control to upload files. The page is
working fine when I upload files and save them into my local computer, but
fails when the files are to be saved to a network drive.

I believe this is permission issue, the account on my local computer does
not have permissions to write to network drive. Can someone tell me how
resolve this problem? I already went to IIS and impersonate anonymous access
with a domain account, no lucks.

TIA
 
Raymond Du said:
Hi,

I try to use ASP.Net 2.0 FileUpload control to upload files. The page is
working fine when I upload files and save them into my local computer,
but fails when the files are to be saved to a network drive.

I believe this is permission issue, the account on my local computer does
not have permissions to write to network drive. Can someone tell me how
resolve this problem? I already went to IIS and impersonate anonymous
access with a domain account, no lucks.

You put the user-account on a Network share, and if appropriate, on the
directory itself and give the appropriate permissions for the account.

You mat have to give the permissions to the ASP.Net worker process
machine/ASPNET account, that's the local machine account for the machine if
using .Net Framework 1.1.

Or you might have to use the Network account NT Authority/System if using
..Net Framework 2.0.

I myself like to use Authenticated User Group removing all other accounts
off of a network share or directory.

http://www.windowsitpro.com/Article/ArticleID/23581/23581.html

http://www.google.com/search?hl=en&q=Authenticated+User+Group+&btnG=Google+Search
 

Ask a Question

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. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top