ASPNET User ID Permissions

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

  1. #1

    Default ASPNET User ID Permissions

    Hi all,

    I suppose this is as good of a group as any for my question. I have a
    W2K Server (not a domain controller) running IIS 5. I want to run an
    ASP.NET web page on this server. I realized that I didn't have any
    ..NET Framework on this server at all, so I went to the windows update
    page, selected all of the missing Security Updates and the Framework
    1.1 SP1 options, and installed them all. Now I have Framework 1.1 on
    the server. I then tried to run my ASP.NET web page, but recieved a
    "Server Application Unavailable" error message.

    After spending all day reading various people's trials and tribulations
    with this particular error, and the answers given to correct it, I
    still cannot get my page to work -- sort of. If I change the
    <processModel> setting to "SYSTEM" from "MACHINE", and recycle IIS,
    then the web page works fine. Okay, so that tells me that there is a
    permissions issue somewhere with the ASPNET user ID. Fine, so then I
    went through the list of ACL changes that Microsoft and many
    respondants of other people's questions about this on the group
    suggested to check. I verified/changed all of the following suggested
    folder location's security to allow the ASPNET enough access:

    * %installroot%\ASP.NET Temporary Files
    * %windir%\temp
    * Application directory
    * Web site root path
    * %installroot% hierachy
    * %windir%\assembly

    ASPNET now has rights to all of these locations. I recycled IIS, and
    still I get the error. I even gave "Full Control" access to ASPNET on
    these folders to see if that would make a difference, but it didn't. I
    then added ASPNET to the local Administrators group, recycled IIS,
    retested my ASP.NET page, and it worked then. So, it appears that I am
    still missing some folder and/or file that ASPNET needs to be able to
    access.

    This is a production server that has been working fine for years with
    classic ASP, so I am trying to keep the changes to a minimum so that I
    don't upset classic ASP and cause other problems. I would rather not 1)
    use the "SYSTEM" method, or 2) make ASPNET an Administrator on this
    server. Does anyone know of any folders/files other than I have listed
    above that ASPNET would need access rights to? Is there anything else
    I can look at that ASPNET might need configured for?

    Thanks in advance for your help.

    Larry

    lhowe2001@onebox.com Guest

  2. Similar Questions and Discussions

    1. Permissions Issues With ASPNET Account
      For some unexplained reason, I am suddenly unable to browse to a virtual directory on my laptop. I have a number of sample websites to which I could...
    2. Web Service uses ASPNET user although changed to administrator user in IIS
      Hi My problem is this In the Website (of my webservice) in the IIS, I've changed the ASPNET user in the Directory Security to administrator user,...
    3. restoring default permissions for aspnet account
      I accidentally changed permissions on a large number of files for my machine/aspnet account. Is there an easy way to restore the defaults? --...
    4. Using the Jscript to update the ASPNET account to have the needed permissions
      Hi, Can i use the Jscript to update the ASPNET account to have the needed permissions to create the new EventSource in the EventLog? Can you give...
    5. Write permissions for ASPNET user on Windows 2003
      I am deploying an application on a Windows 2003 server. This application needs to write files to a folder. On IIS 5 this worked fine by granting...
  3. #2

    Default Re: ASPNET User ID Permissions

    Hi again,

    Never mind, I figured out what was missing. I saw in another thread
    someone mentioning to try using FileMon to see what ASPNET was having a
    problem with. I did this, and it had an ACCESS DENIED error on the
    %windir%\system32 folder. I checked the folder and ASPNET only had
    "Read" permissions. Apparently ASPNET needs "Read & Execute"
    permissions on the %windir%\system32 folder. Actually, I tried giving
    ASPNET "Full Control" to the folder first, and once that worked, I
    started backing off permissions until I came to the minimum required.

    I hope this info helps someone else.

    Thanks anyway!

    Larry

    Larry Guest

  4. #3

    Default Re: ASPNET User ID Permissions

    [email]lhowe2001@onebox.com[/email] wrote:
    >This is a production server that has been working fine for years with
    >classic ASP, so I am trying to keep the changes to a minimum so that I
    >don't upset classic ASP and cause other problems. I would rather not 1)
    >use the "SYSTEM" method, or 2) make ASPNET an Administrator on this
    >server. Does anyone know of any folders/files other than I have listed
    >above that ASPNET would need access rights to? Is there anything else
    >I can look at that ASPNET might need configured for?
    I thought that running aspnet_regiis -i set up the ASPNET account and gave it
    all the access it needed.

    You may want to check out this article and run through all the settings it says
    you require.

    [url]http://support.microsoft.com/default.aspx?scid=kb;en-us;317012[/url]

    --
    Craig Wagner, craig.wagner(at)comcast.net
    Portland, OR

    "Don't ban high-performance vehicles, ban low-performance drivers!"
    Craig Wagner 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