Most common error messages for a failed connection test.
| Error Message | Description |
|---|---|
| Cannot open connection to Microsoft.Data.SqlClient.SqlConnection : Cannot open connection to MsSql: 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. (provider: TCP Provider, error: 0 - A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.) A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. | See causes and solutions. |
| Cannot open connection to Microsoft.Data.SqlClient.SqlConnection : Cannot open connection to MsSql: Login failed for user ‘TestLogin’. | Connection was established but your SQL Server user credentials are invalid. Check the Username and Password field values. [Optional] Perform connection test from SQL Server Management Studio or any other tool with the ability to connect to SQL Server. |
Network-related error causes
- Cause 1: SQL Server name is incorrect, please check the Server name field. You can also perform connection test from SQL Server Management Studio or any other tool with the ability to connect to SQL Server.
- Cause 2: Dawiso cannot connect to the server via public Internet. Try one of the following solutions:
- Establish public connection (i.e. adding a firewall rule).
- Change the Connection type to Private and use Dawiso Integration Runtime to ingest metadata inside your infrastructure.