Wednesday, October 31, 2012

Allow IIS to access Local SQL Server database


You can change the ApplicationPoolIdentity from IIS7 -> Application Pools -> Advanced Settings.
AdvancedSettings
Under ApplicationPoolIdentity you will find local system. This will make your application run under NT AUTHORITY\SYSTEM, which is an existing login for the database by default.