Sql Connection fails when using Integrated Security on IIS applications
问题 In my web application on IIS 7.0, I want to make a connection to Sql Database Server for which my user is granted for Windows Authentication. (Integrated Security=SSPI) Login fails for user 'DOMAIN\COMPUTER_NAME$', however I still can connect to database over connect window of Sql Server Management Studio (with DOMAIN\USER_NAME). How can I connect to Sql Server over my web application? 回答1: I've found the solution. On IIS, open Application Pool settings. For Identity option, choose "Custom