I'm trying to log on to a SQL Server 2008 database, with the windows user accessing my published site in IIS.
I've configured Web.Config for windows authentication, set up the application pool, leaving identificador
equal AplicationPoolIdentity
.
When accessing the site I can get the correct user by the command WindowsIdentity.GetCurrent()
. But when trying to connect to the database is returning the following error Login failed for user 'dominio\desenvolvedor1$'.
being developer1 is my machine name and not the user that is in windows.
A Connection String is Data Source=vc9;Initial Catalog=sgt;Integrated Security=SSPI;Application Name='Controle de Sprint';Pooling=False;
If the user logs directly into the database via Sql Management,
Here's how the IIS access permissions are configured