Using sql 2008, and IIS 7. It seems no matter what I do that IIS uses the apppool to connect to the SQL server. I even fully qualify the username and password in the connection string in the web.config.
How do I turn this off!?!?
<add connectionString="Data Source=db;Failover Partner=db1;Initial Catalog=Cata;User Id=DOMAIN\Test;Password=111111;Trusted_Connection=Yes;" name="LocalSqlServer" providerName="System.Data.SqlClient" />
But it still connects as the specified account that I have selected for that websites IIS user.... this is killing me. Is there something else in the web.config to turn that off?
From comments below, i'm using AD groups for connection in SQLServer, if i turn off trusted connection SQL will not authorize the user.