Skip to main content

SQL Server 2014 - Error 26 - Error Locating Server/Instance Specified

Today, i success install SQL Server 2014 Standard Edition to production server. The Services run well, like my setting before. I only make Database Engine, Agent and Browser Service run automatically, others manual. I try using Management Studio to connect to database and run.

I try to configure using SQL Server Configuration Manager to run Management Studio remotely. when i try to remote access from my pc using Management Studio, I get error like this.
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: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)

I try every solution on site that have been search like on Microsoft Site (https://msdn.microsoft.com/en-us/library/ms175043.aspx), but still that error happen. I believe this is more about Firewall, but i do not know what point that should allow. every port have been allowed. I do not get good result.

I found my solution on MSDN blog (http://blogs.msdn.com/b/sql_protocols/archive/2007/05/13/sql-network-interfaces-error-26-error-locating-server-instance-specified.aspx). they give me 5 solution.
  1. Make sure your server name is correct, e.g., no typo on the name. 
  2. Make sure your instance name is correct and there is actually such an instance on your target machine. [Update: Some application converts \\ to \. If you are not sure about your application, please try both Server\Instance and Server\\Instance in your connection string]
  3. Make sure the server machine is reachable, e.g, DNS can be resolve correctly, you are able to ping the server (not always true). 
  4. Make sure SQL Browser service is running on the server.
  5. If firewall is enabled on the server, you need to put sqlbrowser.exe and/or UDP port 1434 into exception.
and solution No. 5 works for me, I add new role on Advanced Firewall to allow sqlbrowser service.

Comments

Popular Posts

karimun ganti alternator 70A

Tanggal 26 november 2011 kemarin terjadi sesuatu hal yang menguras kantong ajaib alias "dompet". gimana tidak, selama perjalanan ke mangga dua, AC mati. setelah benerin AC, malah Aki keok, untung ada bengkel. setelah ganti aki baru, indikator aki masih nyala di kabin driver. karena istri gak mau service atau beli alternator 2nd. akhirnya tanggal 4 desember 2011 kemarin kepasang deh alternator 70 A merk BOSCH pada acara Gathering Karimun Kaskus ke-3.



kartu ucapan nikah galuh

nih kartu ucapan tuk nikahnya galuh... temen sma

FTP Batch Command

kemarin di kantor butuh untuk kirim file otomatis melalui PC ke PC lainnya dengan OS windows 98 di PC sumbernya. solusi paling mudah adalah dengan menggunakan Bacth Commandagar dapat berjalan di windows 98. akhirnya setelah searching sana-sini, ketemu dech solusinya, dengan cara membuat dua file (yang pertama file batch untuk connect ke FTP server, yang kedua file yang isinya command FTP).

pertama-tama buatlah sebuah file batch (selahkan buat menggunakan Notepad), dengan nama file "Command_Ftp.bat" yang isinya:
REM Perintah ini untuk Upload All file secara otomatis ke FTP server tertentu

CLS

@echo off

:: variables
set drive="C:\Log_SendFtp_"
SET dateNtime="%date:~10,4%%date:~4,2%%date:~7,2%-%time:~0,2%%time:~3,2%"
rem "Fri 03/12/2010---------10:37:26.27"

echo "************************************************" >> %drive%(%dateNtime%).txt
 date /t >> %drive%(%dateNtime%).txt
 time /t >> %drive%(%dateNtime%).txt
echo
echo "****…