Accessing Files on a Network Share

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Currently I let people download files that the server knows they have purchased.

I use Response.TransmitFile(filePath + "\\" + fileName) command

filepath is usually a network share like "\\\\storage-server\\fileshare"

Currently the only way I can figure to keep this working is to keep the aspnet user password on both machines sync'd up, which is problematic since patches often cause the ASPNET user account's password to regenerate.

Anybody have a good solution?

.



Relevant Pages

  • Re: File Creation on Network
    ... You know that in ASPNET all things are done by the ASPNET user, ... I am facing some challenges in creating a folder in the file server on ... The application will create a folder on the network ... My network user account has read/write access to the network folder. ...
    (microsoft.public.dotnet.general)
  • Re: Accessing Files on a Network Share
    ... "The greatest danger for most of us is not that our aim is too high and we miss it, but that it is too low and we reach it" Michelangelo ... JB> the aspnet user password on both machines sync'd up, ... JB> problematic since patches often cause the ASPNET user account's ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: ASPNET directory access on server denied
    ... Tell him that the ASPNET user is on good only on the webserver, if he wants to access a network resource, he'll have to impersonate a valid domain user. ... > Hello, I am a network admin, not a developer, but one of our developers is having trouble with some code and he is asking me for help. ... > When making a request to a network server from his local machine that he tests from, ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: Access denied in creating/opening a file on network for output
    ... You should try granting access to that folder to the ASPNET user. ... Ariel Popovsky ... > I tried to open a new file on network for output: ...
    (microsoft.public.dotnet.framework.aspnet)
  • GetLastWriteTime for files on network
    ... files on our network. ... ASP.NET apps run under the ASPNET user local to the Web server, ... and I can't add the ASPNET user to the Windows groups which have permission ...
    (microsoft.public.dotnet.framework.aspnet)