Re: SQL Integrated Security in .NET1.1
From: Cowboy \(Gregory A. Beamer\) (NoSpamMgbworld_at_comcast.netRemuvThis)
Date: 06/26/03
- Next message: Cowboy \(Gregory A. Beamer\): "Re: FormsAuthentication - Changes in .Net Framework 1.1 ?"
- Previous message: Matjaz Ladava: "Re: SQL Integrated Security in .NET1.1"
- In reply to: basin: "SQL Integrated Security in .NET1.1"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Thu, 26 Jun 2003 13:04:32 -0500
<identity impersonate="true" userName="domain\username"
password=password"/>
unless you have a domain user called "username" you have your problem
identified. Impersonation where you want to impersonate the user logged in
requires two things.
1. Get rid of the userName attribute
2. Make sure the user is logged in (get rid of anon access, or set ACLs on
specific files -- or programatically handle it).
--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
Author: ADO.NET and XML: ASP.NET on the Edge
****************************************************************************
****
Think Outside the Box!
****************************************************************************
****
"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: Cowboy \(Gregory A. Beamer\): "Re: FormsAuthentication - Changes in .Net Framework 1.1 ?"
- Previous message: Matjaz Ladava: "Re: SQL Integrated Security in .NET1.1"
- In reply to: basin: "SQL Integrated Security in .NET1.1"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|