File Write Access Denied with ASP .NET on Domain Controler

Ask a Question related to ASP.NET Security, Design and Development.

  1. #1

    Default File Write Access Denied with ASP .NET on Domain Controler

    Hi All,

    I have a web page that tries to write in a xml file but I have an
    Access Denied error on the xml file.

    The page is working properly on the development computer but not on
    test environment.

    On the test environment the Web sServer is also PDC so there is no
    ASPNET account on this computer.
    - I have created a weak account with appropriate permissions
    (following "ASP.NET does not work with the default ASPNET account on a
    domain controller" article from Microsoft Support)
    - I have changed the <ProcessModel> entry in the Machine.config to use
    my account.
    - I granted the new account Read - Write - Modify permissions on the
    xml file.
    - The web site is running in Anonymous mode (using IUSR_MACHINE
    account).

    But still my web page cannot modify the xml file.

    Any help will be appreciated.

    Sébastien.
    Seb Guest

  2. Similar Questions and Discussions

    1. access denied to file
      When installing a java program from my computer the install shield brings up and error message saying that it needs to access a file inside...
    2. Access denied to file from ServicedComponent
      I would greatly appreciate help on issue that looks as have been resolved before: I wrote a ServicedComponent that reads and writes files to a...
    3. Printing Read and Write access denied
      For some reason when I try to print to any of our networked printers I get an error message saying " Could not complete your request because read or...
    4. Cannot export as EPS because read or write access has been denied
      The same problem happens with FreeHand MX running under Windows NT Workstation 4.0. We just ran into it here when attempting to export a file as an...
    5. A failure occurred writing to the resources file. Access is denied. -- RESX file is locked? -- WHY?
      Hi. This is an error that comes up fairly regularly when trying to run the "Rebuild All" command in a Solution that contains more than one...
  3. #2

    Default Re: File Write Access Denied with ASP .NET on Domain Controler

    If the website is being accessed by domain users, you could try
    removing Anonymous in IIS and setting authentication to Windows
    Integrated. Then add <authentication mode="Windows"> and <identity
    impersonation="true"/> in the application's web.config file.

    swat Guest

  4. #3

    Default Re: File Write Access Denied with ASP .NET on Domain Controler

    Well the web site is not accessed by domain users but by Anonymous
    users s oI can't remove Anonymous access in IIS.

    Any other suggestion ?

    Thanks for your help.

    "swat" <loka_1999@yahoo.com> wrote in message news:<1113991413.864602.113010@o13g2000cwo.googleg roups.com>...
    > If the website is being accessed by domain users, you could try
    > removing Anonymous in IIS and setting authentication to Windows
    > Integrated. Then add <authentication mode="Windows"> and <identity
    > impersonation="true"/> in the application's web.config file.
    Seb Guest

  5. #4

    Default Re: File Write Access Denied with ASP .NET on Domain Controler

    I took a look at the article you referred to. The only thing I can
    think of is that they forgot to include performing an IISRESET after
    changing the machine.config file. But I'm assuming you did this?

    swat Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139