Hi N P,
Error 53 is an OS error which maps to ERROR_BAD_NETPATH (The network path was not found). Depending on how you setup your linked server, a connection from the current SQL Server process to the remote one will be attempted. Due to the nature of the error, it seems to be attempted with Named Pipes protocol and some of the OS calls (like CreatePipe for instance) returns the OS error 53. In most of the cases this is related to the network name resolution of the remote server or it might be permissions-related, e.g. if your current SQL Server instance is running under Local System account (which doesn’t have network access privileges).
Please see the detailed description on how to setup a linked server in the SQL Server Books Online, but to start you could try the following:
(a) Examine your current SQL Server service account (the local instance — the one where you are trying to setup the linked server to the remote machine). Depending on the authentication configured for the linked server, you might need to use an account which has network access. You could examine the service account using Management Studio or Configuration Manager
(b) Check the network name of the remote server. To eliminate network resolution issues, try to connect to it from the local SQL Server machine via sqlcmd or try to setup the linked server with the IP address of the remote machine instead of the name.
(c) Force using TCP/IP protocol instead of named pipes by either prefixing the server name with «tcp:» or by setting the protocols order (Configuration Manager) or by creating an explicit alias for it.
If the issue persists, please post the exact error again and your linked server configuration (security, etc.).
HTH,
Jivko Dobrev — MSFT
———————————————————————————
This posting is provided «AS IS» with no warranties, and confers no rights.
Hi N P,
Error 53 is an OS error which maps to ERROR_BAD_NETPATH (The network path was not found). Depending on how you setup your linked server, a connection from the current SQL Server process to the remote one will be attempted. Due to the nature of the error, it seems to be attempted with Named Pipes protocol and some of the OS calls (like CreatePipe for instance) returns the OS error 53. In most of the cases this is related to the network name resolution of the remote server or it might be permissions-related, e.g. if your current SQL Server instance is running under Local System account (which doesn’t have network access privileges).
Please see the detailed description on how to setup a linked server in the SQL Server Books Online, but to start you could try the following:
(a) Examine your current SQL Server service account (the local instance — the one where you are trying to setup the linked server to the remote machine). Depending on the authentication configured for the linked server, you might need to use an account which has network access. You could examine the service account using Management Studio or Configuration Manager
(b) Check the network name of the remote server. To eliminate network resolution issues, try to connect to it from the local SQL Server machine via sqlcmd or try to setup the linked server with the IP address of the remote machine instead of the name.
(c) Force using TCP/IP protocol instead of named pipes by either prefixing the server name with «tcp:» or by setting the protocols order (Configuration Manager) or by creating an explicit alias for it.
If the issue persists, please post the exact error again and your linked server configuration (security, etc.).
HTH,
Jivko Dobrev — MSFT
———————————————————————————
This posting is provided «AS IS» with no warranties, and confers no rights.
Здравствуйте коллеги!
1) Имеется Microsoft SQL Server 2012 (SP3) (KB3072779) — 11.0.6020.0 (X64) Standard Edition (64-bit) on Windows NT 6.1 (Build 7601: Service Pack 1), установленный на операционной системе Windows Server 2008R2.
2) Создан план обслуживания, выполняющий резервное копирование Базы данных на расшаренную сетевую папку \Servernamebackup$DBdatabasename.bak на удаленной машине с операционной системой Windows 2012R2. Также на удаленной и
основной машине установлен Kaspersky Endpoint Security 10.
3) Резервное копирование выполняется ежедневно.
4) Служба «SQL server» и «SQL Agent» запущены и выполняются от доменной учетной записи DomainSQLServer
5) На папку «backup$», назначена учетная запись DomainSQLServer. которой предоставлены полные права.
6) В итоге получаю ошибку — Не могу открыть устройство резервного копирования ‘\Servernamebackup$DBdatabasename.bak’. Ошибка операционной системы 53(Не найден сетевой путь).
PS: А теперь самое вкусное на десерт.
Запускаю бэкап — ошибка 53.
Произвожу перезапуск службы «lanman.service», бэкап проходит успешно, резервная копия создается на удаленной машине, проходит ~ 10 минут, делаю повторный бэкап — бэкап не создается — ошибка 53, и все последующие за ним тоже. Останавливаю
Kaspersky Endpoint Security 10 полностью, бэкап проходит успешно, резервная копия создается на удаленной машине, спустя ~ 10 минут, делаю повторный бэкап для проверки — бэкап не создается — ошибка 53, и все последующие за ним тоже не создаются.
Идем дальше!
-Бэкапы с SQL сервера делаются без проблем на любые машины, кроме приведенной в примере.
-Маунт с основной машины на проблемную удаленную машину делается без проблем.
-Был создан протатип удаленной машины на virtualbox, с абсолютно одинаковыми настройками, операционной системой, системой антивирусной защиты — бэкапы делаются без проблем, ошибки 53 не возникает.
Было сделано*
— полное отключение Kaspersky Endpoint Security 10 — не помогло
— sfc /scannow — не помогло
— переустановка службы lanman.services через оснастку сетевого подключения — не помогло.
На заметку *
— удаленная машина имеет несколько алиасов, созданных в DNS, возможно в этом корень зла, хотя не уверен.
— при снятии дампов Wiresharkом, были замечены несколько интересных моментов:
При успешном бэкапе , шло обращение по TCP на 445 порт, затем включался SMB2 протокол и происходил обмен
информацией, в завершении которого на удаленной машине создавался бэкап. Спустя 10 минут при снятии дампа
не было уже некаких обращений к 445 порту , соответственно не поднимался SMB2 — бэкап соответственно не создавался. Но что интересно, вместо 445 порта шло обращение к 135 порту (служба удаленного вызова процедур)
затем включался протокол DCERPC, а в самих пакетах можно было обнаружить следующее:
NDR, Ctx Item[1]: Provider rejection, NULL, Ack result: provider rejection (2), Ack reason: Proposed transfer syntaxes not supported (2).
Проблема остается открытой…
I have opened up port 1433 on my firewall, but every time I try and connect to my remote SQL Database with SQL Server Management Console I receive (Microsoft SQL Server, Error: 53)
asked May 8, 2013 at 16:05
10
What you need to do is go into SQL Server Configuration Manager where SQL Server is installed.
In the Start Menu, under the Microsoft SQL Server folder, open the Configuration Tools folder and select SQL Server Configuration Manager.
In the Config Manager, click the arrow next to SQL Server Network Configuration, then click on «Protocols for {Instance}». {Instance} will be your install, if it’s the default instance it will be MSSQLSERVER.
On the right side, make sure that TCP/IP is «Enabled». Double click TCP/IP, in the window that opens, change the drop down to «Yes».
answered May 8, 2013 at 16:48
DanDan
5373 silver badges10 bronze badges
10
Here is the how to fix it and gain your connectivity back:
Click WindowsKey + R and enter services.msc
Once Services opens scroll down and locate service SQL Server
Highlight the service and click START
Wait for the service to start and retry to connect to your MSSQL instance
It should now work again and you will be able to connect to your MSSQL instance and run queries.
answered Dec 3, 2018 at 6:38
![]()
I have solved this problem. Please refer to this thread: http://social.technet.microsoft.com/Forums/forefront/en-US/d2624655-e6ff-4947-b1a8-a2edcffd8a21/denied-connection-netbios-session-protocol#68321990-4ac4-46fa-b7f8-9e0ded3234bb
In detail: I was receiving the following error from ISA when trying to connect from my SBS 2003 Server to my offsite MSSQL Database Provider via SQL Server Management Studio:
Denied Connection
Log type: Firewall service
Status: A packet generated on the local host was rejected because its source IP address is assigned to one network adapter and its destination IP address is reachable through another network adapter.
Rule:
Source: Local Host ( 192.168.1.1:29859)
Destination: External (...:139)
Protocol: NetBios Session
I have figured this out. I had to add «Local Host» as one of the sources for the ISA Rule that I had initially created to allow SQL Server Management Console connections in the first place. That rule was allowing «Internal» sources but not the Local Host (127.0.01), which is needed for this scenario.
answered Jun 21, 2013 at 0:40
e-zeroe-zero
3453 gold badges9 silver badges17 bronze badges
1
in SSMS while opening give the server name as your_Hostnameyour_sqlservername (give both the names as applicable instead of local or just only servername) it works fine.
answered Nov 23, 2014 at 11:11
I could ping my Virtual Machine SQL server but couldn’t connect to it.
I disabled my wired and wireless NICs and then it connected !
answered Feb 26, 2016 at 4:56
![]()
Today, I will explain how to fix SQL Server error 53 (The network path was not found). The details about SQL error 53 are given as “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: Named Pipes Provider, error: 40 – Could not open a connection on SQL Server) (Microsoft SQL Server, Error : 53)”

