Please help with permission denied on IIS6

Discussion in 'ASP .Net Security' started by Erik Jensen, Feb 19, 2004.

  1. Erik Jensen

    Erik Jensen Guest

    I am developing an application on windows server 2003 which is a domain controler. When I run ASP.NET FileStream open and try and open a file which does exist in file system i get:
    Access to the path "c:\inetpub\wwwroot\files\myfile.exe" is denied.

    this computer is a domain controler and I have added the user NETWORKSERVICE to the directory with read permissions

    I would like to use a non web-shared directory for the file read

    Do I have to reconfigure the webserver in machine.config to use a different domain account because I tried once and got a "runtime error"
    Or could this be something else simple

    Thanks
     
    Erik Jensen, Feb 19, 2004
    #1
    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. =?Utf-8?B?QmFsYQ==?=

    Permission denied problem. please help me

    =?Utf-8?B?QmFsYQ==?=, Aug 28, 2005, in forum: ASP .Net
    Replies:
    7
    Views:
    1,662
    Paul Clement
    Aug 30, 2005
  2. KK
    Replies:
    2
    Views:
    646
    Big Brian
    Oct 14, 2003
  3. royan
    Replies:
    0
    Views:
    509
    royan
    Mar 27, 2007
  4. royan
    Replies:
    6
    Views:
    1,276
    Mark Rae
    Apr 2, 2007
  5. stevewa
    Replies:
    2
    Views:
    462
    stevewa
    Aug 13, 2008
Loading...

Share This Page