SQL connection string

M

Michael

Hi,

The MS SQL database I want to connect to uses Windows Authentication.
It seems that the username and password in the connection string are
ignored. The ASPNET user has no rights to access the database.

Thank you,
Michael
 
G

Gregory A. Beamer

Hi,

The MS SQL database I want to connect to uses Windows Authentication.
It seems that the username and password in the connection string are
ignored. The ASPNET user has no rights to access the database.

Two things to use windows accounts in this manner:

1) The user actually has to be logged in as self (ie, you have to set
authentication to check who they are)

2) Impersonation has to be set up so the user's identity is forwarded

Peace and Grace,
 
G

George

I wonder if there is a question hidden here....
All you stated here are correct facts..


George.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,535
Members
45,007
Latest member
obedient dusk

Latest Threads

Top