Re: SQL Integrated Security in .NET1.1

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


Date: Thu, 26 Jun 2003 20:47:49 +0200


you have to add a line in the web.config

<authorization>
    <deny users="?" />
</authorization>

This will cause your app to use logged on user not anonymous as set by
default.

-- 
Regards
Matjaz Ladava, MCSE (NT4 & 2000)
matjaz@ladava.com
http://ladava.com
"basin" <basingley@yahoo.com> wrote in message
news:011801c33c10$c9d775f0$a501280a@phx.gbl...
> I changed it to just say: <identity impersonate="true"/>
> I added the aspnet account to "Act as part of the
> Operating System"
> Now I get the message: Login failed for user 'NT
> AUTHORITY\ANONYMOUS LOGON'.
>
> Any more ideas?? Thanks for the help
>
>
> >-----Original Message-----
> >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
> >
> >"basin" <basingley@yahoo.com> wrote in message
> >news:086b01c33bfb$fee0c7c0$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 .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.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: Need a good book on CE .Net Compact Framework
    ... you can use .NET Compact Framework with the operating system; ... If all you're concerned about is "deployment" of .NET applications to ... to build the operating system with Platform Builder, ... What i'm looking to do actually is to deploy Win.Net App on ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: PC Lock Program
    ... your operating system. ... PC Restrictor is interesting for a W9* system: ... this is a nice app that ... You could set this to run as a screensaver, and launch it with a hot ...
    (alt.computer.security)