Friday, August 14, 2015

SharePoint 2013 Insufficient SQL database permissions for user 'Name: NT AUTHORITY\IUSR SID -The EXECUTE permission was denied on the object

SharePoint 2013 -  Insufficient SQL database permissions for user 'Name: NT AUTHORITY\IUSR SID -The EXECUTE permission was denied on the object

This error basically deals with any SP database. There’s in sufficient access to the account.



“Insufficient SQL database permissions for user 'Name: NT AUTHORITY\IUSR SID: S-1-5-17 ImpersonationLevel: Impersonation' in database 'SharePoint_Admin_Content' on SQL Server instance 'Database Instance'.
Additional error information from SQL Server is included below.
The EXECUTE permission was denied on the object 'proc_SecAddAppPrincipal', database 'SharePoint_Admin_Content', schema 'dbo'.”


Cause:
====
Actually “NT Authority\IUSR” refer to application pool identity of SharePoint web app. So whenever user clicks on app related links, it tries to access central admin db(stored procedure) by impersonating privileges using app pool ccount.
 


Solution:
 =====

Check if 'WSS_Content_Application_Pools’ database role have “execute” permission and then grant access on SharePoint central Admin Content Database and specifically on stored procedure "proc_SecAddAppPrincipal", so that any authenticated user can access that object.

 


No comments:

Post a Comment