Solved

SQL 2008 R2 instances will only connect with named pipes not TCP/IP

Posted on 2012-03-18
5
563 Views
Last Modified: 2012-03-28
I have a new installation of SQL 20082 running on SBS 2011 premium. 2 installed applications will not connect via TCP/IP we need to create an OBDC data connector with named pipes.  These applications connected in the old SQL server.  DNS seems to work OK.  This box is SBS 2011 Premium and SQL is installed on that servernot a second server.  

Note: this may be a licesing problem.  When I look at the properties on my computer is lists this as Windows SBS 2011 standard not Premium.  I have a primium license key not I am not sure where to enter it.
0
Comment
Question by:BlueGlory
  • 4
5 Comments
 
LVL 56

Accepted Solution

by:
Cliff Galiher earned 500 total points
ID: 37735432
It isn't a censing issue, and note that there is notice thing as SBS 2011 Premium edition. There is a premium add-on, but as the name implies, it "adds on" to standard edition, so when you check the version, SBS will Report standard edition (to differentiate it from SBS essentials) but never premium.

Your problem mayy be one of two things:

1) you have not set up the appropriate exceptions in windows firewall. the premium add-on comes with a second windows server license for a reason. SQL server chooses a RANDOM port to listen in on (but can be forced if necessary) and the SQL helper service helps clients locate the proper port for an instance. A domain controller, conversely, should not be listening in random ports as this is a significant security risk. As such, the firewall policies of a default DC install are directly interfering with how SQL operates. You can define exceptions (usually through group policy) but know that doing so adds SIGNIFICANT risk to your server. Which brings me full circle to the PAO including a second server license for a reason. You REALLY SHOIOD run any network SQL app on the second server, I can't stress this enough.

2) less common, but still possible, is if you didn't enable TCP/IP via the SQL server management. You must choose the instance, enable TCP/IP, and bind it to an interface (it defaults to localhost) or it won't be listening on an interface that the client can reach. You can check to see if it is working and listening with netstat and other process monitoring tools such as those I the sysinternals toolkit.

-Cliff
0
 

Author Comment

by:BlueGlory
ID: 37735993
We are considering getting a second server for SQL but until then I need to get this going. I you give me more insight on how to configure the group policy for random port exceptions.
0
 

Author Comment

by:BlueGlory
ID: 37778827
We installed the second instance successfully
0
 

Author Comment

by:BlueGlory
ID: 37778833
non
0
 

Author Comment

by:BlueGlory
ID: 37778844
We successfully installed a second instance
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

Occasionally there is a need to clean table columns, especially if you have inherited legacy data. There are obviously many ways to accomplish that, including elaborate UPDATE queries with anywhere from one to numerous REPLACE functions (even within…
Use this article to create a batch file to backup a Microsoft SQL Server database to a Windows folder.  The folder can be on the local hard drive or on a network share.  This batch file will query the SQL server to get the current date & time and wi…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.

920 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

15 Experts available now in Live!

Get 1:1 Help Now