This was the error I got while trying to directly connect to a SQL Server database, from within a SharePoint web part, using the option, Windows Authentication.
Login failed for user ‘NT Authority\IUSR’
The solution is to allow login for IUSR. Here are the steps to do it: –
Read More »