Solved

Can not connect to a SQL instance on over the network

Posted on 2014-12-10
7
111 Views
Last Modified: 2014-12-17
Hi,

I am struggling to connect to a SQL instance from SQL management Studio installed on another server. I have been able to do so until recently and it is not clear what may have caused this. Here are the symptoms:

When i try to connect to Server\Instance using SQL management studio, i get "a network related or instance specific error has occured...."

But

When i connect to Server\      (no instance, i.e. default uinstance) it connects no problem.

The server names resolve correctly from both sides and all protocols are enabled in SQL config on both sides.

Port 1433 is open. (1434 is not used in this environment).

Any help would be greatly appreciated.

Thanks

m
0
Comment
Question by:mk112233
  • 2
  • 2
  • 2
  • +1
7 Comments
 
LVL 46

Expert Comment

by:Vitor Montalvão
ID: 40491298
What about SQL Server Browser? Is it running in the target server?
0
 
LVL 33

Expert Comment

by:ste5an
ID: 40491349
Cause "Server\" works, I guess it's the default instance. So "Server\Instance" is a different instance on the same machine. Here I would guess it's not configured to accept remote connections.

See How to enable remote connections in SQL Server 2008?
0
 

Expert Comment

by:rossgroupdba
ID: 40491434
w/o explicitly supplying the port# of the named instance the SQL driver needs to communicate with the SQLBrowser service on the remote computer to ask for the port# of the requested instance.  SQLBrowser I believe generally runs on port 1434.  When asking to connect to the default instance  the driver 1st attempts on 1433 then I believe will then ask the SQLBrowser unless of course you supply the port#(non-default) of the default instance.

Are there multiple instances?  
Either turn on SQLBrowser  
OR
Check SQL cfg mgr find out the dynamic or fixed port of the named instance
connect in SSMS via <Server>\<Instance>,<port>  if that works and you dont want to use SQLBrowser then I would suggest altering the port to be fixed or next time the instance cycles you will have to lather rinse repeat.
0
VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

 

Author Comment

by:mk112233
ID: 40493347
SQL Browser service is running on both servers. The instance is running on port 1433 only according to CQL config on the destination server.
0
 

Author Comment

by:mk112233
ID: 40493362
port 1433 is definitely open from the source to destination
0
 
LVL 46

Accepted Solution

by:
Vitor Montalvão earned 500 total points
ID: 40493480
The instance is running on port 1433 only according to CQL config on the destination server.
This is the default port for the default instance. A named instance should have another port number.
0
 

Expert Comment

by:rossgroupdba
ID: 40494613
Are you trying to connect to the default instance or a named instance?
0

Featured Post

New My Cloud Pro Series - organize everything!

With space to keep virtually everything, the My Cloud Pro Series offers your team the network storage to edit, save and share production files from anywhere with an internet connection. Compatible with both Mac and PC, you're able to protect your content regardless of OS.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

In this article we will get to know that how can we recover deleted data if it happens accidently. We really can recover deleted rows if we know the time when data is deleted by using the transaction log.
I have a large data set and a SSIS package. How can I load this file in multi threading?
Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

914 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now