You can also get below error similar to error 53 under below details.
An error has occurred while establishing a connection to the server. When connecting to SQL Server, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider, error: 40 – Could not open a connection to SQL Server) (.Net SqlClient Data Provider)
Root Cause
Microsoft SQL Server Error 53 looks very much like the Error 40: A network-related or instance-specific error occurred while establishing a connection to SQL Server at first look. Like SQL Server error 40, here also SQL Server client cannot connect to the SQL Server Instance. This error could occur because either the client cannot resolve the name of the server or the name of the server is incorrect.
You might get this issue due to other reasons as well although main reason is the wrong server name or port name. I have given all those possible reasons behind the Microsoft SQL Server error 53 in below points.
- Wrong SQL Server Instance name while establishing database connection.
- Entering wrong port no can be one of the reason for SQL Server error 53.
- SQL Server Instance is not accessible due to firewall or any reason.
- Telnet port 1433 or port no on which SQL Server is running. These ports might be blocked.
- TCP/IP or Named Pipes protocol is disabled in SQL Server Configuration Manager.
- Remote Connection is disabled for this SQL Server Instance.
- SQL Server Browser service is stopped.
Solution
We need to check and validate multiple factors to rectify Microsoft SQL Server error 53. Check all factors given in below step by step points to fix all possibilities for this error.
- Sometimes, we enter wrong server details by mistake. Make sure to enter correct SQL Server instance name while making database connection otherwise you will face sql error 53.
- Try to connect using ip address and port number instead of putting server name in connection string.
- Make sure SQL Server services are running fine and its accessible.
- Check firewall details. Firewall should open between your client machine and database server. Port 1433 and 1434 should be enabled. Telnet both ports to make sure ports are open.
- Make sure to enable TCP/IP and Named Pipes. Launch SQL Server Configuration Manager. Expand SQL Server Network Configuration from left side pane and click on Protocols for MSSQLSERVER. MSSQLSERVER is SQL Server Instance name. Now you will see all protocols in to right side pane. Right click on given protocols and select Enable button to enable both protocols.
- Check TCP/IP name resolution, you can use the ping command in the Windows operating system. You can also right-click on TCP/IP and select Properties in SQL Server Configuration Manager. Verify that, under IP2, the IP Address is set to the computer’s IP address on the local subnet. Scroll down to IPAll. Make sure that TCP Dynamic Ports is blank. Make sure that TCP Port is set to 1433 or your identified port no.
- Remote connection must be enabled to connect to databases remotely. Connect to SQL Server Instance in SSMS. Right click on SQL Server instance name in SSMS and choose Properties. You will get Server properties window. Click on Connections from left side pane and tick the check box on Allow remote connections to this server option from right side pane.
- SQL browser service should not be stopped if your security policy allows it. If you have disabled this service to apply hardening then make sure to pass port no along with SQL Server instance name/IP while making database connection.
You can fix SQL error 53 by applying above solutions on your SQL Server instance. I hope you like this article. Please follow our Facebook page and Twitter handle to get latest updates.
Related Articles:
- Fix Error 28 – Server doesn’t support requested protocol
- Error 40: A network-related or instance-specific error occurred while establishing a connection to SQL Server
- Error 4064: Cannot open user default database. Login failed.
- Fix Login Drop issue Error 15138 and Error 3729
- Author
- Recent Posts
![]()
I am working as a Technical Architect in one of the top IT consulting firm. I have expertise on all versions of SQL Server since SQL Server 2000. I have lead multiple SQL Server projects like consolidation, upgrades, migrations, HA & DR. I love to share my knowledge. You can contact me on my social accounts for any consulting work.
![]()
Summary

