Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / C# / June 2007

Tip: Looking for answers? Try searching our database.

FileUpload control unable to write to network drives

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Raymond Du - 17 Jun 2007 00:13 GMT
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
Mr. Arnold - 17 Jun 2007 01:50 GMT
> Hi,
>
[quoted text clipped - 6 lines]
> 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

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.