cmd /k sqlcmd -i backup.sql
backup database DB_user1212 to disk = 'E:\backups\MyBackup.bak'
A network related or instance specific error occurred while establishing a connection to SQL Server
Chetan Saini wrote:A network related or instance specific error occurred while establishing a connection to SQL Server
From link[^]:Basically, when you failed to connect to your SQL Server, the issue could be: 1) Network issue, 2) SQL Server configuration issue. 3) Firewall issue, 4) Client driver issue, 5) Application configuration issue. 6) Authentication and logon issue.
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)