Re: FileUpload control unable to write to network drives

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance




"Raymond Du" <rdrd@xxxxxxxxx> wrote in message news:OkbzxuGsHHA.2384@xxxxxxxxxxxxxxxxxxxxxxx
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



.



Relevant Pages

  • Re: "You are not allowed to change your password"
    ... I have seen that for AD users but never a local computer. ... a result of not having everyone permissions for change password to the users account. ... management on that computer and see if anything is generated in the security log in ...
    (microsoft.public.win2000.security)
  • Re: I need some HELP
    ... So it is just a standard permissions issue. ... and NTFS permissions work together and you must figure out which part is ... >>The account in question has read only access to network ... >>am using this login on my local computer. ...
    (microsoft.public.windows.server.general)
  • Re: Incoming E-Mail - cant create contact in OU
    ... account out of local administrator to attempt to find any denied access. ... I then added full permissions to my user account on both of these keys, ... local admin rights to the server hosting incoming email. ... what permission I need to give the app pool locally to avoid this issue. ...
    (microsoft.public.sharepoint.windowsservices)
  • Re: Incoming E-Mail - cant create contact in OU
    ... account out of local administrator to attempt to find any denied ... I then added full permissions to my user account on both of these keys, ... that's for every app pool you create for every new web app on the ... local admin rights to the server hosting incoming email. ...
    (microsoft.public.sharepoint.windowsservices)
  • Re: Win2k - Account Operator not working properly
    ... You very likely have other ACL issues other than what was mentioned and I can point them out here for you for free or you can pay someone $200-500 an hour to come check it out. ... In order for that to result in inheritence protection it means the schema had to be modified. ... set the account in the GUI to inherit from its parents. ... Used the delegation wizard, on the top level OU, to assign the desired permissions. ...
    (microsoft.public.windows.server.active_directory)