Article Name
Fix Error 53: Could not open a connection on SQL Server
Description
Read this article if you are getting error 53 while connecting to SQL Server. Error details are «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: Named Pipes Provider, error: 40 — Could not open a connection on SQL Server) (Microsoft SQL Server, Error : 53)»
Author
Manvendra Deo Singh
Publisher Name
www.techyaz.com
Microsoft sql server error 53 is common issue related with connection issue with instances on SQL Server. The reasons of the issue can appear because client cannot resolve the name of the server or the name of the server is incorrect. Below we will show some fast solutions as well as full troubleshoot of this error. Let’s hope that you will fix the issue on your environment.
Error description and view
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: Named Pipes Provider, error: 40 – Could not open a connection on SQL Server) (Microsoft SQL Server, Error : 53)”
or
An error has occurred while establishing a connection to the server. When connecting to SQL Server, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider, error: 40 – Could not open a connection to SQL Server) (.Net SqlClient Data Provider)
Check the path of error log of the sql server
SQL server error 53
Short Solutions
Below we will show some of short solutions to fix Microsoft sql server error 53:
- First of all make a restart of the server.
- Check for Incorrect connection string.
- Ping and telnet the server and host.
- Check if SQL services are running at target machine
- Enable TCP/IP in SQL Server Configuration
- Windows Firewall services disabled (switched off)
- Check if Remote Connection is Enabled
- Enabled SQL Server Browser Service
- Check if the SQL Server is on a restricted subnet
Troubleshooting with long solutions
1. SQL Server Services Troubleshooting
Check if Sql Server Service os running using SQL Server Configuration Manager or the SC.
- Using SQL Server Configuration Manager
- Search and open “SQL Server Configuration Manager”
- Locate the SQL Server service SQL Server (MSSQLSERVER)
- Check if it is running
- Using SC command
- Open CMD
- Run query “sc query mssqlserver” for default instance
- for a named instance you have to write the command like below but by replacing instancename with the actual SQL Server instance name
- sc query mssql$instancename

