Hi @Hakan ,
"Unhandled exception. System.Data.SqlClient.SqlException (0x80131904): A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections.
This error usually means that the client can't find the SQL Server instance. This normally happens when at least one of the following issues exists:
1.The name of the computer hosting the SQL Server
2.Instance doesn't resolve the correct IP
3.The TCP port number isn't specified correctly
Please try the following steps:
1.Get instance name from Configuration Manger
2.Verify - the instance is running
3.Verify - SQL Server Browser service is running
4.Testing a local connection
5.Get the IP address of the server
6.Get the SQL Server instance TCP port
7.Enable protocols
8.Testing TCP/IP connectivity
9.Open a port in the firewall
10.Test the connection
Please refer to Troubleshoot connecting to the SQL Server Database Engine.
Best regards,
Mona
If the answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.