Win Server 2008, IIS 6 & SQL Server.
I have set up my application with forms authentication, default configuration. I added the NT AUTHORITY/NETWORK SERVICE in the SQL Server logins but I keep getting this error message:
Login failed for user 'NI\WINSERAGENV1$'
That is the machine account. If I add the machine account in the SQL Server (CREATE LOGIN "NI\WINSERAGENV1$" FROM WINDOWS;) the application works without problems.
Accoding to this article: http://support.microsoft.com/kb/316989 it should be enough to add NETWORK SERVICE user in SQL Server if in IIS the application pool uses that account.
Am I missing something? Is adding the machine account in SQL Server the only solution?