asp.net upload file problem

Discussion in 'C#' started by alanX, Jul 15, 2006.

  1. #1
    Hi All,
    When i upload a file into my server(winxp2 IIS), such error occur:
    Exception Details: System.UnauthorizedAccessException: Access to the path "c:\inetpub\wwwroot\WebApplication1\Major Part.doc" is denied.

    how to solve it?
     
    alanX, Jul 15, 2006 IP
  2. jaymcc

    jaymcc Peon

    Messages:
    139
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Odd, try setting read/write access to this folder for the network server user, then try the ASPNET user.

    Jay
     
    jaymcc, Jul 15, 2006 IP