Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ PI Server Installation and Configuration (PI Server 2018)

EXECUTE permission denied SQL Error (229)

  • Last UpdatedOct 02, 2024
  • 1 minute read

When you see the following error:

System.Application.Exception: The EXECUTE permission was denied on the object 'usp_AFDatabase_insert', database 'PIFD' schema 'dbo'.'.

System.Data.SqlClient.SqlException: The EXECUTE permission was denied on the object 'usp_GetCollection', database 'PIFD', schema 'dbo'. Database role db_AFServer has not been granted permission to execute this stored procedure.

Try the following:

Assign the db_AFServer database role to the PI AF Application Service account.

TitleResults for “How to create a CRG?”Also Available in