Re: Login failed for user '(null)'. Reason: Not associated with a trusted SQL Server connection
- From: "Henning Krause [MVP - Exchange]" <newsgroups_remove@xxxxxxxxxxxxxxxxx>
- Date: Tue, 25 Mar 2008 17:22:37 +0100
Hello,
since you have three machines involved in this scenario (client machine, web server, sql server) you most likely don't have kerberos configured, which is required for this scenario (delegation of account tokens). Search for "double-hop problem" and you'll find plenty of resources on this.
If you want integrated authentication on the client side, you need kerberos.
If you can live with people entering their credentials you could switch to basic authentication and authenticate to the sql server with those credentials. You should only do this if you have SSL enabled, otherwise the credentials would be transferred in clear-text over the network.
Third option: Use integrated authentication from the client to the webserver and use the service account of the IIS (AppPool user under Windows 2003+) to authenticate to the SQL server.
Kind regards,
Henning Krause
"Waldy" <someone@xxxxxxxxxxxxx> wrote in message news:%23PSpjpojIHA.4684@xxxxxxxxxxxxxxxxxxxxxxx
Hi there,
I don't know if this is an IIS or SQL Server issue. I have an ASP.Net web application that is set up with Anonymous access turned off and Windows Authentication turned on. The SQL 2000 server (on another machine) is set up for Windows only authentication. The application won't logon to SQL Server, as I get the error above. I have searched for this error and most of the articles suggest activating mixed mode authentication. This is at a customer site however, and they want the server left as it is. How do I make it work as intended.
.
- Follow-Ups:
- References:
- Prev by Date: Login failed for user '(null)'. Reason: Not associated with a trusted SQL Server connection
- Next by Date: Re: Login failed for user '(null)'. Reason: Not associated with a trusted SQL Server connection
- Previous by thread: Login failed for user '(null)'. Reason: Not associated with a trusted SQL Server connection
- Next by thread: Re: Login failed for user '(null)'. Reason: Not associated with a trusted SQL Server connection
- Index(es):
Relevant Pages
|
|