SQL Service configuration manager
2. Troubleshoot connection and telnet port
If you are trying to connect with sql instance from another computer, check if you can telnet the server. You can try using an IP Address (for default instance) or IP AddressInstance Name for a named instance. This can be a reason of sql server error 53.
- Open cmd with search
- Execute command: telnet IP Port
- If the port is not open communicate with the network guy.
3. Check the TCP/IP and Named Pipes
- Open SQL Server Configuration Manager
- Navigate to SQL Native client Configuration
- You should enable Named Pipes and TCP/IP protocol.
- Right-click on TCP/IP and select Properties.
- Make sure that TCP Port is set to 1433.
- If you have a named instance then you must have the SQL Server Browser Service enabled
- The browser service runs on port UDP 1434 and this must be allowed through your firewall

troubleshoot TCP-IP
4. Check the remote connections
- Open SQL Server Management Studio
- Right click on the Instance name and select properties
- Go to the Connections tab and make sure Allow remote connections to this server is checked
- Restart the SQL Server Service if you make any change

SQL Server error 53 reason
5. SQL Server in Firewall Settings
You need that ports 1433 and 1434 to be added on Windows Firewall exception on the server for SQL TCP ports.
- Go to Control Panel then System and Security
- Click on Firewall
- Here you can see Action tab as Allow for Firewall. Yu can to allow or block through SQL Server Properties

Firewall Settings
6. SQL Server Browser Service
Enable SQL Server Browser Service when SQL Server is installed as named instance.
- All Programs
- Microsoft SQL Server 2008
- Configuration Tools
- SQL Server Configuration Manager
- SQL Server Browser
- Right Click on SQL Server Browser
- Click on Enable
7. Change user log on of SQL Server Service
Sometimes the people has issue when configured the sql service to run with different user than local user.
- Open Services
- Open “run box” and type services.msc.
- Or Search on windows tab “services”
- Looking for SQL services
- SQL Server (MSSQLSERVER)
- Right click to service – Properties – Change to tab “Log on” – chose log on as “Local …” – OK. Then start SQL services again.
- Try Open SQL and connect database.

