IIS (ASP) -> SQLServer Authentication Issue
- From: "Tyler" <TylerS@xxxxxxxxxxxxxxxxx>
- Date: Thu, 4 Jan 2007 11:42:43 -0500
I have seen numerous pages and forum e-mails about this issue on the
Internet and would like to know if someone can tell me if it is possible to
do the following:
- IIS 6 machine serving ASP pages, integrated authentication, machine
trusted for delegation in the domain
- SQLServer 2000 machine with mixed authentication (same domain as IIS 6
machine)
- I want the ASP pages to access the SQLServer machine using the
authentication credentials provided to IIS as part of integrated
authentication
As far as I can determine, it should be possible as covered in this article
http://support.microsoft.com/kb/319723/en-us. However, I'm currently
getting the error:
Microsoft OLE DB Provider for SQL Server error '80004005'
Login failed for user '(null)'. Reason: Not associated with a trusted SQL
Server connection.
My problem is that I've tried to make this work in our environment in the
past without success. A couple of months ago, it suddenly started working,
and then recently (a day ago) stopped again. The system administrators say
no changes were made that would cause it to stop working.
When researching this issue again on the Internet I did not find many people
trying to do what I wanted to do. Understandably, most people are
interested in solutions where the users accessing the web pages are not
domain users that have access to the SQLServer database - but in my
situation that's what I have. The only solutions I saw offered to this
solution were to turn on Basic Authentication (I know this will work, but do
not want to do this as it negatively impacts the user experience and do not
want passwords crossing the network in the clear) or to setup some other
domain account (I don't want to do this because I want to be using the user
accounts) that IIS would use to access SQLServer. No mention was made of
the kerberos/delegation solution that I identified above.
Is it possible to do what the article describes above? Is there any reason
it should not work? Has anyone had success with the above article?
Thanks, Tyler
.
- Follow-Ups:
- RE: IIS (ASP) SQLServer Authentication Issue
- From: Peter Bromberg [C# MVP]
- RE: IIS (ASP) -> SQLServer Authentication Issue
- From: Peter Yang [MSFT]
- RE: IIS (ASP) SQLServer Authentication Issue
- Prev by Date: Re: SQL Server Security Best Practices
- Next by Date: Re: sqlcmd
- Previous by thread: Re: SQL Server Security Best Practices
- Next by thread: RE: IIS (ASP) -> SQLServer Authentication Issue
- Index(es):
Relevant Pages
|