Solved

Can not connect to a SQL instance on over the network

Posted on 2014-12-10
7
110 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 45

Expert Comment

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

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
Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

 

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 45

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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Need Counts 11 43
SQL Server memory Issue 7 76
SQL Server 2012 Row Selection 2 30
Log Backup 2 13
Network ports are the threads that hold network communication together. They are an essential part of networking that can be easily ignore or misunderstood, my goals is to show those who don't have a strong network foundation how network ports opera…
Ever needed a SQL 2008 Database replicated/mirrored/log shipped on another server but you can't take the downtime inflicted by initial snapshot or disconnect while T-logs are restored or mirror applied? You can use SQL Server Initialize from Backup…
Via a live example combined with referencing Books Online, show some of the information that can be extracted from the Catalog Views in SQL Server.
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

747 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

12 Experts available now in Live!

Get 1:1 Help Now