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,

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

Twitter: @gbworld
Blog: http://gregorybeamer.spaces.live.com

My vacation and childhood cancer awareness site:
http://www.crazycancertour.com

*******************************************
| Think outside the box! |
*******************************************
 
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

Top