Cannot connect to specified SQL Server
- Last UpdatedOct 02, 2024
- 1 minute read
- PI System
- PI Server 2018
- PI Server
When you see the following error:
System.ApplicationException: Cannot connect to specified SQL Server. This could be caused by the server name being incorrect, the SQL services not being running, or the SQL network protocols not being enabled.
Try the following:
-
Verify the database engine service that hosts the PI AF SQL Server database for the PI AF server is running.
-
Verify that the TCP protocol is enabled so that remote communication with the SQL Server is possible. For more information, refer to Enable or Disable a Server Network Protocol.
-
If the SQL Server instance is a named instance, check that the SQL Server Browser Service is running. For more information, refer to SQL Server Browser Service (Database Engine and SSAS).