Stackoverflow question/answer: http://stackoverflow.com/questions/20723623/application-cannot-open-sql-connection-when-on-iis
You can either give permission to the app pool from within SQL Server.
Or create a SQL Server user/pass, update the connection string to use User/Pass instead of Integrated Security