Upload/Download Files on Network File Server

Discussion in 'ASP .Net Security' started by Matt Hamilton, Nov 19, 2004.

  1. I was hoping that someone can give me step-by-step instructions to fix the
    following:

    We would like our ASP.NET application to utilize a central file server for
    uploads and downloads. I have tried creating a virtual directory to the
    external file server on the web server and just referencing the virtual
    directory when setting a hyperlink to download a file and everything seems to
    work well until I attempt to implement an HTTPHandler (to secure non-asp file
    types). I continue to receive an error that states "Failed to start
    monitoring file changes" whenever I click a hyperlink to a file on the file
    server. This is not an issue when the files are local to the web server (i.e.
    the handler does work correctly). I know this has to be a security issue, but
    I have tried everything I know to try. Thanks for any help offered.
     
    Matt Hamilton, Nov 19, 2004
    #1
    1. Advertising

  2. "Matt Hamilton" <> wrote in message
    news:...
    > I was hoping that someone can give me step-by-step instructions to fix the
    > following:
    >
    > We would like our ASP.NET application to utilize a central file server for
    > uploads and downloads. I have tried creating a virtual directory to the
    > external file server on the web server and just referencing the virtual
    > directory when setting a hyperlink to download a file and everything seems

    to
    > work well until I attempt to implement an HTTPHandler (to secure non-asp

    file
    > types). I continue to receive an error that states "Failed to start
    > monitoring file changes" whenever I click a hyperlink to a file on the

    file
    > server. This is not an issue when the files are local to the web server

    (i.e.
    > the handler does work correctly). I know this has to be a security issue,

    but
    > I have tried everything I know to try. Thanks for any help offered.


    Most likely because the local ASPNET account on the server does not have
    NTFS permissions to the file server. Create an identical local account on
    the file server (same password too) and give it NTFS change permissions to
    the files/folders.
     
    Tom Kaminski [MVP], Nov 19, 2004
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Hrvoje Vrbanc
    Replies:
    1
    Views:
    768
  2. Ryan Taylor
    Replies:
    2
    Views:
    957
    Ryan Taylor
    Nov 10, 2004
  3. =?Utf-8?B?TWF0dCBIYW1pbHRvbg==?=

    Upload/Download Files on Network File Server

    =?Utf-8?B?TWF0dCBIYW1pbHRvbg==?=, Nov 19, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    391
    Tom Kaminski [MVP]
    Nov 19, 2004
  4. =?Utf-8?B?U2FyYXY=?=

    Upload a file without file Upload control - ASP.Net

    =?Utf-8?B?U2FyYXY=?=, Aug 2, 2005, in forum: ASP .Net
    Replies:
    3
    Views:
    2,456
    Bruce Barker
    Aug 3, 2005
  5. =?Utf-8?B?RGFuaWVs?=

    How to upload and download excel file into server

    =?Utf-8?B?RGFuaWVs?=, Aug 18, 2005, in forum: ASP .Net
    Replies:
    1
    Views:
    2,625
    Paul Clement
    Aug 22, 2005
Loading...

Share This Page