G
Guest
I'm not sure which newsgroup to post this in, so I'm putting it in the
general one. I am simply trying to get my ASP.Net application to connect to
a SQL database (on a different server) using an active directory account, NOT
the ASP.Net user account. So far, I have disabled the anonymous access for
the web site's directory security (in IIS), and I have ensured that I have
<authentication mode="Windows"/> in my web.config file. In my SQL Server
connection string I have 'Integrated Security=true;'
I have tried passing the user account through the HTTPContext object, but
I'm still getting the error that says Login failed for user 'DOMAIN\SERVER$'.
It's still trying to authenticate using the server's ASP.Net user account,
despite the setting in IIS that tells it specifically not to do that.
I'm sure there is some combination of DB connection string, web.config
settings, and IIS settings that need to be in place in order to do this. I
by no means want to grant access to the DB for the ASP.Net user. Does anyone
know what I'm missing here?
TIA,
Mike
general one. I am simply trying to get my ASP.Net application to connect to
a SQL database (on a different server) using an active directory account, NOT
the ASP.Net user account. So far, I have disabled the anonymous access for
the web site's directory security (in IIS), and I have ensured that I have
<authentication mode="Windows"/> in my web.config file. In my SQL Server
connection string I have 'Integrated Security=true;'
I have tried passing the user account through the HTTPContext object, but
I'm still getting the error that says Login failed for user 'DOMAIN\SERVER$'.
It's still trying to authenticate using the server's ASP.Net user account,
despite the setting in IIS that tells it specifically not to do that.
I'm sure there is some combination of DB connection string, web.config
settings, and IIS settings that need to be in place in order to do this. I
by no means want to grant access to the DB for the ASP.Net user. Does anyone
know what I'm missing here?
TIA,
Mike