<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Steps to troubleshoot SQL connectivity issues</title><link>http://blogs.msdn.com/sql_protocols/archive/2008/04/30/steps-to-troubleshoot-connectivity-issues.aspx</link><description>We have been seeing and trying to resolve SQL connectivity issue all the time. I guess it would be helpful if we can put some guidance on how to resolve connectivity issues. Here comes a proposal based on my experience. Basically, when you failed to connect</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>re: Steps to troubleshoot SQL connectivity issues</title><link>http://blogs.msdn.com/sql_protocols/archive/2008/04/30/steps-to-troubleshoot-connectivity-issues.aspx#8569267</link><pubDate>Mon, 02 Jun 2008 15:13:22 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8569267</guid><dc:creator>Waleed </dc:creator><description>&lt;p&gt;i'm using oledb connection.&lt;/p&gt;
&lt;p&gt;while deploying my application to client pc i can't connect to sqlserver 2005 developer ed.&lt;/p&gt;
&lt;p&gt;while from my pc (i have vb.net 2003) i'm connecting&lt;/p&gt;
&lt;p&gt;error message &lt;/p&gt;
&lt;p&gt;[DBNETLIB][Connection Open(Connect()).]SQL Server does not exist or access denied&lt;/p&gt;
</description></item><item><title>How to Change the Dynamic Port of the SQL Server Named Instance to an Static Port in a SQL Server 2005 Cluster</title><link>http://blogs.msdn.com/sql_protocols/archive/2008/04/30/steps-to-troubleshoot-connectivity-issues.aspx#8592388</link><pubDate>Thu, 12 Jun 2008 03:04:18 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8592388</guid><dc:creator>SQL Server Tips &amp; Tricks</dc:creator><description>&lt;p&gt;In SQL server the default instance has a listener which listens on the fixed port which is TCP port 1433.&lt;/p&gt;
</description></item><item><title>re: Steps to troubleshoot SQL connectivity issues</title><link>http://blogs.msdn.com/sql_protocols/archive/2008/04/30/steps-to-troubleshoot-connectivity-issues.aspx#8594362</link><pubDate>Fri, 13 Jun 2008 14:30:24 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8594362</guid><dc:creator>Marker</dc:creator><description>&lt;p&gt;I am not able to connect to SQL 2005 DB in windows authentication mode remotly from web application. Is it required to configure kerberos auhentication?&lt;/p&gt;
&lt;p&gt;What could be the cause of this?&lt;/p&gt;
</description></item><item><title>re: Steps to troubleshoot SQL connectivity issues</title><link>http://blogs.msdn.com/sql_protocols/archive/2008/04/30/steps-to-troubleshoot-connectivity-issues.aspx#8661899</link><pubDate>Fri, 27 Jun 2008 17:59:15 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8661899</guid><dc:creator>Victor</dc:creator><description>&lt;p&gt;Hi!... I have this configuration:&lt;/p&gt;
&lt;p&gt;1 SQL Server 2000 Enterprise Edition mounted on a Windows 2003 Server (wich we will call Server A). SQL Server is listening trough port 1433&lt;/p&gt;
&lt;p&gt;1 Windows 2003 Server (wich we will call Server B)&lt;/p&gt;
&lt;p&gt;Both Servers are on the same network group &lt;/p&gt;
&lt;p&gt;What I need is to create an SQL Server System DSN to connect from B to a SQL Server Database located in A. &lt;/p&gt;
&lt;p&gt;When I do This i get the following error:&lt;/p&gt;
&lt;p&gt;[DBNETLIB]SQL Server does not exist or access denied&lt;/p&gt;
&lt;p&gt;[DBNETLIB]ConnectionOpen (Connect()).&lt;/p&gt;
&lt;p&gt;If I try to use the osql command, everytime i get the same error... &lt;/p&gt;
&lt;p&gt;What might be causing this????&lt;/p&gt;
</description></item><item><title>re: Steps to troubleshoot SQL connectivity issues</title><link>http://blogs.msdn.com/sql_protocols/archive/2008/04/30/steps-to-troubleshoot-connectivity-issues.aspx#8675855</link><pubDate>Tue, 01 Jul 2008 11:04:05 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8675855</guid><dc:creator>AlexWCY</dc:creator><description>&lt;p&gt;Hi, I am having below error in my production server that running ASP.NET2.0 and SQL Server 2005. Can someone tell me why this error happen? Thanks.&lt;/p&gt;
&lt;p&gt;Source = .Net SqlClient Data Provider&lt;/p&gt;
&lt;p&gt;Error = A connection was successfully established with the server, but then an error occurred during the pre-login handshake. (provider: SSL Provider, error: 0 - Not enough storage is available to complete this operation.) | &amp;nbsp; &amp;nbsp;at System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; at System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; at System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; at System.Data.SqlClient.SqlConnection.Open()&lt;/p&gt;
</description></item><item><title>re: Steps to troubleshoot SQL connectivity issues</title><link>http://blogs.msdn.com/sql_protocols/archive/2008/04/30/steps-to-troubleshoot-connectivity-issues.aspx#8745030</link><pubDate>Fri, 18 Jul 2008 01:06:26 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8745030</guid><dc:creator>Ernst </dc:creator><description>&lt;p&gt;Thank for Help on Step 2, it seems SQL Express defaults these all to off. SO remote access doesnt work.&lt;/p&gt;
</description></item><item><title>re: Steps to troubleshoot SQL connectivity issues</title><link>http://blogs.msdn.com/sql_protocols/archive/2008/04/30/steps-to-troubleshoot-connectivity-issues.aspx#8764528</link><pubDate>Tue, 22 Jul 2008 20:43:58 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8764528</guid><dc:creator>Cor</dc:creator><description>&lt;p&gt;I am having occasional/rare connection problems with ADO/ADO .Net connection pooling. The connections use aliases set up for TCP/IP. Could the problems be occurring because of Kerberos Ticket Expiration with the pooled connections or could it be that SQL Server is Orphaning the pooled connections or could it be some sort of socket problem? Perhaps someone has another suggestion as to what may be wrong. I am considering using Named Pipes instead to get around Kerberos authentication. &lt;/p&gt;
</description></item><item><title>re: Steps to troubleshoot SQL connectivity issues</title><link>http://blogs.msdn.com/sql_protocols/archive/2008/04/30/steps-to-troubleshoot-connectivity-issues.aspx#8767105</link><pubDate>Wed, 23 Jul 2008 17:50:16 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8767105</guid><dc:creator>Harvey</dc:creator><description>&lt;p&gt;In my case, the SQL application slows down to a crawl when the customer loses his internet service. When the service was restored by the provider, it started working like is should. Any thoughts . . &amp;nbsp;.&lt;/p&gt;
</description></item><item><title>re: Steps to troubleshoot SQL connectivity issues</title><link>http://blogs.msdn.com/sql_protocols/archive/2008/04/30/steps-to-troubleshoot-connectivity-issues.aspx#8767722</link><pubDate>Thu, 24 Jul 2008 00:16:47 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8767722</guid><dc:creator>SQL Protocols</dc:creator><description>&lt;p&gt;Harvey, it's probably Windows Authentication and/or SSL handshaking are tring to connect the DC or some network entity. &lt;/p&gt;
&lt;p&gt;For all other guys, some are general cases. Please ask questions in the forum so that somebody can help you troubleshooting. We need more detailed info about the failure and its circumstance!!! &lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;
&lt;p&gt;Xinwei&lt;/p&gt;
</description></item><item><title>re: Steps to troubleshoot SQL connectivity issues</title><link>http://blogs.msdn.com/sql_protocols/archive/2008/04/30/steps-to-troubleshoot-connectivity-issues.aspx#8881558</link><pubDate>Wed, 20 Aug 2008 19:33:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8881558</guid><dc:creator>Sarah</dc:creator><description>&lt;p&gt;I've also found that running a quick trace to catch login failures is useful. App teams generally don't believe that their app is configured wrong. They will insist that the server is down even though all connectivity tests we use work. We will start the trace and have them try to connect. &amp;nbsp;If you don't see a failure, you can absolutely point to a problem outside of MSSQL. &amp;nbsp;It sometimes takes this to get folks to check other possibilities.&lt;/p&gt;
</description></item><item><title>re: Steps to troubleshoot SQL connectivity issues</title><link>http://blogs.msdn.com/sql_protocols/archive/2008/04/30/steps-to-troubleshoot-connectivity-issues.aspx#8906592</link><pubDate>Fri, 29 Aug 2008 23:02:56 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8906592</guid><dc:creator>PuckStopper</dc:creator><description>&lt;p&gt;I'm having an issue connectiont to SQL server through Access. &amp;nbsp;It only occurs during testing when we set the PC date forward on the client machine. &amp;nbsp;Has anyone come accross this? ErrorMsg: &amp;nbsp;-2147467259 Cannot generate SSPI Context&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
</description></item><item><title>re: Steps to troubleshoot SQL connectivity issues</title><link>http://blogs.msdn.com/sql_protocols/archive/2008/04/30/steps-to-troubleshoot-connectivity-issues.aspx#8937278</link><pubDate>Tue, 09 Sep 2008 22:20:42 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8937278</guid><dc:creator>Shai</dc:creator><description>&lt;p&gt;We're seeing an issue in our environment where we have a .NET 1.1 web application on a Windows 2003 server machine and SQL Server on a Windows 2000 server machine. &amp;nbsp;In the application, we use SQL logins to connect to the db. &amp;nbsp;What we are seeing is, when we put a bad password to log in, an error message is generated (login failed) in the event log which is what's expected, but then we continually see the same error message repeating for the next few hours as if the connection is still alive and retrying automatically. &amp;nbsp;Any ideas why? &amp;nbsp;Thanks&lt;/p&gt;
</description></item><item><title>re: Steps to troubleshoot SQL connectivity issues</title><link>http://blogs.msdn.com/sql_protocols/archive/2008/04/30/steps-to-troubleshoot-connectivity-issues.aspx#9126619</link><pubDate>Thu, 20 Nov 2008 02:48:43 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9126619</guid><dc:creator>Nathan</dc:creator><description>&lt;p&gt;I am trying to connect to a MSSQL &amp;nbsp;2005 server from a Windows NT box through a system DSN. &amp;nbsp;I know 2005 prefers you use SQL Native Client to connect, however, all that is on this machine is the SQL Server driver. &amp;nbsp;How can I make this work?&lt;/p&gt;
</description></item><item><title>re: Steps to troubleshoot SQL connectivity issues</title><link>http://blogs.msdn.com/sql_protocols/archive/2008/04/30/steps-to-troubleshoot-connectivity-issues.aspx#9237890</link><pubDate>Fri, 19 Dec 2008 00:22:51 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9237890</guid><dc:creator>dmickel</dc:creator><description>&lt;p&gt;I just installed MSSQL 2008 Server on my laptop XP SP3 for evaluation purposes. All SQL services start except for the engine. I get the following message in event viewer.&lt;/p&gt;
&lt;p&gt;SQL Trace was stopped due to server shutdown. Trace ID = '1'. This is an informational message only; no user action is required.&lt;/p&gt;
&lt;p&gt;When I research this I get lots of different things but none seems to help my issue. &lt;/p&gt;
&lt;p&gt;Thanks in advance for any help.&lt;/p&gt;
</description></item><item><title>re: Steps to troubleshoot SQL connectivity issues</title><link>http://blogs.msdn.com/sql_protocols/archive/2008/04/30/steps-to-troubleshoot-connectivity-issues.aspx#9242084</link><pubDate>Fri, 19 Dec 2008 16:41:48 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9242084</guid><dc:creator>SandorVigh</dc:creator><description>&lt;p&gt;Please help to find the solution to problem.&lt;/p&gt;
&lt;p&gt;We used MSSQL 2000 without any problems with ODBC , and now we tried to use MSSQL2008. Approximately on every fifth PC we cannot set the ODBC connection with SQL server, we receive error logs :&lt;/p&gt;
&lt;p&gt;SQL State '1000'&lt;/p&gt;
&lt;p&gt;SQL Server error 10060&lt;/p&gt;
&lt;p&gt;SQL State '08001'&lt;/p&gt;
&lt;p&gt;SQL server error 17&lt;/p&gt;
&lt;p&gt;we tried everything, it seems that on some clients something missing, but I have no idea what is this.&lt;/p&gt;
&lt;p&gt;The clients MSSQL ODBC version : 03.85.1132&lt;/p&gt;
&lt;p&gt;with this version on one PC it is working, on the pother isn't.&lt;/p&gt;
&lt;p&gt;I tried to turn of the firewall : no effect.&lt;/p&gt;
&lt;p&gt;What to do ?&lt;/p&gt;
</description></item><item><title>re: Steps to troubleshoot SQL connectivity issues</title><link>http://blogs.msdn.com/sql_protocols/archive/2008/04/30/steps-to-troubleshoot-connectivity-issues.aspx#9242536</link><pubDate>Fri, 19 Dec 2008 20:54:49 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9242536</guid><dc:creator>SQL Protocols</dc:creator><description>&lt;p&gt;SandorVigh, &lt;/p&gt;
&lt;p&gt;error 10060 is:&lt;/p&gt;
&lt;p&gt;A connection attempt failed because the connected party did not properly respond after a period of time, or established&lt;/p&gt;
&lt;p&gt;connection failed because connected host has failed to respond.&lt;/p&gt;
&lt;p&gt;This still looks like a firewall issue if the server name is correct. Did you tried to follow my steps to troubleshoot? Is your server machine Vista/Windows Server 2008? Turning off the firewall on Vista/W2k8 is little tricky as it involves different domains. &lt;/p&gt;
&lt;p&gt;I would suggest you post your follow up question on our forum (mentioned at the end of the blog)&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Xinwei&lt;/p&gt;
</description></item><item><title>re: Steps to troubleshoot SQL connectivity issues</title><link>http://blogs.msdn.com/sql_protocols/archive/2008/04/30/steps-to-troubleshoot-connectivity-issues.aspx#9242541</link><pubDate>Fri, 19 Dec 2008 20:57:43 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9242541</guid><dc:creator>SQL Protocols</dc:creator><description>&lt;p&gt;dmickel,&lt;/p&gt;
&lt;p&gt;Can you post a question on our forum and post the info in SQL Server Errorlog file?&lt;/p&gt;
&lt;p&gt;Thanks. &lt;/p&gt;
</description></item><item><title>re: Steps to troubleshoot SQL connectivity issues</title><link>http://blogs.msdn.com/sql_protocols/archive/2008/04/30/steps-to-troubleshoot-connectivity-issues.aspx#9483283</link><pubDate>Tue, 17 Mar 2009 13:58:35 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9483283</guid><dc:creator>SM</dc:creator><description>&lt;p&gt;Hi &lt;/p&gt;
&lt;p&gt;I am getting an error :&lt;/p&gt;
&lt;p&gt;&amp;quot;Message:[Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified &amp;quot;.&lt;/p&gt;
&lt;p&gt;Just to brief about my setup , It goes like this;I have a SQL server 2008 installed on Win 2008 (x64)and I also have a clinet machine installed with Win 2003(32-bit).&lt;/p&gt;
&lt;p&gt;Now I am trying to establish a connectivity between them by using SNAC tool (v10.0).&lt;/p&gt;
&lt;p&gt;Actually I am running one benchmark application script on Client machine which first tries to establish the database connectivity .&lt;/p&gt;
&lt;p&gt;Now I think some one can give me some clue what could be the reason for the error.I also have created Aliases on both server as well as Client machine (Was not very sure where they required to be created).&lt;/p&gt;
&lt;p&gt;I have been strugling all alone for quite a time now.Hope someone can help me to reach at the solution.&lt;/p&gt;
&lt;p&gt;Thanks &amp;amp; Regards,&lt;/p&gt;
&lt;p&gt;SM.&lt;/p&gt;
</description></item><item><title>[DBNETLIB][ConnectionOpen (Connect()).]SQL Server does not exist or access denied</title><link>http://blogs.msdn.com/sql_protocols/archive/2008/04/30/steps-to-troubleshoot-connectivity-issues.aspx#9527923</link><pubDate>Thu, 02 Apr 2009 00:35:33 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9527923</guid><dc:creator>Sanjay</dc:creator><description>&lt;p&gt;Hi &lt;/p&gt;
&lt;p&gt;I am getting an error :&lt;/p&gt;
&lt;p&gt;&amp;quot;[DBNETLIB][ConnectionOpen (Connect()).]SQL Server does not exist or access denied&amp;quot;&lt;/p&gt;
&lt;p&gt;While accessing SQL Server 7.0 from a MS Access 2007 application. My client m/c OS: Windows XP Service Pack 2. The same access application is working on other desktop (XP SP2) in the same network. I have performed the following steps, but no hope.&lt;/p&gt;
&lt;p&gt;#1: I found sqloledb.rll file was missing, i placed the above resource file in appropriate location. No luck.&lt;/p&gt;
&lt;p&gt;#2: Tried repairing MDAC from INF folder, no luck.&lt;/p&gt;
&lt;p&gt;Any suggestion? Thank you in advance.&lt;/p&gt;
</description></item><item><title>re: Steps to troubleshoot SQL connectivity issues</title><link>http://blogs.msdn.com/sql_protocols/archive/2008/04/30/steps-to-troubleshoot-connectivity-issues.aspx#9634468</link><pubDate>Fri, 22 May 2009 02:15:26 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9634468</guid><dc:creator>thussain</dc:creator><description>&lt;p&gt;I am getting this error sometime only when connecting to my sql server 2000 from my client machine using isql&lt;/p&gt;
&lt;p&gt;OLE DB provider &amp;quot;SQLNCLI&amp;quot; for linked server &amp;quot;oa-citrix02&amp;quot; returned message &amp;quot;Login timeout expired&amp;quot;.&lt;/p&gt;
&lt;p&gt;OLE DB provider &amp;quot;SQLNCLI&amp;quot; for linked server &amp;quot;oa-citrix02&amp;quot; returned message &amp;quot;An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections.&amp;quot;.&lt;/p&gt;
&lt;p&gt;apple&lt;/p&gt;
&lt;p&gt;Server: Msg 50000, Level 16, State 1, Line 15&lt;/p&gt;
&lt;p&gt;Named Pipes Provider: Could not open a connection to SQL Server [5]. &lt;/p&gt;
&lt;p&gt;OrangeNamed Pipes Provider: Could not open a connection to SQL Server [5]. &lt;/p&gt;
</description></item><item><title>Steps to troubleshoot SQL connectivity issues</title><link>http://blogs.msdn.com/sql_protocols/archive/2008/04/30/steps-to-troubleshoot-connectivity-issues.aspx#9883793</link><pubDate>Tue, 25 Aug 2009 18:44:17 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9883793</guid><dc:creator>akhilpatel2</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I seem to be in deep trouble over a linked server setup. I have 2 servers running SQL server 2005 standard x64 SP3. I am trying to create a linked server from one to another. &lt;/p&gt;
&lt;p&gt;I createa link server and map a login called testuser2 (sql login) on both servers, and has sysadmin permissions. However, after running sp_addlinkedserver and sp_addlinkedsrvlogin, if I attempt running a query or run &amp;quot;Test Connection&amp;quot; the query times out or gives an error &amp;quot; login failed for NT AUTHORITY\ANYONYMOUS LOGON..with the client name.&lt;/p&gt;
&lt;p&gt;If I check in the server logs (to which I was trying to query ), it gives me an error &amp;nbsp;&lt;/p&gt;
&lt;p&gt;Error: 18456, Severity: 14, State: 11.&lt;/p&gt;
&lt;p&gt;I tried pinging and doing an nslookup from client machine and it succeeds. These are servers on same domain and in the same location. I have also ensured that both servers have named pipes enabled on them..&lt;/p&gt;
&lt;p&gt;I also sometimes get error 7399. Linked server authentication failed, even through I can connect remootely through the same login 'testuser2' on either server.&lt;/p&gt;
&lt;p&gt;Any help would be appreciated.&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Akhil&lt;/p&gt;
</description></item><item><title>re: Steps to troubleshoot SQL connectivity issues</title><link>http://blogs.msdn.com/sql_protocols/archive/2008/04/30/steps-to-troubleshoot-connectivity-issues.aspx#9885667</link><pubDate>Wed, 26 Aug 2009 20:48:43 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9885667</guid><dc:creator>SQL Protocols</dc:creator><description>&lt;p&gt;Akhil, &lt;/p&gt;
&lt;p&gt;Can you check this blog see if it can solve your problem? &lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://blogs.msdn.com/sql_protocols/archive/2006/08/10/694657.aspx"&gt;http://blogs.msdn.com/sql_protocols/archive/2006/08/10/694657.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;
&lt;p&gt;Xinwei&lt;/p&gt;
</description></item><item><title>re: Steps to troubleshoot SQL connectivity issues</title><link>http://blogs.msdn.com/sql_protocols/archive/2008/04/30/steps-to-troubleshoot-connectivity-issues.aspx#9887010</link><pubDate>Thu, 27 Aug 2009 17:46:06 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9887010</guid><dc:creator>Larry Kagan</dc:creator><description>&lt;p&gt;Hi, &lt;/p&gt;
&lt;p&gt;We have some erratic performance with our .net app which uses connection pooling and has a VERY high throughput to our SQL Server 2005 database.&lt;/p&gt;
&lt;p&gt;We were wondering when is it appropriate to configure an additional port for SQL Server to listen on. &lt;/p&gt;
&lt;p&gt;There are NO error messages in the SQL Server log nor in the client logs indicating a particular problem, but netstat reports a high number of TCP failed connections.&lt;/p&gt;
&lt;p&gt;TCP Statistics for IPv4&lt;/p&gt;
&lt;p&gt; &amp;nbsp;Active Opens &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= 690858&lt;/p&gt;
&lt;p&gt; &amp;nbsp;Passive Opens &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; = 140956&lt;/p&gt;
&lt;p&gt; &amp;nbsp;Failed Connection Attempts &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= 650737 &amp;nbsp;&lt;/p&gt;
&lt;p&gt; &amp;nbsp;Reset Connections &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; = 6829&lt;/p&gt;
&lt;p&gt; &amp;nbsp;Current Connections &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; = 24&lt;/p&gt;
&lt;p&gt; &amp;nbsp;Segments Received &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; = 2971348717&lt;/p&gt;
&lt;p&gt; &amp;nbsp;Segments Sent &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; = 1947969915&lt;/p&gt;
&lt;p&gt; &amp;nbsp;Segments Retransmitted &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= 5448550 &lt;/p&gt;
&lt;p&gt;Note our SQL Server version string is:&lt;/p&gt;
&lt;p&gt;Microsoft SQL Server 2005 - 9.00.4035.00 (X64) &amp;nbsp; Nov 24 2008 16:17:31 &amp;nbsp; Copyright (c) 1988-2005 Microsoft Corporation &amp;nbsp;Enterprise Edition (64-bit) on Windows NT 5.2 (Build 3790: Service Pack 2)&lt;/p&gt;
&lt;p&gt;The server is a cluster using ipv4 and listening on 1433.&lt;/p&gt;
&lt;p&gt;Thank you,&lt;/p&gt;
&lt;p&gt;-Larry&lt;/p&gt;
</description></item><item><title>re: Steps to troubleshoot SQL connectivity issues</title><link>http://blogs.msdn.com/sql_protocols/archive/2008/04/30/steps-to-troubleshoot-connectivity-issues.aspx#9907473</link><pubDate>Thu, 15 Oct 2009 07:00:04 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9907473</guid><dc:creator>keik</dc:creator><description>&lt;p&gt;Sometimes the port is not 1433&lt;/p&gt;
&lt;p&gt;Look in the registry using regedit.exe at HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\SQLEXPRESS\MSSQLServer\SuperSocketNetLib\Tcp. &lt;/p&gt;
&lt;p&gt;One of the nameValue pairs has name TcpPort and a value, which is the port that the SQL Server is listening on (mine was set to 1030). &lt;/p&gt;
</description></item><item><title>re: Steps to troubleshoot SQL connectivity issues</title><link>http://blogs.msdn.com/sql_protocols/archive/2008/04/30/steps-to-troubleshoot-connectivity-issues.aspx#9918416</link><pubDate>Fri, 06 Nov 2009 06:54:58 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9918416</guid><dc:creator>S. Balakrishnan</dc:creator><description>&lt;p&gt;Hai,&lt;/p&gt;
&lt;p&gt;We have 2008 Server &amp;amp; SQL 2008.&lt;/p&gt;
&lt;p&gt;Networking load balancing also has been installed.&lt;/p&gt;
&lt;p&gt;for 6 ips and virtual ip is 192.168.1.100&lt;/p&gt;
&lt;p&gt;Nat policy has been created in sonicall to route the static ip to local ip.&lt;/p&gt;
&lt;p&gt;Now i am trying to conect the odbc it say server does not exist.&lt;/p&gt;
&lt;p&gt;What must be the issue&lt;/p&gt;
&lt;p&gt;please help me.&lt;/p&gt;
&lt;p&gt;Thanks &amp;amp; REgards&lt;/p&gt;
&lt;p&gt;S. Balakrishnan&lt;/p&gt;
</description></item><item><title>re: Steps to troubleshoot SQL connectivity issues</title><link>http://blogs.msdn.com/sql_protocols/archive/2008/04/30/steps-to-troubleshoot-connectivity-issues.aspx#9918420</link><pubDate>Fri, 06 Nov 2009 07:03:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9918420</guid><dc:creator>S. Balakrishnan</dc:creator><description>&lt;p&gt;Hai&lt;/p&gt;
&lt;p&gt;We have 2008 Server &amp;amp; SQL 2008&lt;/p&gt;
&lt;p&gt;Networking Load Balance has been configured&lt;/p&gt;
&lt;p&gt;the virual ip is 192.168.1.100&lt;/p&gt;
&lt;p&gt;Nat policy has been created throguh sonicwall to this ip from the public ip (static Ip).&lt;/p&gt;
&lt;p&gt;Now i am strying to connect the odbc. it says server does not exist&lt;/p&gt;
&lt;p&gt;Please help me to trouble shoot&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;S. Balakrishnan&lt;/p&gt;
&lt;p&gt;edp@rajparkchennai.com&lt;/p&gt;
</description></item><item><title>re: Steps to troubleshoot SQL connectivity issues</title><link>http://blogs.msdn.com/sql_protocols/archive/2008/04/30/steps-to-troubleshoot-connectivity-issues.aspx#9934854</link><pubDate>Wed, 09 Dec 2009 22:24:38 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9934854</guid><dc:creator>Aaron Barr</dc:creator><description>&lt;p&gt;Thank You so much Keik. You helped determine the last port I had to unblock. I am running SQL 2008 on WS 2008. For anyone else having this issue for me I did this.&lt;/p&gt;
&lt;p&gt;On my Windows Server 2008 I did the following:&lt;/p&gt;
&lt;p&gt;1.Added an exception for the SQL Browser exe file.&lt;/p&gt;
&lt;p&gt;2.Added an exception for the UDP Port 1434.&lt;/p&gt;
&lt;p&gt;3.Found out what the listening port was by following Keik's advice which is&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;&amp;quot;Look in the registry using regedit.exe at HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\SQLEXPRESS\MSSQLServer\SuperSocketNetLib\Tcp. &lt;/p&gt;
&lt;p&gt;One of the nameValue pairs has name TcpPort and a value, which is the port that the SQL Server is listening on (mine was set to 1030).&amp;quot; &lt;/p&gt;
&lt;p&gt;Mine was 51070 then added the exception to that tcp in the windows firewall.&lt;/p&gt;
&lt;p&gt;Then boom all access finally granted. Thank you Keik for suggesting that as it finally became unblocked and now works like a champ. I have spent litterally 2 days getting this to work and I had figured that it was a simple firewall issue but was lost on where to find the information. God Bless you Sir!&lt;/p&gt;
</description></item></channel></rss>