Re: SQL Integrated Security in .NET

From: Matjaz Ladava (matjaz_at__nospam_ladava.com)
Date: 06/26/03


Date: Thu, 26 Jun 2003 19:47:11 +0200


ASPNET account needs "Act as part of operation system" right if you are
using fixed identity.

-- 
Regards
Matjaz Ladava, MCSE (NT4 & 2000)
matjaz@ladava.com
http://ladava.com
"Shel Blauman [MSFT]" <sheldonb@online.microsoft.com> wrote in message
news:OGUbLX$ODHA.1556@TK2MSFTNGP10.phx.gbl...
> Act as part of the operating system privilege (highly not recommended) is
> the usual cause for this message, but you already have that.  Forwarding
to
> the Aspnet.Security group which normally discusses these issues.
>
> -- 
> This posting is provided "AS IS" with no warranties, and confers no
rights.
> Use of included script samples are subject to the terms specified at
> http://www.microsoft.com/info/cpyright.htm
>
>
> "basin" <basingley@yahoo.com> wrote in message
> news:06de01c33bec$fa84e580$a001280a@phx.gbl...
> > I have a developer trying to run her app on my server
> > using sql integrated security. I am getting this error on
> > the home page:
> > Parser Error Message: Could not create Windows user token
> > from the credentials specified in the config file. Error
> > from the operating system 'A required privilege is not
> > held by the client.
> >
> > Here is my setup:
> > In IIS, Anonymous and Windows Auth. is checked. The
> > identity of the iisusr is changed to a domain account that
> > is added to the SQL server.
> > This line is in her web.config:
> > <identity impersonate="true" userName="domain\username"
> > password=password"/>
> > Machine.config ProcessModel is changed to use "System"
> > ASPNET account has "Act as OS" privileges.
> > Here is the conn string she has in her global/asax:
> > Application("Dem_ConnectionString")
> > = "SERVER=ssqlServer;Database=myDatabase;Trusted_Connection
> > =True;Integrated Security=SSPI;persist security
> > info=True;Connect Timeout=120;"
> >
> > I got ALL of this from KB articles, but it STILL does not
> > work...am I missing something??
> > Thanks!!!
> >
>
>


Relevant Pages

  • Re: SQL Integrated Security in .NET1.1
    ... This will cause your app to use logged on user not anonymous as set by ... >>ASPNET account needs "Act as part of operation system" ... >>> from the operating system 'A required privilege is not ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: SQL Integrated Security in .NET
    ... ASPNET account needs "Act as part of operation system" right if you are ... using fixed identity. ... > Act as part of the operating system privilege is ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • WSE Samples and the need to give ASP.NET....
    ... Give the ASPNET account "Act as Part of Operating System" rights. ... So how do I Give the ASPNET account "Act as Part of Operating System" ...
    (microsoft.public.dotnet.framework.webservices.enhancements)
  • Re: SQL Integrated Security in .NET1.1
    ... ASPNET account needs "Act as part of operation system" right if you are ... using fixed identity. ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: Identity attribute of web.config
    ... user fred has to have "Act as part of operating system" user right to be ... used for fixed identity in impersonation section. ...
    (microsoft.public.dotnet.framework.aspnet.security)