Re: ASP.NET IIS6 Impersonation - Explanation needed for this situation
From: Paul Clement (UseAdddressAtEndofMessage_at_swspectrum.com)
Date: 11/28/05
- Next message: Tony Su: "Re: ASP.NET IIS6 Impersonation - Explanation needed for this situa"
- Previous message: Nicole Calinoiu: "Re: Wrong Evidence in assembly raw loading"
- Next in thread: Tony Su: "Re: ASP.NET IIS6 Impersonation - Explanation needed for this situa"
- Reply: Tony Su: "Re: ASP.NET IIS6 Impersonation - Explanation needed for this situa"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Mon, 28 Nov 2005 12:37:16 -0600
On Sun, 27 Nov 2005 00:32:03 -0800, "Tony Su" <TonySu@discussions.microsoft.com> wrote:
¤ Howdy,
¤ Ran into this queer situation, hoping someone can explain why.
¤
¤ Setup:
¤ ASP.NET application connecting to a SQL database.
¤ Implements Impersonation (SQL account credentials passed in a connection
¤ string).
¤ Website installed on Win2K3
¤
¤ When connected to the SQL database on Win2K,
¤ I found that Impersonation can be turned on or off, it doesn't matter. I
¤ found this to be surprising since I thought that impersonation is managed in
¤ IIS6 on the Win2K3 machine, so it should have mattered whether impersonation
¤ was enabled or not.
¤
¤ When connected to the SQL database on Win2K3,
¤ The Impersonation setting <does> matter, must be enabled.
¤
¤ I would have thought that it should not have mattered whether the database
¤ was located on Win2K or Win2K3, it should have mattered whether the <website>
¤ was deployed on Win2K or Win2K3.
If you're using SQL authentication and not Windows authentication then the impersonation setting
shouldn't matter. Are you certain you're using only SQL authentication?
The default account used (no impersonation) for application processes under IIS 6.0 is Network
Service instead of ASPNET (as under IIS 5.0).
Paul
~~~~
Microsoft MVP (Visual Basic)
- Next message: Tony Su: "Re: ASP.NET IIS6 Impersonation - Explanation needed for this situa"
- Previous message: Nicole Calinoiu: "Re: Wrong Evidence in assembly raw loading"
- Next in thread: Tony Su: "Re: ASP.NET IIS6 Impersonation - Explanation needed for this situa"
- Reply: Tony Su: "Re: ASP.NET IIS6 Impersonation - Explanation needed for this situa"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|