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



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.

The SPListItem being updated was not retrieved with all taxonomy fields

Turns out it’s a central admin setting that throttles the lookup return count, and Taxonomy fields are just lookups under the hood.

Go into Central Administration –> Manage Web Applications, select your web application, and then in the ribbon choose the dropdown under General Settings select Resource Throttling. Find the setting for “List View Lookup Threshold” and raise it from the default 8 (can go up to 1000, but 20 is likely fine depending how many lookup fields you’re pulling back in your SPListItem).