"Access to the path <path> is denied" but it shouldn't be.

Discussion in 'ASP .Net Security' started by Kent Tegels, Aug 26, 2004.

  1. Kent Tegels

    Kent Tegels Guest

    GRRR. This one is driving me nuts.
    In the application_OnStart event for a web app I'm working, I need to load an XML file for processing, and I want to use a XmlTextReader for that, passing it a fileStream opened on the target file. Using FileMon, I know that the FileStream process calls is being executed in the NT Authority\NETWORK_SERVICE context. Problem is, that "account" has the right DACLs, all the way down from the very root down to the file, so I can't guess why its getting denied.
    Is this an intentional impairment of the NETWORK SERVICE context?
    Work around suggestions?
    Replies welcomed off-line at as well.
    Thanks!
    Kent
    Kent Tegels, Aug 26, 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. dina

    Event fired where it shouldn't!

    dina, Jul 11, 2003, in forum: ASP .Net
    Replies:
    0
    Views:
    323
  2. niceguy
    Replies:
    1
    Views:
    392
    Kathy Burke
    Aug 4, 2003
  3. qvx
    Replies:
    2
    Views:
    330
  4. FishKeeper
    Replies:
    1
    Views:
    134
    Sanjay
    Feb 17, 2006
  5. Heinrich Wolf
    Replies:
    3
    Views:
    395
    Heinrich Wolf
    Apr 29, 2012
Loading...

Share This Page