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)

Cannot connect to PI AF SQL Server database

  • Last UpdatedSep 23, 2025
  • 1 minute read

When you cannot connect to the PI AF SQL Server database, try the following:

  • The account under which the PI AF Application Service is running does not have permission to connect to the PI AF SQL Server database. Assign the db_AFServer database role to this account, as described in Create and configure SQL Server login.

  • Check the PI AF server’s connect string for the correct server\instance and database name. For more information, refer to Modify the AFService.exe.config file.

  • Check SQL Server to verify the PI AF SQL Server database is not offline.

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