Re: SQL Integrated Security in .NET1.1
From: Matjaz Ladava (matjaz_at__nospam_ladava.com)
Date: 06/26/03
- Next message: Roger Miller: "windows authentication uses guest"
- Previous message: jwb: "DSA signature problems with VB.NET 2002"
- In reply to: basin: "Re: SQL Integrated Security in .NET1.1"
- Next in thread: basin: "Re: SQL Integrated Security in .NET1.1"
- Reply: basin: "Re: SQL Integrated Security in .NET1.1"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
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!!! > >> > > > > > >. > >
- Next message: Roger Miller: "windows authentication uses guest"
- Previous message: jwb: "DSA signature problems with VB.NET 2002"
- In reply to: basin: "Re: SQL Integrated Security in .NET1.1"
- Next in thread: basin: "Re: SQL Integrated Security in .NET1.1"
- Reply: basin: "Re: SQL Integrated Security in .NET1.1"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|