ASPNET account on Win2k3

Discussion in 'ASP .Net Security' started by Ovidiu Platon, Nov 17, 2003.

  1. 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, Nov 17, 2003
    #1
    1. Advertising

  2. 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:
    http://msdn.microsoft.com/library/d...tml/cpconconfiguringaspnetprocessidentity.asp


    --
    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" <_PART_IS_FAIRLY_INVALID>
    wrote in message news:...
    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, Nov 17, 2003
    #2
    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. Jim Rackley

    Win2k3 .NET Error

    Jim Rackley, Jan 9, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    321
    Felix Wang
    Jan 10, 2004
  2. Replies:
    7
    Views:
    639
    Juan T. Llibre
    Mar 23, 2007
  3. Yehuda Vernik
    Replies:
    1
    Views:
    797
    Paul Clement
    Oct 19, 2004
  4. nilapenn
    Replies:
    3
    Views:
    623
    Joe Kaplan \(MVP - ADSI\)
    Feb 14, 2005
  5. Replies:
    4
    Views:
    637
    Paul Clement
    Sep 15, 2005
Loading...

Share This Page