Logon on
Read also other SQL Server Helping Posts:
- How to fix SQL Server Error 229
- Fix SQL Server Error 233
- How to fix SQL Server Error 300
Conclusions:
We try to include every solution and information about to fix SQL Server error 53. If you have any suggestion don’t hesitate to comment below.
С ошибкой 53 «не найден сетевой путь» можно столкнуться при попытке получить доступ к общим папкам и файлам по локальной сети. Узнаем подробнее, как ее исправить?

Содержание
- 1 Чем вызвана ошибка?
- 2 Подключение с помощью командной строки
- 3 Проверка ping
- 4 Отключение антивирусной программы
- 5 Включение общего доступа
Чем вызвана ошибка?
Сбой при подключении по указанному сетевому пути может произойти по следующим причинам:
- Установка соединения по сети блокируется брандмауэром или антивирусной программой.
- Подключение ограничено фоновым процессом, который вмешивается в работу компонентов сети.
- Отключен общий доступ к содержимому на удаленном компьютере.
Подключение с помощью командной строки
Если пытаетесь получить доступ через командную строку, проверьте правильность написания команды. Она должна отображать адрес сервера и папки, удаленного компьютера.
Откройте командную строку от имени администратора с помощью системного поиска.

В консоли введите команду, придерживаясь следующего формата:
net use F: «\servershare»

Где server – имя компьютера, share – наименование общей папки.
Проверка ping
Чтобы узнать, правильно ли работает сетевой сервер, запустите ping тест и проверьте, есть ли ответ. Кроме того, с помощью этого теста можно проверить, есть ли потери пакетов, что также приводит к ошибке 53. Для его запуска выполните указанные шаги.
В строке системного поиска наберите cmd, при отображении искомого результата щелкните на запуск от имени администратора.
В консоли запустите команду для проверки связи с сервером или компьютером:
ping (IP-адрес сервера)

Если команда возвращает все пакеты без их потери, это значит, что сеть настроена правильно. В противном случае проверьте настройки сети.
Отключение антивирусной программы
Если ping возвращает все пакеты, попробуйте отключить антивирусную программу, чтобы узнать, причастна ли она к этой ошибке 53. Есть много случаев, когда антивирус препятствует подключению к папке по сети. Поэтому временно отключите его и посмотрите, установлено ли соединение между устройствами.
Включение общего доступа
Иногда совместное использование файлов может быть отключено с Панели управления. Для включения, выполните следующие шаги.
Откройте Панель управления командой control из окна «Выполнить» (Win + R).

Переключите режим просмотра в правом верхнем углу на крупные значки и перейдите в раздел «Центра управления сетями и общим доступом».

На левой панели щелкните на вкладку «Изменить дополнительные параметры общего доступа».

Разверните профили «Домашний и рабочий» и «Общий». Отметьте флажками опции «Включить сетевое обнаружение» и «Включить общий доступ к файлам и принтерам» обоих профилей.

Сохраните изменения на «Применить», закройте окно. Попробуйте подключиться к общему ресурсу, к которому ранее не удавалось из-за ошибки 53.
Если по-прежнему не удается подключиться по сети, попробуйте это сделать из режима чистой загрузки. Если в этом режиме ошибка не препятствует получению доступа, то причина в стороннем фоновом процессе. Для его поиска включайте одно за другим приложения, пока не обнаружите то, которое вызывает ошибку 53.
- Remove From My Forums
-
Question
-
Windows Server 2003 R2, SQL Server 2005 with SP4. SQL Server Service is running, using TCP/IP only (Surface Area Configuration). Network Configuration — Shared Memory and TCP/IP are enabled. SQL Server Browser is disabled. I could login to SQL
Server and connect to databases. Everything was fine. But after restarted a server, I can not login… give me an error. What can I check? Strange things… I can not connect to SQL Server on the server SQL Server 2005 is on the OS. But
users *can* use/connec to the database from web applications. Is the server wrong somewhere? Some more info, example, C drive (OS, SQL Server and system databases…), K and L drive (SAN for user databases and log files) Please give me advice.Cannot connect to [servername]
A network-related or instance specific error occured 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:
Name Pipes Provider, error: 40 — Could not open a connection on SQL Server) (Microsoft SQL Server, Error : 53)