ASPNET account on Win2k3

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

  1. #1

    Default ASPNET account on Win2k3

    Hello,

    I have the following problem: I installed a web app on IIS 6 in Win2k3 EE. Now, whenever I try to log on to my SQL Service, I get Login failed for user 'NT AUTHORITY\NETWORK SERVICE'
    I solved the problem easily, by adding NETWORK SERVICE as a login in SQL Server. However, my question is: Is the ASPNET account obsolete? In which security context are we expected to run ASP.NET apps in the future? When writing a deployment app, am I supposed to check at install time in what security context will my app run in?

    Thanks,
    Ovidiu
    Ovidiu Platon Guest

  2. Similar Questions and Discussions

    1. Using LogonUser API in ASP.net with an account other than ASPNet account
      I am trying to use the LogonUser API function from ASP.Net. This works fine on my machine which is Windows XP but fails with error code 1314 on...
    2. ASPNET Account
      I needed to go to my user accounts when I discovered this aspnet machine account.I didn't know where it came from so I deleted the account. Now I...
    3. ASPNET Account not created
      I am running Windows XP Pro, I have IIS installed and I am developing an asp.net application (VS2002). I didn't have an ASPNET account (system came...
    4. "Access is denied" error when running schtasks.exe under ASPNET account in win2k3 server
      Hi all, I am trying to run schtasks.exe from asp.net application wich uses forms authentication under ASPNET account. It gives me "Access is...
    5. ASPNET user account
      It says web applications run using the ASPNET user account. The SQL database administrator will have to set up this account and grant it...
  3. #2

    Default Re: ASPNET account on Win2k3

    In IIS6, ASP.NET no longer has its own account - it inherits from the IIS
    worker process. To guarantee authentication as a particular account, use
    identity impersonate=true in your web.config. Details here:
    [url]http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpconconfiguringaspnetprocessidentity.asp[/url]


    --
    Chris Jackson
    Software Engineer
    Microsoft MVP - Windows Shell/UI
    Windows XP Associate Expert
    --
    More people read the newsgroups than read my email.
    Reply to the newsgroup for a faster response.
    (Control-G using Outlook Express)
    --

    "Ovidiu Platon" <ovidiupl@microsoft-lab.pub.ro.THIS_PART_IS_FAIRLY_INVALID>
    wrote in message news:OtjuYpPrDHA.1488@TK2MSFTNGP12.phx.gbl...
    Hello,

    I have the following problem: I installed a web app on IIS 6 in Win2k3 EE.
    Now, whenever I try to log on to my SQL Service, I get Login failed for user
    'NT AUTHORITY\NETWORK SERVICE'
    I solved the problem easily, by adding NETWORK SERVICE as a login in SQL
    Server. However, my question is: Is the ASPNET account obsolete? In which
    security context are we expected to run ASP.NET apps in the future? When
    writing a deployment app, am I supposed to check at install time in what
    security context will my app run in?

    Thanks,
    Ovidiu


    Chris Jackson 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