Insufficient SQL database permissions for user Name: NT AUTHORITY\IUSR SID: S-1-5-17

Post: http://social.technet.microsoft.com/Forums/eu/sharepoint2010setup/thread/aa68ede5-6278-46b2-a651-b1620bf96672

Solution:

In order to resolve the issue, I provided Execute permission to the database role “WSS_Content_Application_Pools” into the stored procedure “proc_GetProductVersions”. I performed the following steps to do this.

  1. In the database server, expand SharePoint Config database and naviage to Programmability/Stored Procedures/dbo.proc_GetProductVersions using SQL Server Management Studio.
  2. Right click on the above stored procedure and select Properties.
  3. On the popup screen, select Permissions on the left and click Search button.
  4. On the new popup screen, click Search, select [WSS_Content_Application_Pools] database role and click OK.
  5. Click OK again.
  6. On the first popup screen, select the role, check Execute permission and click OK.