Re: impersonation

From: Noël Thoelen (noel_at_itomni.com)
Date: 10/29/04

  • Next message: Thomas McFarlane: "Re: creating a user profile for the aspnet user"
    Date: Fri, 29 Oct 2004 10:42:50 +0200
    
    

    I was looking around in some of the other posts in this newsgoup and
    something came up to me.
    I am using an lmhost file to reach the site. So, the site is not reached
    using DNS. Could this be the problem ?

    "Noël Thoelen" <noel@itomni.com> schreef in bericht
    news:eDuamBZvEHA.1984@TK2MSFTNGP14.phx.gbl...
    >I would like to use KERBEROS delegation to access an SQL Server database
    >from an ASP.NET application.
    > So, I have set up a website, disabled anonymous access and checked the
    > windows integrated security.
    > In the ASP.NET applicatie, the web config file contains
    > <authentication mode="Windows" />
    > <identity impersonate="true" />
    > Both the IIS and the SQL server are part of a domain. So, when I browse to
    > the site using an domain account
    > the site will open fine. However, when i try to open a database connection
    > using the 'Integrated security=SSPI option i always get the error:
    > Login failed for user '(null)'. Reason: Not associated with a trusted SQL
    > Server connection.
    > When I open the database by using SQL authentication, everything works
    > fine.
    > On the IIS, the Webservice is running under local system account, and so
    > is the SQL Server.
    > In AD I have set the 'Trust computer for delegation' flag for both the IIS
    > and the SQL as stated in the 'Troubleshoot KERBEROS delegation' document,
    > but still without any luck
    >
    > Does somebody has encountered this problem already ?
    >


  • Next message: Thomas McFarlane: "Re: creating a user profile for the aspnet user"

    Relevant Pages

    • Re: ADO Recordset Update & SQL Server 2005 ??
      ... I've tried explicit .Update inside the loop and outside the loop as a batch ... There's no 500 error (asp and iis 6) posted on the page. ... This error shows up ONLY when connected to a sql server 2005 server. ... the same database schema/data in sql server 2005, ...
      (microsoft.public.data.ado)
    • Re: IIS (asp.net 2.0):: logon failure
      ... I'm able to connect to the database using the sa logon via the SQL Server ... My best guess it is somewhere in the IIS setup, and the way it is trying to ... >> I'm trying to install a program that builds a database via IIs. ...
      (microsoft.public.dotnet.framework.aspnet.security)
    • Re: running IIS and SQL on same machine
      ... No risks in having IIS and SQL server in a single machine. ... the memory of SQL server to half the amount of physical memory. ... used for simple database things. ...
      (microsoft.public.sqlserver.security)
    • Re: IIS and SQL Server Persmission Issue
      ... >> IIS and SQL Server Persmission Issue ... >> connection in Dreamweaver and run the query it works just fine. ... > connecting to the database. ...
      (microsoft.public.sqlserver.server)
    • Re: IIS and SQL Server Persmission Issue
      ... >> IIS and SQL Server Persmission Issue ... >> connection in Dreamweaver and run the query it works just fine. ... > connecting to the database. ...
      (microsoft.public.sqlserver.programming)