Re: How do you connect to SQL server using SQL users with Windows Auth? help
From: bruce barker (nospam_brubar_at_safeco.com)
Date: 06/08/04
- Next message: skumar: "Re: queue the requests"
- Previous message: Ben: "Re: DropDownList"
- In reply to: Reza: "How do you connect to SQL server using SQL users with Windows Auth? help"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 8 Jun 2004 13:14:39 -0700
if you want to connect to sqlserver as the same user as the browser:
1) turn of anonymous
2) enable basic, digest (if sqlserver not on same box as iis, turn on
credential forwarding), or windows (only supported if sqlserver is on the
iis box)
3) in web config: <identity impersonate="true" />
if you want to connect to sqlserver as a known user:
1) in web config: <identity impersonate="true" userName="domain\user"
password="mypass" />
-- bruce (sqlwork.com)
"Reza" <reza> wrote in message
news:E6CFBE22-60E8-4C35-BA87-E7B25BAEF4BA@microsoft.com...
> Hello,
>
> I am trying to resolve this for a week and pretty much tried everything,
Windows authenticatio, Forms authentication, none of .net, but still get a
message of. Login failed for user, 'username'.
> I am able to connect with the same user but with SQL Authentication
access, but this is not an option though due to company policies.
>
> I was searching on site of microsoft, looks like this used to be an old
bug, has this ever fixed?
>
> Thanks in advance for your help,
>
> Reza
- Next message: skumar: "Re: queue the requests"
- Previous message: Ben: "Re: DropDownList"
- In reply to: Reza: "How do you connect to SQL server using SQL users with Windows Auth? help"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|