<?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>Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx</link><description>Part III – Connection Fail when SqlClient connects to Sql Server 2005 When you connect to SQL Server 2005 either using "SQL Server Managment Studio" or any application compiled with .NET Framework 2.0, you are using SqlClient provider(Access data from</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>re: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#516403</link><pubDate>Tue, 24 Jan 2006 00:17:22 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:516403</guid><dc:creator>Randy Martin</dc:creator><description>This is a great list of troubleshooting tips.  I would like to add one for your inspection and (if possible) resolution.  This has been a stumper for me.  Any help would be appreciated.&lt;br&gt;Randy Martin&lt;br&gt;randy.martin@ds-iq.com&lt;br&gt;&lt;br&gt;&lt;br&gt;OLE DB provider &amp;quot;SQLNCLI&amp;quot; for linked server &amp;quot;linkedserver&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;br&gt;Msg 782, Level 16, State 1, Line 0&lt;br&gt;SQL Network Interfaces: No credentials are available in the security package&lt;br&gt;OLE DB provider &amp;quot;SQLNCLI&amp;quot; for linked server &amp;quot;linkedserver&amp;quot; returned message &amp;quot;Client unable to establish connection&amp;quot;.&lt;br&gt;Msg 782, Level 16, State 1, Line 0&lt;br&gt;SQL Network Interfaces: No credentials are available in the security package</description></item><item><title>re: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#516581</link><pubDate>Tue, 24 Jan 2006 05:16:49 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:516581</guid><dc:creator>Julian</dc:creator><description>i need help with this.&lt;br&gt;&lt;br&gt;I try to connect my project in visual studio with my database sql server express 2005 and...&lt;br&gt;&lt;br&gt;An error has occurred while established a connection to 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 &lt;br&gt;&lt;br&gt;please any help to:&lt;br&gt;juliangrijalba@gmail.com</description></item><item><title>re: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#516948</link><pubDate>Tue, 24 Jan 2006 21:30:46 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:516948</guid><dc:creator>SQL Protocols</dc:creator><description>Julian: If you’re trying to connect from a remote machine you will have to enable network protocols to enable remote connectivity.&lt;br&gt;&lt;br&gt;This may help.&lt;br&gt;&lt;a rel="nofollow" target="_new" href="http://blogs.msdn.com/sqlexpress/archive/2005/05/05/415084.aspx"&gt;http://blogs.msdn.com/sqlexpress/archive/2005/05/05/415084.aspx&lt;/a&gt;&lt;br&gt;&lt;br&gt;</description></item><item><title>re: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#517498</link><pubDate>Wed, 25 Jan 2006 21:12:18 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:517498</guid><dc:creator>SQL Protocols</dc:creator><description>Hi, randy&lt;br&gt;  &lt;br&gt;  Here is our suggestion:&lt;br&gt;&lt;br&gt;  This might caused by the kerberos ticket in the session cache expires in the middle tier server.The situation could be first, you configure a linked server C on your machine B, and you connect to B from machine A by using SSMS and executing query of C; Secondly, you connected from A to B as your domain credential, and B connect to C using same credential based on your configuration. But if you kept the connection from A to B for a long time, your domain credential catche on B probably expires after a period of continuous use.&lt;br&gt;&lt;br&gt;Possible resolution:&lt;br&gt;&lt;br&gt;1) If your OS is WIN2K and XP, please refer follow KB artical&lt;br&gt;&lt;br&gt;818173 Authentication May Intermittently Fail&lt;br&gt;&lt;a rel="nofollow" target="_new" href="http://support.microsoft.com/default.aspx?scid=kb;EN-US;818173"&gt;http://support.microsoft.com/default.aspx?scid=kb;EN-US;818173&lt;/a&gt;&lt;br&gt;&lt;br&gt;2) If not 1), on your machine B, please configure a new linked server by specifying the DSN equals C, and explicitly specify a sql login name and pwd in security instead of using current login credential.&lt;br&gt;&lt;br&gt;If you still face the problem, please let us know your configuration and how you make connection, if possible, attach any info in the server log.&lt;br&gt;&lt;br&gt;Thanks for your comments!&lt;br&gt;Ming.&lt;br&gt;</description></item><item><title>re: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#517898</link><pubDate>Thu, 26 Jan 2006 19:44:44 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:517898</guid><dc:creator>Steve</dc:creator><description>Hi, my SQL Agent 2005 service won't start. I cannot connect to the Profiler (2005) either. But both the SQl Server 2005 and sqlbrowser services are running and active. I have Sql Server 2000 on the same machine as the default instance and the SQL Server 2005 as the named instance wiht name &amp;quot;SQL2005&amp;quot;. &lt;br&gt;The error log from starting sqlagent is the following:&lt;br&gt;[298] SQLServer Error: 21, Encryption not supported on the client. [SQLSTATE 08001] &lt;br&gt;[298] SQLServer Error: 21, Client unable to establish connection [SQLSTATE 08001] &lt;br&gt;[165] ODBC Error: 0, 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. [SQLSTATE 08001] &lt;br&gt;[000] Unable to connect to server '&amp;lt;servername&amp;gt;\SQL2005'; SQLServerAgent cannot start&lt;br&gt;[298] SQLServer Error: 21, Encryption not supported on the client. [SQLSTATE 08001] &lt;br&gt;[298] SQLServer Error: 21, Client unable to establish connection [SQLSTATE 08001] &lt;br&gt;[165] ODBC Error: 0, 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. [SQLSTATE 08001] &lt;br&gt;[382] Logon to server '&amp;lt;servername&amp;gt;\SQL2005' failed (DisableAgentXPs)&lt;br&gt;[098] SQLServerAgent terminated (normally)&lt;br&gt;&lt;br&gt;If I run sqlcmd -S instancename, I got the following error:&lt;br&gt;HResult 0x15, Level 16, State 1&lt;br&gt;Encryption not supported on the client.&lt;br&gt;Sqlcmd: Error: Microsoft SQL Native Client : Client unable to establish connecti&lt;br&gt;on.&lt;br&gt;Sqlcmd: Error: Microsoft SQL Native Client : 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.&lt;br&gt;&lt;br&gt;I have both remote connection and tcp/ip enabled.&lt;br&gt;Any help is greatly appreciated!&lt;br&gt;&lt;br&gt;Steve&lt;br&gt;</description></item><item><title>re: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#518579</link><pubDate>Sat, 28 Jan 2006 02:58:10 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:518579</guid><dc:creator>SQL Protocols</dc:creator><description>Hi, Steve&lt;br&gt;&lt;br&gt;    First, thanks for posting detail info to help us identify possible cause. Secondly, your problem might be either corruption of encryption setting or schannel corruption on your client side box.&lt;br&gt;&lt;br&gt;1)Your client side setting probably was messed up. Please go to SQL Server Configuration Manager and click properties for &amp;quot;SQL Native Client Configuration&amp;quot;, if correct, you should be able to see two flags, one is &amp;quot;force client encryption&amp;quot;, the other one is &amp;quot;trust server certificate&amp;quot; and value were set &amp;quot;yes&amp;quot; or &amp;quot;no&amp;quot;. If you see &amp;quot;No properties are available&amp;quot;, that means your client registry key was messed up and leads to the connection error . To fix this, suggest reinstall SNAC(SQL Native Client).&lt;br&gt;&lt;br&gt;2)If you are sure 1) was not the case, that might be schannel library somehow corrupt on your client box or no encryption support in you OS, and we need to collect more info, eg, see whether there is warning or error in the eventlog 'security'.&lt;br&gt;&lt;br&gt;3)Please double check whether there is any error which indicates certificate or encryption in the server error log, and if there is, please let us know what kind of error displayed.&lt;br&gt;&lt;br&gt;Most likely, your case is due to 1), to fix the messed up setting on your client, you'd better reinstall SNAC which is in tools part of Yukon installation.&lt;br&gt;&lt;br&gt;Wish this help you!&lt;br&gt;Ming.&lt;br&gt;</description></item><item><title>re: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#524082</link><pubDate>Fri, 03 Feb 2006 18:10:56 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:524082</guid><dc:creator>Steve</dc:creator><description>Hi, Ming,&lt;br/&gt;Sorry it took a little while. I wanted to make sure I tried your solutions before responding. Suggestion 1) helped. I did not see those two flags so went right ahead uninstalling and reinstalling the SQL Native Client.&lt;br/&gt;Both the agent and profiler are now working.&lt;br/&gt;Thanks very much for the help.&lt;br/&gt;Steve</description></item><item><title>re: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#528835</link><pubDate>Thu, 09 Feb 2006 22:41:46 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:528835</guid><dc:creator>Rajesh</dc:creator><description>Hi,&lt;br /&gt; I am having a SQLNCLI problem similar to &amp;nbsp;Randy's issue above, but slightly different.&lt;br /&gt;&lt;br /&gt;I have configured a linked server C (SQL2000) on machine B (SQL2005), and I connect to B from machine A by using terminal Server and executing a simple query &lt;br /&gt;&lt;br /&gt;INSERT INTO mydb..mytable -- this is on Machine B&lt;br /&gt;Select * from C.mydb..mytable where ....&lt;br /&gt;&lt;br /&gt;This is dealing with a data set of about 13 Million and it fails with a timeout error (details at the end of this message) and it fails exactly after 10 minutes. &lt;br /&gt;&lt;br /&gt;Summary - Scenario 1:&lt;br /&gt;A -&amp;gt;termServ-&amp;gt;B-&amp;gt;Run distributed query involving C (in management studio) or execute SSIS package. -- Failure either way after exactly 10 minutes.&lt;br /&gt;&lt;br /&gt;I have this same operation going on on a different machine D, where this is part of an &amp;quot;Exec SQL task&amp;quot; inside a SSIS package.&lt;br /&gt;And the package is schedule to run nightly and it does this part in about 30 minutes.&lt;br /&gt;Last week this package started failing after 10 minutes of trying - before last week it was always successful and finished in roughly 30 minutes.&lt;br /&gt;&lt;br /&gt;Summary - Scenario 2:&lt;br /&gt;D -&amp;gt; Scheduled task involving a pkg doing a distributed query involving C -- Suddenly Started Failing after exactly 10 minutes and continued failing consistently.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;So, I looked around and found a Remote Query timeout setting of 10 minutes on ServerC. I set this to 0 (unlimited), and this fixed scenario 2.&lt;br /&gt;Scenario 1 continues to fail.&lt;br /&gt;&lt;br /&gt;======Error===========================&lt;br /&gt;OLE DB provider &amp;quot;SQLNCLI&amp;quot; for linked server &amp;quot;ServerC&amp;quot; returned message &amp;quot;Query timeout expired&amp;quot;.&lt;br /&gt;Msg 7399, Level 16, State 1, Line 1&lt;br /&gt;The OLE DB provider &amp;quot;SQLNCLI&amp;quot; for linked server &amp;quot;ServerC&amp;quot; reported an error. Execution terminated by the provider because a resource limit was reached.&lt;br /&gt;Msg 7421, Level 16, State 2, Line 1&lt;br /&gt;Cannot fetch the rowset from OLE DB provider &amp;quot;SQLNCLI&amp;quot; for linked server &amp;quot;ServerC&amp;quot;. .&lt;br /&gt;======================================&lt;br /&gt;&lt;br /&gt;Any thoughts or help is greatly appreciated.&lt;br /&gt;&lt;br /&gt;Thanks,&lt;br /&gt;Rajesh</description></item><item><title>re: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#528841</link><pubDate>Thu, 09 Feb 2006 22:48:35 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:528841</guid><dc:creator>Rajesh</dc:creator><description>Forgot to include my email.&lt;br /&gt;rajesh_vee@donotspam.hotmail.com&lt;br /&gt;&lt;br /&gt;- email modified to prevent automated spam engines. Please cut out the donotspam part. Thanks.</description></item><item><title>re: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#529116</link><pubDate>Fri, 10 Feb 2006 06:02:59 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:529116</guid><dc:creator>SQL Protocols</dc:creator><description>Try setting the Remote Query timeout on server/machine B, or possibly on all servers involved, and let us know whether it makes any difference. &amp;nbsp;&lt;br /&gt;&lt;br /&gt;FYI, setting the value to 0 (infinity) is not recommended. &amp;nbsp;Prfeerably set to to a value that is high enough for your purpose. &amp;nbsp;&lt;br /&gt;&lt;br /&gt;Thanks,&lt;br /&gt;Peter Gvozdjak&lt;br /&gt;&lt;br /&gt;</description></item><item><title>re: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#535366</link><pubDate>Mon, 20 Feb 2006 13:49:09 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:535366</guid><dc:creator>skiblue</dc:creator><description>I try to connect to SQL Server 2005 using ADO: &lt;br&gt;&lt;br&gt;(1)connect to a named instance(mynamedinstance),using SQL Native Client as the driver. &lt;br&gt;&lt;br&gt;CString strConn =_T(&amp;quot;Provider=SQLNCLI;Data Source=mypcname\\mynamedinstance;Initial Catalog=mydb;User Id=myuser;Password=mypw;&amp;quot;); &lt;br&gt;_ConnectionPtr conn(&amp;quot;ADODB.Connection&amp;quot;); &lt;br&gt;_bstr_t bstrConn(strConn); &lt;br&gt;if( FAILED(conn-&amp;gt;Open(bstrConn, _T(&amp;quot;&amp;quot;), _T(&amp;quot;&amp;quot;), 0)) ) &lt;br&gt;{...} &lt;br&gt;&lt;br&gt;Connect successfully! &lt;br&gt;&lt;br&gt;(2)connect to the default instance, using SQL Native Client as the driver, but use DSN in the connection string. &lt;br&gt;&lt;br&gt;CString strConn =_T(&amp;quot;Provider=SQLNCLI;DSN=myDSN;Uid=myuser;Pwd=mypw;&amp;quot;); &lt;br&gt;... &lt;br&gt;... &lt;br&gt;&lt;br&gt;Connect successfuly! &lt;br&gt;&lt;br&gt;(3)Conncet to a named instance(mynamedinstance), using SQL Native Client as the driver, using DSN in the connection string. &lt;br&gt;&lt;br&gt;CString strConn =_T(&amp;quot;Provider=SQLNCLI;DSN=myDSN;Uid=myuser;Pwd=mypw;&amp;quot;); &lt;br&gt;... &lt;br&gt;... &lt;br&gt;&lt;br&gt;Connect error!!! &lt;br&gt;&lt;br&gt;Why (3) failed? Please help me. &lt;br&gt;</description></item><item><title>re: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#535801</link><pubDate>Tue, 21 Feb 2006 04:21:22 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:535801</guid><dc:creator>Nan Tu</dc:creator><description>Provider SQLNCLI does not recognize DSN. So, in the second case, the DSN=myDSN is ignored and, possibly, &amp;nbsp;connection successfully connect to local default instance. In the third case, the DSN=myDSN is ignored as well and connection cannot be established for named instance.&lt;br&gt;&lt;br&gt;So the short answer is “Do not use DSN when using SQLNCLI provider”.&lt;br&gt;</description></item><item><title>re: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#541911</link><pubDate>Thu, 02 Mar 2006 10:45:31 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:541911</guid><dc:creator>Francois</dc:creator><description>Hi guys, Im getting this connection error &lt;br&gt;&lt;br&gt;[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. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)]&lt;br&gt;&lt;br&gt;, but only when i move the application from my local machine (which connects fine) to a IIS server. What can the error be?</description></item><item><title>re: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#542579</link><pubDate>Fri, 03 Mar 2006 03:54:40 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:542579</guid><dc:creator>Agron Bauta</dc:creator><description>Hi,&lt;br&gt;&lt;br&gt;the problem that is driving me nuts is this:&lt;br&gt;&lt;br&gt;Error Message 5:&lt;br&gt;&lt;br&gt;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. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)&lt;br&gt;&lt;br&gt;1) You might have named pipe or tcp enabled and connect to a named instance, but SQL Browser service was not started or enabled. To enable browser, First, Use net start or go to sql configuration manager(SSCM), check whether sqlbrowser service is running, if not, start it; Secondly,You still need to make sure SqlBrowser is active. Go to SSCM, click properties of sqlbrowser service -&amp;gt; Advanced-&amp;gt; Active “Yes” or “No”, if sqlbrowser is running but is not active, the service would not serve you correct pipe name and Tcp port info on which your connection depends.&lt;br&gt;&lt;br&gt;=====&lt;br&gt;&lt;br&gt;I have enabbled and activated sqlbrowser but &amp;nbsp;still get the error: 26 as above.&lt;br&gt;&lt;br&gt;When I am running the &amp;gt;sqlcmd utility, connecting and quering the DB work fine.&lt;br&gt;&lt;br&gt;Is there any other cause and solution to the error: 26 other than the above explanation. All the resources I found online say the same thing, which obviously is not good enough for me.&lt;br&gt;&lt;br&gt;Regards,&lt;br&gt;&lt;br&gt; &amp;nbsp; Agron&lt;br&gt; &amp;nbsp;&lt;br&gt;</description></item><item><title>re: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#542906</link><pubDate>Fri, 03 Mar 2006 17:36:27 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:542906</guid><dc:creator>Agron Bauta</dc:creator><description>Sorry, I forgot to mention that my Application is not trying to access the DB remotely. The app and the DB are located in the same computer.&lt;br&gt;&lt;br&gt;The connection string is the following:&lt;br&gt;&lt;br&gt;&amp;lt;add key=&amp;quot;connStr&amp;quot; value=&amp;quot;data source=AGRON\SQLEXPRESS;initial catalog=INVENTORY;integrated security=SSPI;persist security info=False;workstation id=AGRON;packet size=4096;&amp;quot; /&amp;gt; &amp;nbsp;&lt;br&gt;&lt;br&gt;Regards</description></item><item><title>re: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#543403</link><pubDate>Sat, 04 Mar 2006 05:27:15 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:543403</guid><dc:creator>SQL Protocols</dc:creator><description>Hi, Agron&lt;br&gt;&lt;br&gt; &amp;nbsp; It seems you installed SQLEXPRESS. Normally, it is installed as a named instance and with TCP and Named Pipe are disabled by default. &lt;br&gt;&lt;br&gt;To resolve this:&lt;br&gt;&lt;br&gt;1)If you have shared momery disabled, either enable it or enable tcp,named pipe and restart SQL Server.&lt;br&gt;&lt;br&gt;2)If 1) is not the case, and you still fail to connect even with TCP and Named Pipe enabled, please check which port or pipe name server is listening on( go to SQL Server Configuration Manager, click properties for *Protocols for MSSQLSERVER*), then specify exact port in your connection string:&lt;br&gt;data source=AGRON\SQLEXPRESS,&amp;lt;PortNumber&amp;gt; ..; if that works, that might be sqlbrowser issue. But remember double check whether server is listening on the configured port.&lt;br&gt;&lt;br&gt;Here is useful info for SqlExpress &lt;br&gt;&lt;br&gt;&lt;a rel="nofollow" target="_new" href="http://blogs.msdn.com/sqlexpress/archive/2005/05/05/415084.aspx"&gt;http://blogs.msdn.com/sqlexpress/archive/2005/05/05/415084.aspx&lt;/a&gt; &lt;br&gt;&lt;br&gt;Let me know if you have further &amp;nbsp;questions.&lt;br&gt;&lt;br&gt;Ming. &lt;br&gt;</description></item><item><title>re: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#543754</link><pubDate>Sun, 05 Mar 2006 01:17:56 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:543754</guid><dc:creator>Agron Bauta</dc:creator><description>Thank you Ming,&lt;br&gt;&lt;br&gt;I just uninstalled and reinstalled SQL Server Express, and now everything seems to be working fine.&lt;br&gt;&lt;br&gt; Thank you for your help,&lt;br&gt;&lt;br&gt; &amp;nbsp; Agron</description></item><item><title>re: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#550746</link><pubDate>Tue, 14 Mar 2006 00:22:30 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:550746</guid><dc:creator>Joe THomas</dc:creator><description>A connection I used for SQL 2000 doesn't work for 2005. &amp;nbsp;App servers are in DOMAIN1 and SQL servers are in DOMAIN2. &amp;nbsp;There is no trust between the domains.&lt;br&gt;&lt;br&gt;Create DOMAIN1\User1 and DOMAIN2\User1 with identical passwords.&lt;br&gt;&lt;br&gt;From App servers (DOMAIN1) I can create a DSN that uses Windows NT Authentication to SQL 2000 (DOMAIN2). &amp;nbsp;Connection works fine.&lt;br&gt;&lt;br&gt;From App servers (DOMAIN1) if I create the same DSN that uses Windows NT Authentication to SQL 2005 (DOMAIN2) - it fails.&lt;br&gt;&lt;br&gt;[Microsoft][ODBC SQL Server Driver][SQL Server]Login failed for user ''. The user is not associated with a trusted SQL Server connection.&lt;br&gt;&lt;br&gt;The domains aren't trusted because a firewall separates them. &amp;nbsp;The app I am using requires NT Authentication -- I can't do SQL Server Authentication to get around this.&lt;br&gt;&lt;br&gt;Any suggestions?</description></item><item><title>re: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#551318</link><pubDate>Tue, 14 Mar 2006 20:01:25 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:551318</guid><dc:creator>SQL Protocols</dc:creator><description>Hi, Joe&lt;br&gt;&lt;br&gt; &amp;nbsp; &amp;nbsp;To identify your problem, we need further information:&lt;br&gt; &amp;nbsp; &amp;nbsp;1) Does your SQL 2000 run on the same box as SQL 2005? &lt;br&gt; &amp;nbsp; &amp;nbsp;2) What OS are they installed? Was SQL 2000 installed on WIN2K or WIN2K3? &lt;br&gt; &amp;nbsp; &amp;nbsp;3) How do you make connection to SQL 2000 and SQL 2005? Could you provide the connection string, which protocol you use to connect different server, TCP or Named Pipe?&lt;br&gt; &amp;nbsp; &amp;nbsp;4) Could you attach any info inside the Server Log file? The error you saw was returned by server response, so we believe helpful info should be logged.&lt;br&gt; &amp;nbsp; &amp;nbsp;5) Since the domain aren't trusted, the SQL Server 2005 behavior seems right. Could you provide more detail info about your domain credential configuration?&lt;br&gt;&lt;br&gt;Thanks!&lt;br&gt;Ming.</description></item><item><title>re: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#551392</link><pubDate>Tue, 14 Mar 2006 21:49:42 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:551392</guid><dc:creator>Joe THomas</dc:creator><description> 1) Does your SQL 2000 run on the same box as SQL 2005? &amp;nbsp;&lt;br&gt;No - separate servers.&lt;br&gt; &amp;nbsp; 2) What OS are they installed? Was SQL 2000 installed on WIN2K or WIN2K3? &lt;br&gt;SQL 2000 - Windows 2000&lt;br&gt;SQL 2005 - Windows 2003&lt;br&gt; &amp;nbsp; 3) How do you make connection to SQL 2000 and SQL 2005? Could you provide the connection string, which protocol you use to connect different server, TCP or Named Pipe? &lt;br&gt;TCP -- I am using the System DSN (under Admin tools, Data Sources).&lt;br&gt; &amp;nbsp; 4) Could you attach any info inside the Server Log file? The error you saw was returned by server response, so we believe helpful info should be logged. &lt;br&gt;&lt;br&gt;Date		3/13/2006 5:23:47 PM&lt;br&gt;Log		SQL Server (Current - 3/14/2006 2:00:00 AM)&lt;br&gt;&lt;br&gt;Source		Logon&lt;br&gt;&lt;br&gt;Message&lt;br&gt;Login failed for user ''. The user is not associated with a trusted SQL Server connection. [CLIENT: 10.3.1.73]&lt;br&gt;-----------------&lt;br&gt;Date		3/13/2006 5:23:47 PM&lt;br&gt;Log		SQL Server (Current - 3/14/2006 2:00:00 AM)&lt;br&gt;&lt;br&gt;Source		Logon&lt;br&gt;&lt;br&gt;Message&lt;br&gt;Error: 18452, Severity: 14, State: 1.&lt;br&gt;---------------------&lt;br&gt;Date		3/13/2006 5:23:47 PM&lt;br&gt;Log		SQL Server (Current - 3/14/2006 2:00:00 AM)&lt;br&gt;&lt;br&gt;Source		Logon&lt;br&gt;&lt;br&gt;Message&lt;br&gt;SSPI handshake failed with error code 0x8009030c while establishing a connection with integrated security; the connection has been closed. [CLIENT: 10.3.1.73]&lt;br&gt;&lt;br&gt; &amp;nbsp; 5) Since the domain aren't trusted, the SQL Server 2005 behavior seems right. Could you provide more detail info about your domain credential configuration? &lt;br&gt;Sorry - I don't understand the question.&lt;br&gt;</description></item><item><title>re: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#552333</link><pubDate>Thu, 16 Mar 2006 01:28:31 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:552333</guid><dc:creator>Nan Tu</dc:creator><description>Joe,&lt;br&gt;&lt;br&gt; &amp;nbsp;The solution to hop over untrusted domain are. Basically the authentication uses NTLM.&lt;br&gt;&lt;br&gt;1) create local account with identical password on both machine. Say, create &amp;quot;testuser&amp;quot; on both machineA and machineB with password &amp;quot;testuserpass&amp;quot;.&lt;br&gt;&lt;br&gt;2) grant testuser permission to access SS2k5 on machine A.&lt;br&gt;&lt;br&gt;3) run your client app as testuser on machine B.&lt;br&gt;&lt;br&gt;In your case, eventhough the username are same, but the difference between domains make the access token SID actually different. By using machine local account, NTLM do not check domain credentials.&lt;br&gt;&lt;br&gt;Hope this helps.&lt;br&gt;&lt;br&gt;&lt;br&gt;</description></item><item><title>re: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#552338</link><pubDate>Thu, 16 Mar 2006 01:41:38 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:552338</guid><dc:creator>SQL Protocols</dc:creator><description>Joe,&lt;br&gt; &amp;nbsp;In both cases, ss2k and ss2k5, you can check the login use name using &amp;quot;select suser_name()&amp;quot;</description></item><item><title>re: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#552390</link><pubDate>Thu, 16 Mar 2006 03:36:12 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:552390</guid><dc:creator>Jeremy Holt</dc:creator><description>&lt;br&gt;Hi, I'm in a bit of a panic.&lt;br&gt;&lt;br&gt;I have successfully been running SQL Server 2005 (Integrated Security) on Windows Server 2003 SP1 for the last few months.&lt;br&gt;&lt;br&gt;Ever since I installed the latest Critical Updates from Windows Updates this afternoon, all remote connections to SQL Server are being refused. The updates installed were:&lt;br&gt;	Update for Windows Server 2003 (KB904942)&lt;br&gt;	Update for Windows Server 2003 (KB912945)&lt;br&gt;	Windows Malicious Software removal Tools - March 2006 (KB890830).&lt;br&gt;&lt;br&gt;I am unable to connect to my remote server using SQL Server Management Studio on my local machine. None of my applications using the same connection string: &amp;quot;Data Source=my.server.com;Initial Catalog=myCatalog;Integrated Security=True&amp;quot; are working - each attempt to connect to the server returns this error message:&lt;br&gt;&lt;br&gt;An error has occurred while establishing a connection to the server. &amp;nbsp;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. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) (Microsoft SQL Server, Error: 1214)&lt;br&gt;&lt;br&gt;If I access the server through an internet application (i.e. one running on the same machine as SQL Server) - I have no problems, in that case the connection string is: &amp;quot;Data Source=(local);Initial Catalog=myCatalog;Integrated Security=True&amp;quot;.&lt;br&gt;&lt;br&gt;The server was under a sustained attack from some prick this morning trying the usual username = root, admin, sa, sql etc.&lt;br&gt;&lt;br&gt;Please let me know if there is any more information I can provide to help in working out what's happened.&lt;br&gt;&lt;br&gt;I am absolutely desperate ......&lt;br&gt;&lt;br&gt;Regards&lt;br&gt;Jeremy Holt&lt;br&gt;jholt@nospam.amberwoodtrading.com (please remove the nospam bit).&lt;br&gt;Tel: +5585 3273 3444&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;The error log is&lt;br&gt;&lt;br&gt;2006-03-15 16:52:58.84 Server &amp;nbsp; &amp;nbsp; &amp;nbsp;Microsoft SQL Server 2005 - 9.00.1399.06 (Intel X86) &lt;br&gt;	Oct 14 2005 00:33:37 &lt;br&gt;	Copyright (c) 1988-2005 Microsoft Corporation&lt;br&gt;	Standard Edition on Windows NT 5.2 (Build 3790: Service Pack 1)&lt;br&gt;&lt;br&gt;2006-03-15 16:52:58.84 Server &amp;nbsp; &amp;nbsp; &amp;nbsp;(c) 2005 Microsoft Corporation.&lt;br&gt;2006-03-15 16:52:58.84 Server &amp;nbsp; &amp;nbsp; &amp;nbsp;All rights reserved.&lt;br&gt;2006-03-15 16:52:58.84 Server &amp;nbsp; &amp;nbsp; &amp;nbsp;Server process ID is 236.&lt;br&gt;2006-03-15 16:52:58.84 Server &amp;nbsp; &amp;nbsp; &amp;nbsp;Logging SQL Server messages in file 'C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\LOG\ERRORLOG'.&lt;br&gt;2006-03-15 16:52:58.84 Server &amp;nbsp; &amp;nbsp; &amp;nbsp;This instance of SQL Server last reported using a process ID of 3948 at 3/15/2006 4:52:20 PM (local) 3/16/2006 12:52:20 AM (UTC). This is an informational message only; no user action is required.&lt;br&gt;2006-03-15 16:52:58.84 Server &amp;nbsp; &amp;nbsp; &amp;nbsp;Registry startup parameters:&lt;br&gt;2006-03-15 16:52:58.84 Server &amp;nbsp; &amp;nbsp; &amp;nbsp;	 -d C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\DATA\master.mdf&lt;br&gt;2006-03-15 16:52:58.84 Server &amp;nbsp; &amp;nbsp; &amp;nbsp;	 -e C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\LOG\ERRORLOG&lt;br&gt;2006-03-15 16:52:58.84 Server &amp;nbsp; &amp;nbsp; &amp;nbsp;	 -l C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\DATA\mastlog.ldf&lt;br&gt;2006-03-15 16:52:58.85 Server &amp;nbsp; &amp;nbsp; &amp;nbsp;SQL Server is starting at normal priority base (=7). This is an informational message only. No user action is required.&lt;br&gt;2006-03-15 16:52:58.85 Server &amp;nbsp; &amp;nbsp; &amp;nbsp;Detected 1 CPUs. This is an informational message; no user action is required.&lt;br&gt;2006-03-15 16:52:58.95 Server &amp;nbsp; &amp;nbsp; &amp;nbsp;Using dynamic lock allocation. &amp;nbsp;Initial allocation of 2500 Lock blocks and 5000 Lock Owner blocks per node. &amp;nbsp;This is an informational message only. &amp;nbsp;No user action is required.&lt;br&gt;2006-03-15 16:52:59.01 Server &amp;nbsp; &amp;nbsp; &amp;nbsp;Attempting to initialize Microsoft Distributed Transaction Coordinator (MS DTC). This is an informational message only. No user action is required.&lt;br&gt;2006-03-15 16:52:59.04 Server &amp;nbsp; &amp;nbsp; &amp;nbsp;The Microsoft Distributed Transaction Coordinator (MS DTC) service could not be contacted. &amp;nbsp;If you would like distributed transaction functionality, please start this service.&lt;br&gt;2006-03-15 16:52:59.04 Server &amp;nbsp; &amp;nbsp; &amp;nbsp;Database Mirroring Transport is disabled in the endpoint configuration.&lt;br&gt;2006-03-15 16:52:59.07 spid5s &amp;nbsp; &amp;nbsp; &amp;nbsp;Starting up database 'master'.&lt;br&gt;2006-03-15 16:52:59.22 spid5s &amp;nbsp; &amp;nbsp; &amp;nbsp;Recovery is writing a checkpoint in database 'master' (1). This is an informational message only. No user action is required.&lt;br&gt;2006-03-15 16:52:59.50 spid5s &amp;nbsp; &amp;nbsp; &amp;nbsp;SQL Trace ID 1 was started by login &amp;quot;sa&amp;quot;.&lt;br&gt;2006-03-15 16:52:59.57 spid5s &amp;nbsp; &amp;nbsp; &amp;nbsp;Starting up database 'mssqlsystemresource'.&lt;br&gt;2006-03-15 16:53:00.33 spid9s &amp;nbsp; &amp;nbsp; &amp;nbsp;Starting up database 'model'.&lt;br&gt;2006-03-15 16:53:00.39 spid5s &amp;nbsp; &amp;nbsp; &amp;nbsp;Server name is 'STAR'. This is an informational message only. No user action is required.&lt;br&gt;2006-03-15 16:53:00.69 Server &amp;nbsp; &amp;nbsp; &amp;nbsp;A self-generated certificate was successfully loaded for encryption.&lt;br&gt;2006-03-15 16:53:00.70 Server &amp;nbsp; &amp;nbsp; &amp;nbsp;Server is listening on [ 'any' &amp;lt;ipv4&amp;gt; 1433].&lt;br&gt;2006-03-15 16:53:00.70 Server &amp;nbsp; &amp;nbsp; &amp;nbsp;Server local connection provider is ready to accept connection on [ \\.\pipe\SQLLocal\MSSQLSERVER ].&lt;br&gt;2006-03-15 16:53:00.71 Server &amp;nbsp; &amp;nbsp; &amp;nbsp;Server local connection provider is ready to accept connection on [ \\.\pipe\sql\query ].&lt;br&gt;2006-03-15 16:53:00.71 Server &amp;nbsp; &amp;nbsp; &amp;nbsp;Server is listening on [ 127.0.0.1 &amp;lt;ipv4&amp;gt; 1434].&lt;br&gt;2006-03-15 16:53:00.71 Server &amp;nbsp; &amp;nbsp; &amp;nbsp;Dedicated admin connection support was established for listening locally on port 1434.&lt;br&gt;2006-03-15 16:53:00.72 Server &amp;nbsp; &amp;nbsp; &amp;nbsp;The SQL Network Interface library could not register the Service Principal Name (SPN) for the SQL Server service. Error: 0x54b. Failure to register an SPN may cause integrated authentication to fall back to NTLM instead of Kerberos. This is an informational message. Further action is only required if Kerberos authentication is required by authentication policies.&lt;br&gt;2006-03-15 16:53:00.72 Server &amp;nbsp; &amp;nbsp; &amp;nbsp;SQL Server is now ready for client connections. This is an informational message; no user action is required.&lt;br&gt;2006-03-15 16:53:00.79 spid12s &amp;nbsp; &amp;nbsp; Starting up database 'msdb'.&lt;br&gt;2006-03-15 16:53:00.79 spid13s &amp;nbsp; &amp;nbsp; Starting up database 'ReportServer'.&lt;br&gt;2006-03-15 16:53:00.79 spid14s &amp;nbsp; &amp;nbsp; Starting up database 'ReportServerTempDB'.&lt;br&gt;2006-03-15 16:53:00.81 spid15s &amp;nbsp; &amp;nbsp; Starting up database 'AdventureWorksDW'.&lt;br&gt;2006-03-15 16:53:03.95 spid9s &amp;nbsp; &amp;nbsp; &amp;nbsp;Clearing tempdb database.&lt;br&gt;2006-03-15 16:53:04.22 spid12s &amp;nbsp; &amp;nbsp; Starting up database 'AdventureWorks'.&lt;br&gt;2006-03-15 16:53:04.31 spid15s &amp;nbsp; &amp;nbsp; Starting up database 'ATRBE'.&lt;br&gt;2006-03-15 16:53:04.40 spid14s &amp;nbsp; &amp;nbsp; Starting up database 'Florenzano'.&lt;br&gt;2006-03-15 16:53:04.45 spid13s &amp;nbsp; &amp;nbsp; Starting up database 'Iracema'.&lt;br&gt;2006-03-15 16:53:08.98 spid14s &amp;nbsp; &amp;nbsp; Starting up database 'StockControlSQL2001'.&lt;br&gt;2006-03-15 16:53:09.21 spid12s &amp;nbsp; &amp;nbsp; Starting up database 'StockControlSQL2002'.&lt;br&gt;2006-03-15 16:53:13.26 spid13s &amp;nbsp; &amp;nbsp; Starting up database 'aspnetdb'.&lt;br&gt;2006-03-15 16:53:16.75 spid9s &amp;nbsp; &amp;nbsp; &amp;nbsp;Starting up database 'tempdb'.&lt;br&gt;2006-03-15 16:53:19.16 spid13s &amp;nbsp; &amp;nbsp; The Service Broker protocol transport is disabled or not configured.&lt;br&gt;2006-03-15 16:53:19.16 spid13s &amp;nbsp; &amp;nbsp; The Database Mirroring protocol transport is disabled or not configured.&lt;br&gt;2006-03-15 16:53:20.07 spid13s &amp;nbsp; &amp;nbsp; Service Broker manager has started.&lt;br&gt;2006-03-15 16:53:20.25 spid52 &amp;nbsp; &amp;nbsp; &amp;nbsp;Using 'xpstar90.dll' version '2005.90.1399' to execute extended stored procedure 'xp_instance_regread'. This is an informational message only; no user action is required.&lt;br&gt;2006-03-15 16:53:20.68 spid5s &amp;nbsp; &amp;nbsp; &amp;nbsp;Recovery is complete. This is an informational message only. No user action is required.&lt;br&gt;2006-03-15 16:53:22.14 spid52 &amp;nbsp; &amp;nbsp; &amp;nbsp;Configuration option 'show advanced options' changed from 0 to 1. Run the RECONFIGURE statement to install.&lt;br&gt;2006-03-15 16:53:22.36 spid52 &amp;nbsp; &amp;nbsp; &amp;nbsp;Configuration option 'Agent XPs' changed from 0 to 1. Run the RECONFIGURE statement to install.&lt;br&gt;2006-03-15 16:53:22.56 spid52 &amp;nbsp; &amp;nbsp; &amp;nbsp;Configuration option 'show advanced options' changed from 1 to 0. Run the RECONFIGURE statement to install.&lt;br&gt;2006-03-15 16:53:24.33 spid52 &amp;nbsp; &amp;nbsp; &amp;nbsp;Using 'xpsqlbot.dll' version '2005.90.1399' to execute extended stored procedure 'xp_qv'. This is an informational message only; no user action is required.&lt;br&gt;2006-03-15 16:53:25.07 spid52 &amp;nbsp; &amp;nbsp; &amp;nbsp;Using 'xplog70.dll' version '2005.90.1399' to execute extended stored procedure 'xp_msver'. This is an informational message only; no user action is required.</description></item><item><title>re: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#552510</link><pubDate>Thu, 16 Mar 2006 04:48:34 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:552510</guid><dc:creator>Matt Neerincx [MSFT]</dc:creator><description>Hi Jeremy,&lt;br&gt;&lt;br&gt;Sounds like someone perhaps tweaked the settings on Windows Firewall on your SQL Server machine (perhaps in response to someone trying to bust in as sa? Not sure).&lt;br&gt;&lt;br&gt;Check Windows Firewall on the machine and make sure that there is a way for external applications to use tcp port 1433 to your SQL Server.&lt;br&gt;&lt;br&gt;Take a look at this article for details on setting this up properly:&lt;br&gt;&lt;br&gt;841249	How to configure Windows XP Service Pack 2 (SP2) for use with SQL Server&lt;br&gt;&lt;a rel="nofollow" target="_new" href="http://support.microsoft.com/default.aspx?scid=kb;EN-US;841249"&gt;http://support.microsoft.com/default.aspx?scid=kb;EN-US;841249&lt;/a&gt;&lt;br&gt;&lt;br&gt;Note that this article applies equally well to Windows 2003 server as far as the Firewall settings go.</description></item><item><title>re: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#552741</link><pubDate>Thu, 16 Mar 2006 14:25:50 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:552741</guid><dc:creator>Jeremy Holt</dc:creator><description>Yes - you're absolutely correct. Our ISP had put a complete block on incoming packets to 1433 after I reported the attacks (but forgot to mention this to me). &lt;br&gt;By the time I'd sent this message to you, I had started smoking again - and I only gave up a week ago!!&lt;br&gt;&lt;br&gt;By the way, &amp;nbsp;what is the recomended way to protect SQL Server from attacks? The database is really an intranet - limited access to a very small group of users - however the users are located in various parts of the world, and for the most part use dynamic ip addresses provided by their local ISP.&lt;br&gt;&lt;br&gt;Regards&lt;br&gt;Jeremy&lt;br&gt;</description></item><item><title>re: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#552952</link><pubDate>Thu, 16 Mar 2006 19:21:45 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:552952</guid><dc:creator>Joe THomas</dc:creator><description>Thanks for the help. &amp;nbsp;I broke down and setup the domain trust. &amp;nbsp;It is working. &amp;nbsp;I just didn't want to poke those holes through the firewall, but I guess I have to.</description></item><item><title>re: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#553550</link><pubDate>Fri, 17 Mar 2006 11:31:54 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:553550</guid><dc:creator>Julius P.</dc:creator><description>Hi,&lt;br&gt;&lt;br&gt;I am having a problem in regards to &amp;quot;Cannot generate SSPI context&amp;quot;. Initially if the firewall was disabled (using windows2k3 and sql server 2005).. I am able to connect to SQL Server without having problem at all. Setting the suggested parameters in the firewall and enabling it, I am now stuck with this problem. I have tried following the troubleshooting procedures set to diagnose this but to no avail. Before trying to do anything else is there any other way to tweak the firewall settings? In addition I noticed if I initially disabled the firewall and connected to SQL server and disconnected the firewall again. Connecting to SQL server will not result with the same error? why is that?</description></item><item><title>re: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#563256</link><pubDate>Tue, 28 Mar 2006 21:02:23 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:563256</guid><dc:creator>Nan Tu</dc:creator><description>Julius,&lt;br&gt;&lt;br&gt; &amp;nbsp; &amp;quot;Cannot generate SSPI context&amp;quot; in your case indicates that your client machine can't access domain controller. Might be blocked by enabled firewall. Your second scenario is because Windows caches server credential when connect succussfully with domain controller and use that credential in subsequent connections.&lt;br&gt;&lt;br&gt;To further understand your problem,&lt;br&gt;(1) What OS is on your client/server machine?&lt;br&gt;(2) Does your client/server machine part of a domain?&lt;br&gt;(3) Is your client login a domain account?&lt;br&gt;(4) Where the firewall seat at, network topologically? &lt;br&gt;&lt;br&gt;Thanks,</description></item><item><title>re: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#567340</link><pubDate>Mon, 03 Apr 2006 18:46:29 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:567340</guid><dc:creator>Matt Flynn</dc:creator><description>Hi,&lt;br&gt;&lt;br&gt;We recently upgraded from SQL 2K to SQL 2005 on WINDOWS 2003 Server. The entire upgrade process has run pretty smoothly aside from encryption.&lt;br&gt;&lt;br&gt;We have ASP.NET 1.x apps that connect to an internal server but fail when encrypted. We have tried all of the steps available on the MS KB and still have not resolved the issue.&lt;br&gt;&lt;br&gt;On &lt;a rel="nofollow" target="_new" href="http://msdn2.microsoft.com/en-us/library/ms191192.aspx"&gt;http://msdn2.microsoft.com/en-us/library/ms191192.aspx&lt;/a&gt;, we find the following:&lt;br&gt;To configure the server to accept encrypted connections&lt;br&gt;&lt;br&gt; &amp;nbsp; 1. In SQL Server Configuration Manager, expand SQL Server 2005 Network Configuration, right-click Protocols for &amp;lt;server instance&amp;gt;, and then selectProperties.&lt;br&gt; &amp;nbsp; 2. In the Protocols for&amp;lt;instance name&amp;gt; Properties dialog box, on the Certificate tab, select the desired certificate from the drop down for the Certificate box, and then click OK.&lt;br&gt; &amp;nbsp; 3. On the Flags tab, in the ForceEncryption box, select Yes, and then click OK to close the dialog box.&lt;br&gt; &amp;nbsp; 4. Restart the SQL Server service.&lt;br&gt;&lt;br&gt;The problem is when we get to step 2, there are NO certificates available in the dropdown box.&lt;br&gt;&lt;br&gt;This problem is solely the result of installing SQL Server 2005. The apps were successfully encrypting data connections prior to the install. All internal and non-encrypted connections work correctly and no other changes were made to the box aside from the SQL 2005 upgrade.&lt;br&gt;&lt;br&gt;What can I do to get certificates to appear in the Certificate tab of the Properties dialog box?&lt;br&gt;&lt;br&gt;Many thanks.&lt;br&gt;&lt;br&gt;-Matt</description></item><item><title>re: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#567536</link><pubDate>Mon, 03 Apr 2006 22:55:58 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:567536</guid><dc:creator>Matt Neerincx [MSFT]</dc:creator><description>Hi Matt,&lt;br&gt;&lt;br&gt;The certificates dialog in SQL Server 2005 is actually trying to help you. &amp;nbsp;It will only display certificates that are valid for usage with SQL 2005 encryption. &amp;nbsp;So it verifies the following things:&lt;br&gt;&lt;br&gt;1. Enhanced Key Usage section of cert contains:&lt;br&gt;&lt;br&gt;Server Authentication (1.3.6.1.5.5.7.3.1)&lt;br&gt;&lt;br&gt;2. Certificate has private key.&lt;br&gt;&lt;br&gt;3. Certificate is in correct store (should be in Local Computer store under Personal Certificates for SQL running under localsystem or network service). &amp;nbsp;If your SQL is running under domain account, then it will look in the store for the domain account.&lt;br&gt;&lt;br&gt;So take a look at your cert and verify the above 3 items and it should show up in the dialog.</description></item><item><title>re: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#567583</link><pubDate>Mon, 03 Apr 2006 23:51:25 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:567583</guid><dc:creator>Matt Flynn</dc:creator><description>Matt,&lt;br&gt;&lt;br&gt;Thank you for your response. I know we have #3 set up as you mention, and we're looking into #1 and #2. Unfortunately my knowledge of certificates is limited so I don't know how to set or even check on these properties without doing some research first.&lt;br&gt;&lt;br&gt;We were able to open mmc and add the certificates snap-in, but we couldn't find any EKU or private key properties on the cert itself.&lt;br&gt;&lt;br&gt;Thanks again.&lt;br&gt;&lt;br&gt;-Matt F.</description></item><item><title>re: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#567617</link><pubDate>Tue, 04 Apr 2006 00:19:03 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:567617</guid><dc:creator>Matt Neerincx [MSFT]</dc:creator><description>Open MMC snapin and locate your certificate and double click on it to open the &amp;quot;Certificate&amp;quot; dialog box.&lt;br&gt;&lt;br&gt;On the General tab you should see something like:&lt;br&gt;&lt;br&gt;Issued to: xyz&lt;br&gt;Issued by: xyz&lt;br&gt;Valid from &amp;lt;start date&amp;gt; to &amp;lt;end date&amp;gt;&lt;br&gt;&lt;br&gt;Then below the Valid from... you should see:&lt;br&gt;&lt;br&gt;&amp;quot;You have a private key that corresponds to this certificate&amp;quot;&lt;br&gt;&lt;br&gt;If you don't see this, then the cert does not contain the private key.&lt;br&gt;&lt;br&gt;For Enhanced Key Usage go to the Details tab and scroll down until you see &amp;quot;Enhanced Key Usage&amp;quot; section. &amp;nbsp;If you select this you should see:&lt;br&gt;&lt;br&gt;Server Authentication (1.3.6.1.5.5.7.3.1)&lt;br&gt;&lt;br&gt;You may see more things in here, this is fine, but Server Authentication is required.&lt;br&gt;&lt;br&gt;I know I ran into difficulty getting #2 to work with some methods of obtaining the certificate. &amp;nbsp;Let me know how you are obtaining the certificate.</description></item><item><title>re: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#567642</link><pubDate>Tue, 04 Apr 2006 00:38:32 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:567642</guid><dc:creator>Nan Tu</dc:creator><description>Also pay attention to &lt;br&gt;(1) whether the issue to: xyz match the FQDN of your machine name,&lt;br&gt;&lt;br&gt;(2) the expriation date of your certificate.&lt;br&gt;&lt;br&gt;These two checks are added for sql servr 2005 among others.</description></item><item><title>re: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#568168</link><pubDate>Tue, 04 Apr 2006 18:20:50 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:568168</guid><dc:creator>Matt Flynn</dc:creator><description>Speaking with my sys admins, they do see &amp;quot;You have a private key that corresponds to this certificate&amp;quot; as you mentioned and the cert does have server authentication checked in the EKU section.&lt;br&gt;&lt;br&gt;Interestingly, when the cert is imported onto my machine I do not see &amp;quot;You have a private key that corresponds to this certificate&amp;quot; listed on the same cert. Also, I'm importing a cert with a p7b file extension and a FQDN, but it installs not with the FQDN. I know I'm missing s step here.&lt;br&gt;&lt;br&gt;They are creating the cert using CA. We are currently trying different combinations of where the cert lives to try to resolve.&lt;br&gt;&lt;br&gt;-Matt</description></item><item><title>re: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#568178</link><pubDate>Tue, 04 Apr 2006 18:26:38 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:568178</guid><dc:creator>Matt Flynn</dc:creator><description>One other note.... Just tried to install a .cer with the correct FQDN and it tells me it installed correctly, but it does not appear in the cert list on ie.</description></item><item><title>re: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#568281</link><pubDate>Tue, 04 Apr 2006 20:38:53 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:568281</guid><dc:creator>Matt Neerincx [MSFT]</dc:creator><description>This sounds like when your admins are generating the certs, they are not enabling the following options when generating the cert. &amp;nbsp;These options are under the &amp;quot;Key Generation Options&amp;quot; section -&amp;gt;&lt;br&gt;&lt;br&gt;#1. You must check &amp;quot;Use local machine store&amp;quot;. &lt;br&gt;#2. You must check &amp;quot;Mark keys as exportable&amp;quot;.&lt;br&gt;&lt;br&gt;Sorry this is so confusing, the cert folks seem to never make life easy for us mere mortals. (G)</description></item><item><title>re: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#568294</link><pubDate>Tue, 04 Apr 2006 20:48:53 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:568294</guid><dc:creator>SQL Protocols</dc:creator><description>Matt, &lt;br&gt; &amp;nbsp;You can try to post more info on &lt;br&gt;&lt;a rel="nofollow" target="_new" href="http://forums.microsoft.com/MSDN/ShowForum.aspx?ForumID=87&amp;amp;SiteID=1"&gt;http://forums.microsoft.com/MSDN/ShowForum.aspx?ForumID=87&amp;amp;SiteID=1&lt;/a&gt; &lt;br&gt; &amp;nbsp;the SQL Server Data Access Forum.</description></item><item><title>re: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#568327</link><pubDate>Tue, 04 Apr 2006 21:19:23 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:568327</guid><dc:creator>MING LU [MSFT]</dc:creator><description>&lt;P&gt;Hi,Matt &lt;BR&gt;&lt;BR&gt;&amp;nbsp; Beside the suggestions from Matt Neerincx, I would add following: &lt;BR&gt;&lt;BR&gt;1) Your sql service should run under admin account, otherwise it has no permissing to the private key and thus the cert would not show up in the drop down list of SSCM, visit KB article for more detail: &lt;BR&gt;&lt;FONT face=Arial color=#000080 size=2&gt;&lt;A href="http://support.microsoft.com/?kbid=900495"&gt;http://support.microsoft.com/?kbid=900495&lt;/A&gt;. &lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Arial color=#000080 size=2&gt;&lt;/FONT&gt;&lt;BR&gt;2) SQL Server 2005 has a new kind cert called self-signed certificate, which means when server can not find a good cert to load in the cert store, it will load such a self-signed cert. In another word, you always can make encryption connection if you force server encryption, but, if you force client encryption, you will get error"certificate was not trusted" unless you specify trusting server cert through configuration,search more information in Books online. &lt;BR&gt;&lt;BR&gt;3)Before upgrad to 2005, if you set any cert in the registry key, you should be careful whether it already expired or match condition of valid cert for 2005, otherwise, after installing 2005, you might not be able to see them in the cert list and server would load a self-signed cert. &lt;BR&gt;&lt;BR&gt;Hope this helps! &lt;BR&gt;Ming.&lt;/P&gt;</description></item><item><title>re: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#570936</link><pubDate>Fri, 07 Apr 2006 20:10:55 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:570936</guid><dc:creator>Matt Flynn</dc:creator><description>Ming,&lt;br&gt;&lt;br&gt;The link you provided under #1 is clearly incorrect. Goes to a celebrities page of some sort.&lt;br&gt;&lt;br&gt;Anyway, as soon as we upgraded, all of our ASP.NET apps that were using Encrypt=True in their connection strings simply stopped working. Nothing else on either box, the server or the client, was changed. We changed the connection string to Encrypt=False and the apps work like they should, aside from not being encrypted. So my question is, what could cause this?&lt;br&gt;&lt;br&gt;We have tried just about every MS KB article and recommendation we can find. We created new certificates using a CA server. We made sure they have had private keys and allowed server authentication. Force protocol encryption is set to YES on the server.&lt;br&gt;&lt;br&gt;W still have never been able to get the certificate we create to appear in the list. We are logging on the server as the domain admin and starting the service under the same account.&lt;br&gt;&lt;br&gt;Any ideas why we can't see the cert in the list or why the encryption failed after a SQL upgrade?</description></item><item><title>re: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#571016</link><pubDate>Fri, 07 Apr 2006 22:07:22 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:571016</guid><dc:creator>MING LU [MSFT]</dc:creator><description>Hi, Matt&lt;br&gt;&lt;br&gt; &amp;nbsp; &amp;nbsp;First, Sorry about the wrong link, I meant to point to our KB article, it is &lt;a rel="nofollow" target="_new" href="http://support.microsoft.com/?kbid=900495"&gt;http://support.microsoft.com/?kbid=900495&lt;/a&gt;. &lt;br&gt;&lt;br&gt; &amp;nbsp; &amp;nbsp;Secondly, the encryption failure you saw is due to the reason that I desicribed in #2 of my last answer. Your server might load a self-signed cert(To verify this, you can go to server errorlog and see there is keyword &amp;quot;self-signed certificate&amp;quot;), and you forced client encryption through setting &amp;quot;Encrypt=True&amp;quot;. If you already forced server encryption, the connection should be encrypted. And if you require forcing client encryption, you need to have server loading a certificate issued by a trusted CA.&lt;br&gt;&lt;br&gt; &amp;nbsp; &amp;nbsp;Thirdly, please run &amp;quot;certutil.exe -v -store my&amp;quot;, the tool would verify whether the certs you installed are valid, and send us info, that would help us to identify why cert not appear in the list; and try change sql service running under LocalSystem account, see whether any cert appear in the list.&lt;br&gt;&lt;br&gt; &amp;nbsp; &amp;nbsp;Finally, we have questions about your scenario, whether you installed a cert in SQL 2000 before you upgrading and specifying server using such a cert? what is the reason you trying to install a new cert? &lt;br&gt;&lt;br&gt;Let us know how things going.&lt;br&gt;&lt;br&gt;</description></item><item><title>re: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#571047</link><pubDate>Fri, 07 Apr 2006 22:52:20 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:571047</guid><dc:creator>Matt Flynn</dc:creator><description>Thank you for your quick responses Ming, I really appreciate it!&lt;br&gt;&lt;br&gt;Looking at the errorlog, I see the following:&lt;br&gt;A self-generated certificate was successfully loaded for encryption.&lt;br&gt;&lt;br&gt;We need to force client encryption. How do we force the server to load a specific certificate for sql 2005? We have valid certificate installed.&lt;br&gt;&lt;br&gt;We ran certutil.exe -v -store my and got the output. Do you want that displayed as well? I'm concerned that might pose a security risk, only because I don't know the details.&lt;br&gt;&lt;br&gt;In terms of our scenario, we had a certificate installed for SQL 2K but as soon as we upgraded and the encrypted connections didn't work, we thought it was a certificate issue so we recreated hoping that would solve the problem.</description></item><item><title>re: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#578279</link><pubDate>Tue, 18 Apr 2006 17:41:54 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:578279</guid><dc:creator>Matt Flynn</dc:creator><description>Here is the error we recieve from asp.net 2.0 when Encrypt=True...&lt;br&gt;&lt;br&gt;&amp;quot;System.Data.SqlClient.SqlException: A connection was successfully established with the server, but then an error occurred during the pre-login handshake. (provider: SSL Provider, error: 0 - The certificate chain was issued by an authority that is not trusted.)&lt;br&gt; &amp;nbsp; at System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject)&lt;br&gt; &amp;nbsp; at System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection)&lt;br&gt; &amp;nbsp; at System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory)&lt;br&gt; &amp;nbsp; at System.Data.SqlClient.SqlConnection.Open()&lt;br&gt; &amp;nbsp; at System.Data.Common.DbDataAdapter.QuietOpen(IDbConnection connection, ConnectionState&amp;amp; originalState)&lt;br&gt; &amp;nbsp; at System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)&lt;br&gt; &amp;nbsp; at System.Data.Common.DbDataAdapter.Fill(DataTable[] dataTables, Int32 startRecord, Int32 maxRecords, IDbCommand command, CommandBehavior behavior)&lt;br&gt; &amp;nbsp; at System.Data.Common.DbDataAdapter.Fill(DataTable dataTable)&lt;br&gt; &amp;nbsp; at Security.GetSystemData() in C:\Inetpub\screen\App_Code\Security.vb:line 109&lt;br&gt; &amp;nbsp; at Security.SecurityCheck() in C:\Inetpub\screen\App_Code\Security.vb:line 94&amp;quot;</description></item><item><title>re: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#578419</link><pubDate>Tue, 18 Apr 2006 21:05:46 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:578419</guid><dc:creator>SQL Protocols</dc:creator><description>Check Server ERRORLOG and see if server load a self-signed cert? If you need force client encryption, you really need install a good certificate that valid for SQL Server 2005, otherwise, you can force server encryption to make encrypt connection if you are fine with the self-signed cert.&lt;br&gt;&lt;br&gt;Thanks!&lt;br&gt;Ming.</description></item><item><title>re: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#578420</link><pubDate>Tue, 18 Apr 2006 21:12:20 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:578420</guid><dc:creator>SQL Protocols</dc:creator><description>Since you are using ASP.NET 2.0, if you force client encryption and server load a self-signed cert, you can add one more connection string property &amp;quot;TrustServerCertificate=True&amp;quot; to make connection through. See detail in &amp;nbsp;&lt;a rel="nofollow" target="_new" href="http://msdn2.microsoft.com/en-US/library/system.data.sqlclient.sqlconnection.connectionstring"&gt;http://msdn2.microsoft.com/en-US/library/system.data.sqlclient.sqlconnection.connectionstring&lt;/a&gt;(VS.80).aspx&lt;br&gt;&lt;br&gt;Thanks!&lt;br&gt;Ming.</description></item><item><title>re: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#578445</link><pubDate>Tue, 18 Apr 2006 21:47:12 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:578445</guid><dc:creator>SQL Protocols</dc:creator><description>One more thing might be related to the error is that your server is not running under an admin account if you think you installed a valid certificate but server still load a self-signed cert. To fix that,change the service account to localsystem or an admin account, but this might not you want, recommend keep sql service running under low priviliage accoun and use the suggestion that I posted in last comments.&lt;br&gt;&lt;br&gt;Thanks!&lt;br&gt;Ming.</description></item><item><title>re: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#582676</link><pubDate>Tue, 25 Apr 2006 07:47:33 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:582676</guid><dc:creator>SQL Express Guy</dc:creator><description>Help!&lt;br&gt;&lt;br&gt;I have recently installed SQL Express on my Web Server. I am running .Net 1.1. I am using the ADO.NET SqlClient. The SQL Server and the Web Server are on the same machine. &amp;nbsp;Only local connections and shared memory are enabled. &amp;nbsp;I have no trouble connecting to the server via Management Studio or sqlcmd. &amp;nbsp;When I attempt to connect via ADO.NET, I receive a SQLException which says simply &amp;quot;Invalid Connection&amp;quot;. &amp;nbsp;This is the connection string:&lt;br&gt;&lt;br&gt;Server=.\SQLEXPRESS;Database=SomeDb;trusted_connection=sspi;&lt;br&gt;&lt;br&gt;What am I doing wrong? &amp;nbsp;I would prefer not to enable remote connections or other protocols if possible.&lt;br&gt;</description></item><item><title>re: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#583423</link><pubDate>Tue, 25 Apr 2006 21:38:29 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:583423</guid><dc:creator>SQL Protocols</dc:creator><description>Hi, &lt;br&gt;&lt;br&gt; &amp;nbsp;The error you saw indicates problem inside your client app,since you can connect through Whidbey and SNAC.&lt;br&gt; &amp;nbsp;If possible, could you provide your application? Or could you try follow script and see what happens?&lt;br&gt;***********************************&lt;br&gt;using System;&lt;br&gt;using System.Net;&lt;br&gt;using System.Data.SqlClient;&lt;br&gt;&lt;br&gt;namespace Sqlclient&lt;br&gt;{&lt;br&gt;	/// &amp;lt;summary&amp;gt;&lt;br&gt;	/// Summary description for Class1.&lt;br&gt;	/// &amp;lt;/summary&amp;gt;&lt;br&gt;	class LPCPrefixFallback&lt;br&gt;	{&lt;br&gt;		&lt;br&gt;		/// &amp;lt;summary&amp;gt;&lt;br&gt;		/// The main entry point for the application.&lt;br&gt;		/// &amp;lt;/summary&amp;gt;&lt;br&gt;		[STAThread]&lt;br&gt;		static void Main(string[] args)&lt;br&gt;		{&lt;br&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;string strConn = @&amp;quot;Server=.\SQLEXPRESS;Trusted_Connection=TRUE;&amp;quot;;&lt;br&gt;						&lt;br&gt;			SqlConnection myConn = null;&lt;br&gt;			//&lt;br&gt;			// TODO: Add code to start application here&lt;br&gt;			//&lt;br&gt;			&lt;br&gt;					&lt;br&gt;			Console.WriteLine(&amp;quot;Conn WIHOUT PRIFIX...&amp;quot;);&lt;br&gt;			&lt;br&gt;			try&lt;br&gt;			{&lt;br&gt;				Console.WriteLine(&amp;quot;connection {0}&amp;quot;,strConn);&lt;br&gt;				myConn = new SqlConnection(strConn);&lt;br&gt;				myConn.Open();&lt;br&gt;				SqlCommand curComm = new SqlCommand(&amp;quot;select net_library from sysprocesses where spid=@@spid&amp;quot;, myConn);&lt;br&gt;				string netLib = (string) curComm.ExecuteScalar();&lt;br&gt;				Console.WriteLine(&amp;quot;Net library: &amp;quot; + netLib);&lt;br&gt;			}&lt;br&gt;			catch (Exception ex)&lt;br&gt;			{&lt;br&gt;				myConn.Close();	&lt;br&gt;				Console.WriteLine(&amp;quot;ex-&amp;gt;&amp;quot; + ex.Message );&lt;br&gt;				return;&lt;br&gt;			}&lt;br&gt;		}&lt;br&gt;	}&lt;br&gt;}&lt;br&gt;*************************************&lt;br&gt;&lt;br&gt;Thanks!&lt;br&gt;Ming.</description></item><item><title>re: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#583435</link><pubDate>Tue, 25 Apr 2006 21:51:43 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:583435</guid><dc:creator>SQL Protocols</dc:creator><description>Also, please try &amp;quot;odbcad32.exe&amp;quot; through command line, and type &amp;quot;.\SQLExpress&amp;quot; as server name, if connection works, that means your .NET app has problem. &lt;br&gt;&lt;br&gt;&lt;br&gt;Thanks!&lt;br&gt;Ming.</description></item><item><title>re: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#585171</link><pubDate>Thu, 27 Apr 2006 19:19:27 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:585171</guid><dc:creator>Alistair</dc:creator><description>Hi,&lt;br&gt;I've got a connectivity issue, on a server that is running both SS2000 and SS2005.&lt;br&gt;&lt;br&gt;Each has a named instance. &lt;br&gt;&lt;br&gt;* The client application can not connect to the SS2000 named instance. This is the problem.&lt;br&gt;* I can access the instance remotely, but only if I create an alias on the client (in IP, Ispecifying the port of the instance)&lt;br&gt;* The client application can not connect reliably using an alias. (sometimes it works...)&lt;br&gt;&lt;br&gt;The problem seems to be SS2000's SQL Server Browser service, which keeps &amp;quot;terminating unexpectedly&amp;quot; (messages in the System Log) and gets re-started every 60 seconds.&lt;br&gt;&lt;br&gt;I have no idea why this service is crashing. I guess it is needed to ensure visibility of the named instances, in this co-existence scenario. &lt;br&gt;&lt;br&gt;So, I guess I need some clues on how to troubleshoot the browser service, or else a workaround for the instance visibility. ...???</description></item><item><title>re: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#596752</link><pubDate>Sat, 13 May 2006 08:42:06 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:596752</guid><dc:creator>wewew</dc:creator><description>wewe</description></item><item><title>re: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#596768</link><pubDate>Sat, 13 May 2006 09:39:33 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:596768</guid><dc:creator>bdotjones</dc:creator><description>Hi, &lt;br&gt;&lt;br&gt;I've installed SQL Server 2005 Exprees on my PC and I keep getting this error when trying to connect to a database:&lt;br&gt;&lt;br&gt;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. (provider: Shared Memory Provider, error: 40 - Could not open a connection to SQL Server)&lt;br&gt;&lt;br&gt;I went through the steps to try and correct it, including others, and I still am unable to connect&lt;br&gt;.&lt;br&gt;I am able to connect to the sever using the Management studio express&lt;br&gt;&lt;br&gt;Any help would be greatly appreciated&lt;br&gt;&lt;br&gt;Here's the error log:&lt;br&gt;&lt;br&gt;&lt;br&gt;2006-05-13 02:22:40.69 Server &amp;nbsp; &amp;nbsp; &amp;nbsp;Microsoft SQL Server 2005 - 9.00.2047.00 (Intel X86) &lt;br&gt;	Apr 14 2006 01:12:25 &lt;br&gt;	Copyright (c) 1988-2005 Microsoft Corporation&lt;br&gt;	Express Edition with Advanced Services on Windows NT 5.1 (Build 2600: Service Pack 2)&lt;br&gt;&lt;br&gt;2006-05-13 02:22:40.69 Server &amp;nbsp; &amp;nbsp; &amp;nbsp;Error: 17054, Severity: 16, State: 1.&lt;br&gt;2006-05-13 02:22:40.69 Server &amp;nbsp; &amp;nbsp; &amp;nbsp;The current event was not reported to the Windows Events log. Operating system error = 1502(The event log file is full.). You may need to clear the Windows Events log if it is full.&lt;br&gt;2006-05-13 02:22:40.69 Server &amp;nbsp; &amp;nbsp; &amp;nbsp;(c) 2005 Microsoft Corporation.&lt;br&gt;2006-05-13 02:22:40.69 Server &amp;nbsp; &amp;nbsp; &amp;nbsp;All rights reserved.&lt;br&gt;2006-05-13 02:22:40.69 Server &amp;nbsp; &amp;nbsp; &amp;nbsp;Server process ID is 3780.&lt;br&gt;2006-05-13 02:22:40.69 Server &amp;nbsp; &amp;nbsp; &amp;nbsp;Logging SQL Server messages in file 'c:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\LOG\ERRORLOG'.&lt;br&gt;2006-05-13 02:22:40.69 Server &amp;nbsp; &amp;nbsp; &amp;nbsp;This instance of SQL Server last reported using a process ID of 2928 at 5/13/2006 2:22:33 AM (local) 5/13/2006 6:22:33 AM (UTC). This is an informational message only; no user action is required.&lt;br&gt;2006-05-13 02:22:40.69 Server &amp;nbsp; &amp;nbsp; &amp;nbsp;Registry startup parameters:&lt;br&gt;2006-05-13 02:22:40.69 Server &amp;nbsp; &amp;nbsp; &amp;nbsp;	 -d c:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\DATA\master.mdf&lt;br&gt;2006-05-13 02:22:40.69 Server &amp;nbsp; &amp;nbsp; &amp;nbsp;	 -e c:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\LOG\ERRORLOG&lt;br&gt;2006-05-13 02:22:40.69 Server &amp;nbsp; &amp;nbsp; &amp;nbsp;	 -l c:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\DATA\mastlog.ldf&lt;br&gt;2006-05-13 02:22:40.69 Server &amp;nbsp; &amp;nbsp; &amp;nbsp;SQL Server is starting at normal priority base (=7). This is an informational message only. No user action is required.&lt;br&gt;2006-05-13 02:22:40.69 Server &amp;nbsp; &amp;nbsp; &amp;nbsp;Detected 2 CPUs. This is an informational message; no user action is required.&lt;br&gt;2006-05-13 02:22:40.88 Server &amp;nbsp; &amp;nbsp; &amp;nbsp;Using dynamic lock allocation. &amp;nbsp;Initial allocation of 2500 Lock blocks and 5000 Lock Owner blocks per node. &amp;nbsp;This is an informational message only. &amp;nbsp;No user action is required.&lt;br&gt;2006-05-13 02:22:40.90 Server &amp;nbsp; &amp;nbsp; &amp;nbsp;Database mirroring has been enabled on this instance of SQL Server.&lt;br&gt;2006-05-13 02:22:40.90 spid5s &amp;nbsp; &amp;nbsp; &amp;nbsp;Starting up database 'master'.&lt;br&gt;2006-05-13 02:22:41.02 spid5s &amp;nbsp; &amp;nbsp; &amp;nbsp;Recovery is writing a checkpoint in database 'master' (1). This is an informational message only. No user action is required.&lt;br&gt;2006-05-13 02:22:41.15 spid5s &amp;nbsp; &amp;nbsp; &amp;nbsp;SQL Trace ID 1 was started by login &amp;quot;sa&amp;quot;.&lt;br&gt;2006-05-13 02:22:41.16 spid5s &amp;nbsp; &amp;nbsp; &amp;nbsp;Starting up database 'mssqlsystemresource'.&lt;br&gt;2006-05-13 02:22:41.19 spid5s &amp;nbsp; &amp;nbsp; &amp;nbsp;The resource database build version is 9.00.2047. This is an informational message only. No user action is required.&lt;br&gt;2006-05-13 02:22:41.38 spid5s &amp;nbsp; &amp;nbsp; &amp;nbsp;Server name is 'BLEU-13\SQLEXPRESS'. This is an informational message only. No user action is required.&lt;br&gt;2006-05-13 02:22:41.38 Server &amp;nbsp; &amp;nbsp; &amp;nbsp;Virtual Interface Architecture protocol is not supported for this particular edition of SQL Server.&lt;br&gt;2006-05-13 02:22:41.38 spid8s &amp;nbsp; &amp;nbsp; &amp;nbsp;Starting up database 'model'.&lt;br&gt;2006-05-13 02:22:41.52 Server &amp;nbsp; &amp;nbsp; &amp;nbsp;A self-generated certificate was successfully loaded for encryption.&lt;br&gt;2006-05-13 02:22:41.54 Server &amp;nbsp; &amp;nbsp; &amp;nbsp;Server is listening on [ 'any' &amp;lt;ipv6&amp;gt; 1027].&lt;br&gt;2006-05-13 02:22:41.60 spid8s &amp;nbsp; &amp;nbsp; &amp;nbsp;Clearing tempdb database.&lt;br&gt;2006-05-13 02:22:41.82 spid8s &amp;nbsp; &amp;nbsp; &amp;nbsp;Starting up database 'tempdb'.&lt;br&gt;2006-05-13 02:22:41.88 spid11s &amp;nbsp; &amp;nbsp; The Service Broker protocol transport is disabled or not configured.&lt;br&gt;2006-05-13 02:22:41.88 spid11s &amp;nbsp; &amp;nbsp; The Database Mirroring protocol transport is disabled or not configured.&lt;br&gt;2006-05-13 02:22:41.88 spid11s &amp;nbsp; &amp;nbsp; Service Broker manager has started.&lt;br&gt;2006-05-13 02:22:42.32 Server &amp;nbsp; &amp;nbsp; &amp;nbsp;Server is listening on [ 'any' &amp;lt;ipv4&amp;gt; 1027].&lt;br&gt;2006-05-13 02:22:42.32 Server &amp;nbsp; &amp;nbsp; &amp;nbsp;Server local connection provider is ready to accept connection on [ \\.\pipe\SQLLocal\SQLEXPRESS ].&lt;br&gt;2006-05-13 02:22:42.32 Server &amp;nbsp; &amp;nbsp; &amp;nbsp;Server local connection provider is ready to accept connection on [ \\.\pipe\MSSQL$SQLEXPRESS\sql\query ].&lt;br&gt;2006-05-13 02:22:42.32 Server &amp;nbsp; &amp;nbsp; &amp;nbsp;Dedicated administrator connection support was not started because it is not available on this edition of SQL Server. This is an informational message only. No user action is required.&lt;br&gt;2006-05-13 02:22:42.32 Server &amp;nbsp; &amp;nbsp; &amp;nbsp;The SQL Network Interface library could not register the Service Principal Name (SPN) for the SQL Server service. Error: 0x54b. Failure to register an SPN may cause integrated authentication to fall back to NTLM instead of Kerberos. This is an informational message. Further action is only required if Kerberos authentication is required by authentication policies.&lt;br&gt;2006-05-13 02:22:42.32 Server &amp;nbsp; &amp;nbsp; &amp;nbsp;SQL Server is now ready for client connections. This is an informational message; no user action is required.&lt;br&gt;2006-05-13 02:22:42.33 spid5s &amp;nbsp; &amp;nbsp; &amp;nbsp;Starting up database 'msdb'.&lt;br&gt;2006-05-13 02:22:42.57 spid5s &amp;nbsp; &amp;nbsp; &amp;nbsp;Recovery is complete. This is an informational message only. No user action is required.&lt;br&gt;2006-05-13 02:24:02.45 spid51 &amp;nbsp; &amp;nbsp; &amp;nbsp;Starting up database 'ReportServer$SQLExpress'.&lt;br&gt;2006-05-13 02:25:02.40 spid51 &amp;nbsp; &amp;nbsp; &amp;nbsp;Starting up database 'ReportServer$SQLExpress'.&lt;br&gt;2006-05-13 02:26:02.40 spid51 &amp;nbsp; &amp;nbsp; &amp;nbsp;Starting up database 'ReportServer$SQLExpress'.&lt;br&gt;2006-05-13 02:26:02.72 spid52 &amp;nbsp; &amp;nbsp; &amp;nbsp;Starting up database 'ReportServer$SQLExpressTempDB'.&lt;br&gt;2006-05-13 02:30:22.82 spid11s &amp;nbsp; &amp;nbsp; Service Broker manager has shut down.&lt;br&gt;2006-05-13 02:30:22.83 spid5s &amp;nbsp; &amp;nbsp; &amp;nbsp;SQL Server is terminating in response to a 'stop' request from Service Control Manager. This is an informational message only. No user action is required.&lt;br&gt;2006-05-13 02:30:22.83 spid5s &amp;nbsp; &amp;nbsp; &amp;nbsp;SQL Trace was stopped due to server shutdown. Trace ID = '1'. This is an informational message only; no user action is required.&lt;br&gt;</description></item><item><title>re: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#598152</link><pubDate>Mon, 15 May 2006 20:35:54 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:598152</guid><dc:creator>MING LU [MSFT]</dc:creator><description>Hi,&lt;br&gt;&lt;br&gt; &amp;nbsp;1) You were making local connection to SQLExpress, noticed it is a named instance, hence you should specify instance name in your connection string, eg:&lt;br&gt;&amp;quot;Provider=SQLNCLI;Server=&amp;lt;MachineName&amp;gt;\SQLEXPRESS;Initial Catalog=master;Integrated Security=SSPI &amp;quot;; What does your connection string look like?&lt;br&gt;&lt;br&gt;2) You were connecting through SqlClient provider,please do:&lt;br&gt;&amp;quot;sc query sqlbrowser&amp;quot;, make sure sqlbrowser is running.&lt;br&gt;&lt;br&gt;3) go to &amp;quot;..\programe files\microsoft sql server\90\tools\binn&amp;quot;, run &amp;quot;osql /S \\.\pipe\SQLLocal\SQLEXPRESS /E&amp;quot;, can you connect?&lt;br&gt;&lt;br&gt;If you still face problem, please follow the guidline and provide more detail info, especially how you make connection in your case:&lt;br&gt;&lt;br&gt;&lt;a rel="nofollow" target="_new" href="http://blogs.msdn.com/sql_protocols/archive/2006/04/21/581035.aspx"&gt;http://blogs.msdn.com/sql_protocols/archive/2006/04/21/581035.aspx&lt;/a&gt;&lt;br&gt;&lt;br&gt;Thanks!&lt;br&gt;</description></item><item><title>re: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#606948</link><pubDate>Thu, 25 May 2006 12:47:53 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:606948</guid><dc:creator>Ricky</dc:creator><description>Hi, I am getting the following error when ever I am trying to connect to sql server 2005&lt;br&gt;&lt;br&gt;&amp;quot;An error has occured 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. (Provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) (.Net SqlClient Data Provider)&amp;quot;&lt;br&gt;&lt;br&gt;I tried to ping the server &amp;quot;ping xx.xxx.xx.x&amp;quot; and it works fine, but however when I try to &amp;quot;telnet xx.xxx.xx.x 1433&amp;quot; this however fails. &amp;nbsp;When I log on into the physical box where SQL server is installed then I can connect, however if I try to connect from another machine, this error happen, Can any one please shed some light on this error, I am sure its some setting being incorrectly set, Arrrrrrrrrrrrrrrrhh</description></item><item><title>re: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#607736</link><pubDate>Fri, 26 May 2006 07:50:52 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:607736</guid><dc:creator>SQL Protocols</dc:creator><description>Hi, Ricky&lt;br&gt;&lt;br&gt; &amp;nbsp; &amp;nbsp;1) Did you install SQL Express 2005? if so, please how to enable remote connection according to below blog:&lt;br&gt;&lt;br&gt;&lt;a rel="nofollow" target="_new" href="http://blogs.msdn.com/sql_protocols/archive/2006/04/21/581035.aspx"&gt;http://blogs.msdn.com/sql_protocols/archive/2006/04/21/581035.aspx&lt;/a&gt; &lt;br&gt;&lt;br&gt; &amp;nbsp; &amp;nbsp;2) You can not telnet indicates that either you did not enalbe TCP or server did not listen on port 1433, it depends on whether you install sqlserver as a default instance and named instance, if it is named instance, please first, enable sqlbrowser services; secondly, enalbe named pipe and tcp and restart sql server make sure it started, check which port sql server is listening on, then try telnet by specify the port.&lt;br&gt;&lt;br&gt;3) double check your connection string, see whether it specify the correct instance, if it is default instance, you can specify the &amp;lt;machinename&amp;gt;, if it is named instance, you need to specify &amp;lt;machinename&amp;gt;\&amp;lt;instancename&amp;gt;.&lt;br&gt;&lt;br&gt;Good Luck!&lt;br&gt;Ming.</description></item><item><title>re: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#628049</link><pubDate>Mon, 12 Jun 2006 15:22:05 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:628049</guid><dc:creator>Ranga</dc:creator><description>Hi...!&lt;br&gt;&lt;br&gt;I need to log remotely to the SQL EXPRESS 2005. lets say i dont have any tools like SQL SERVER MANAGMENT STUDIO in da machine which is SQL EXPRESS installed. how can i access it from another machine which has SQL SERVER MANAGMENT STUDIO ?</description></item><item><title>re: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#629027</link><pubDate>Tue, 13 Jun 2006 05:51:43 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:629027</guid><dc:creator>SQL Protocols</dc:creator><description>Hi, Ranga&lt;br&gt;&lt;br&gt; &amp;nbsp; &amp;nbsp;Please check following blog&lt;br&gt;&lt;br&gt;&lt;a rel="nofollow" target="_new" href="http://blogs.msdn.com/sql_protocols/archive/2006/03/23/558651.aspx"&gt;http://blogs.msdn.com/sql_protocols/archive/2006/03/23/558651.aspx&lt;/a&gt;&lt;br&gt;&lt;br&gt;There is a section called &amp;quot;Configure Express if you want to mak remote connection.&amp;quot; &lt;br&gt;&lt;br&gt;Good Luck!&lt;br&gt;Ming.</description></item><item><title>re: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#634536</link><pubDate>Fri, 16 Jun 2006 23:38:07 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:634536</guid><dc:creator>JBurgess</dc:creator><description>Okay, we have a similar problem that I haven't seen specifically mentioned here, so if there's another blog or resource I should be using, please let me know. &amp;nbsp;Our problem:&lt;br&gt;&lt;br&gt;Customers and DB Admin staff can connect to SOME 2005 instances, but not others. &amp;nbsp;The problem instance will be different for each person having a problem, but others can connect fine to that same instance. &amp;nbsp;In other words, it appears to be a random thing. &amp;nbsp;Everybody but X can connect to Server1, everybody but person Y can connect to Server2. &amp;nbsp;X can connect to all other servers but 1, and Y can connect to all others but 2. &amp;nbsp;All our SQL instances are set for TCP/IP over a specified port, not the default. &amp;nbsp;Named Pipes is disabled.&lt;br&gt;&lt;br&gt;Any help would be appreciated!&lt;br&gt;&lt;br&gt;&lt;br&gt;Jack Burgess&lt;br&gt;State of Ohio&lt;br&gt;jack.burgess@ohio.gov</description></item><item><title>re: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#645758</link><pubDate>Sat, 24 Jun 2006 17:29:23 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:645758</guid><dc:creator>Madrona</dc:creator><description>This is helpful but I still can't get it working. Here's the scenario:&lt;br&gt;&lt;br&gt;Server A runnign SQL 2005 Standard (Two instances - 1 and 2).&lt;br&gt;&lt;br&gt;Instance 1 hosts many customer databases&lt;br&gt;Instance 2 hosts an application db&lt;br&gt;&lt;br&gt;I am writing sp's and functions to eventually be called from the application.&lt;br&gt;&lt;br&gt;In order for most of them to work I need to have the application pass me the name of the customer database among other parameters.&lt;br&gt;&lt;br&gt;THen I want to run a sp (or funtion) on the specified client Db. Example:&lt;br&gt;&lt;br&gt;Declare @ExString varchar&lt;br&gt;Declare @ClientDb nvarchar(50)&lt;br&gt;Declare @Id int&lt;br&gt;Declare @TimeZoneOffset varchar&lt;br&gt;&lt;br&gt;set @ClientDb = 'CLIENT_DB1'&lt;br&gt;set @Id = 123&lt;br&gt;&lt;br&gt;set @ExString = 'SELECT Time_Zone_offset FROM ' + @ClientDb + '.dbo.TimeZone_tb WHERE Id =' + @Id&lt;br&gt;&lt;br&gt;Execute (@ExString, @TimeZoneOffset OUTPUT)&lt;br&gt;AT [Instance1];&lt;br&gt;&lt;br&gt;I am trying to execute this from SSMS either on my workstation or on the server itself.&lt;br&gt;&lt;br&gt;I have setup Instance1 as a linked server and security is set to &amp;quot;Being Made using this security context:&amp;quot; with a valid SQL user account for the database on Instance1.&lt;br&gt;&lt;br&gt;The message returned is:&lt;br&gt;&lt;br&gt;Msg 7411, Level 16, State 1, Line 12&lt;br&gt;Server 'INSTANCE1' is not configured for RPC.&lt;br&gt;&lt;br&gt;My questions are:&lt;br&gt;&lt;br&gt;A. Am I approaching this the best way (using execute to pass the client database name? Almost everything I have to write needs to be database non-specific because of the number of client databases. Is there another, better way?&lt;br&gt;&lt;br&gt;B. How do I configure RPC so that this will work?&lt;br&gt;&lt;br&gt;Thanks for the prompt reply!</description></item><item><title>re: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#646401</link><pubDate>Sun, 25 Jun 2006 08:58:56 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:646401</guid><dc:creator>Madrona</dc:creator><description>Got the RPC thing working. It also looks like sp_executesql will solve this issue.&lt;br&gt;&lt;br&gt;But one question remains, is this the best way?</description></item><item><title>Login failed for user '' (Error: 18452)</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#654733</link><pubDate>Mon, 03 Jul 2006 02:05:23 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:654733</guid><dc:creator>Migue</dc:creator><description>Hello,&lt;br&gt;&lt;br&gt;I have a problem that is disturbing to me.&lt;br&gt;&lt;br&gt;I have installed SQL Server 2005 in a W2K3 joined to a workgroup. I'm using a local user account &amp;nbsp;to execute the service, the Windows Authentication mode and local accounts for users.&lt;br&gt;&lt;br&gt;Everything is working, unless I cannot connect from the same machine using FQDN or IP address. ie: from the server I can connect, without problems, using any of this:&lt;br&gt;&lt;br&gt;tcp:localhost,1433&lt;br&gt;tcp:machine,1433&lt;br&gt;&lt;br&gt;but I cannot be connected like&lt;br&gt;&lt;br&gt;tcp:machine.domain.com,1433&lt;br&gt;tcp:x.y.z.t,1433&lt;br&gt;&lt;br&gt;From other computers (using the same user + password) it works using anyone of the options (IP address, short name and FQDN).&lt;br&gt;&lt;br&gt;Although I do not understand which is the problem, did not worry to me until I have seen that I cannot setup the Database mirroring, since it gives that error to me.&lt;br&gt;&lt;br&gt;Any help would be appreciated&lt;br&gt;&lt;br&gt;0) [Server] The SQL Network Interface library could not register the Service Principal Name (SPN) for the SQL Server service. Error: 0x54b. Failure to register an SPN may cause integrated authentication to fall back to NTLM instead of Kerberos. This is an informational message. Further action is only required if Kerberos authentication is required by authentication policies.&lt;br&gt;&lt;br&gt;...&lt;br&gt;&lt;br&gt;1) [Logon] Error: 17806, Severity: 20, State: 2&lt;br&gt;2) [Logon] SSPI handshake failed with error code 0x8009030c while establishing a connection with integrated security; the connection has been closed. [CLIENT: 158.42.250.74]&lt;br&gt;3) [Logon] Error: 18452, Severity: 14, State: 1&lt;br&gt;4) [Logon] Login failed for user ''. The user is not associated with a trusted SQL Server connection. [CLIENT: x.y.z.t]&lt;br&gt;</description></item><item><title>re: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#655409</link><pubDate>Mon, 03 Jul 2006 21:18:07 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:655409</guid><dc:creator>SQL Protocols</dc:creator><description>Hi, Migue&lt;br&gt;&lt;br&gt; &amp;nbsp; &amp;nbsp;The two quick workaround here is:&lt;br&gt; &lt;br&gt; &amp;nbsp; &amp;nbsp;1) Enable Named Pipe, and connect through &amp;quot;np:machine.domain.com/ &lt;br&gt;np:x.y.z.t&amp;quot;&lt;br&gt;&lt;br&gt; &amp;nbsp; &amp;nbsp;2) Use SQL Authentication. &lt;br&gt;&lt;br&gt; &amp;nbsp; &amp;nbsp;To identify the root cause, I have question for you:&lt;br&gt;&lt;br&gt; &amp;nbsp; &amp;nbsp;a. Did your machine join domain before?&lt;br&gt; &amp;nbsp; &amp;nbsp;b. Is your machine connected to a network?&lt;br&gt; &amp;nbsp; &amp;nbsp;c. Can you also try &amp;quot;tcp:127.0.0.1,1433&amp;quot;, see what happens?&lt;br&gt;&lt;br&gt;Thanks!&lt;br&gt;Ming.&lt;br&gt;</description></item><item><title>re: Login failed for user '' (Error: 18452)</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#655563</link><pubDate>Tue, 04 Jul 2006 00:58:33 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:655563</guid><dc:creator>Migue</dc:creator><description>Hi, Ming&lt;br&gt;&lt;br&gt;thanks for your quick answer.&lt;br&gt;&lt;br&gt;Answering your questions:&lt;br&gt;&lt;br&gt; &amp;nbsp; a. Did your machine join domain before? &lt;br&gt;&lt;br&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;No, from the beginning it is in a workgroup and it has never joined a domain&lt;br&gt;&lt;br&gt; &amp;nbsp; b. Is your machine connected to a network?&lt;br&gt;&lt;br&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;Yes. It's in a network with connectivity to the other computers and servers (DHCP, DNS, ...).&lt;br&gt;&lt;br&gt; &amp;nbsp; c. Can you also try &amp;quot;tcp:127.0.0.1,1433&amp;quot;, see what happens? &lt;br&gt;&lt;br&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;It works well. When I noticed the problem I checked the connectivity and everything seems correct (telnet x.y.z.t 1433 also works) &lt;br&gt;&lt;br&gt;And ... do you mean that Database mirroring works with named pipes? I had understood that the protocol was necessary tcp.&lt;br&gt;</description></item><item><title>re: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#655620</link><pubDate>Tue, 04 Jul 2006 02:50:29 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:655620</guid><dc:creator>SQL Protocols</dc:creator><description>Hi, Migue&lt;br&gt;&lt;br&gt; &amp;nbsp; &amp;nbsp;1)Thanks a lot for your response. Your scenario seems very interesting, it sounds like you try &amp;quot;tcp:127.0.0.1,1433&amp;quot; works, only &amp;quot;tcp:&amp;lt;FQDN&amp;gt;,1433&amp;quot; and &amp;quot;tcp:&amp;lt;IP&amp;gt;,1433&amp;quot; not work, right? We saw such issue on WINXP and WIN2K due to OS design, but not on WIN2K3.&lt;br&gt;So, sounds for you the current workaround is either use &amp;quot;tcp:127.0.0.1,1433&amp;quot; or SQL Authentication.&lt;br&gt;&lt;br&gt; &amp;nbsp; 2)Yes. In DB-Mirroring scenario, you are required using TCP.&lt;br&gt;&lt;br&gt;Basically, I will do some investigation and send you reply about the possible cause.&lt;br&gt;&lt;br&gt;Thanks!&lt;br&gt;Ming.</description></item><item><title>re: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#661996</link><pubDate>Tue, 11 Jul 2006 09:22:22 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:661996</guid><dc:creator>suyog</dc:creator><description>OLE DB provider &amp;quot;SQLNCLI&amp;quot; for linked server &amp;quot;LinkerServerName&amp;quot; returned message &amp;quot;Communication link failure&amp;quot;.&lt;br&gt;Msg 233, Level 16, State 1, Line 0&lt;br&gt;Named Pipes Provider: No process is on the other end of the pipe.&lt;br&gt;OLE DB provider &amp;quot;SQLNCLI&amp;quot; for linked server &amp;quot;LinkerServerName&amp;quot; returned message &amp;quot;Invalid connection string attribute&amp;quot;.&lt;br&gt;</description></item><item><title>re: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#665319</link><pubDate>Fri, 14 Jul 2006 08:35:12 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:665319</guid><dc:creator>SQL Protocols</dc:creator><description>Hi, suyog&lt;br&gt;&lt;br&gt; &amp;nbsp; &amp;nbsp;The error indicated that either you might have not name pipe protocol enabled on your server or your connection string is not correct.&lt;br&gt;&lt;br&gt; &amp;nbsp; &amp;nbsp;To resolve the issue, could you &lt;br&gt;1) provide your connection string? how do you make connection? Is your server a default or named instance? did you add the instance name to your connection string? Did you make local or remote connection?&lt;br&gt;&lt;br&gt;2) Can you go to SQL Server Configuration Manager to find your sql instance, and enable Named Pipe and then restart sever, and retry?&lt;br&gt;&lt;br&gt;Good Luck!&lt;br&gt;Ming.</description></item><item><title>re: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#677459</link><pubDate>Tue, 25 Jul 2006 05:38:12 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:677459</guid><dc:creator>Faisal</dc:creator><description>Hi,&lt;br&gt;&lt;br&gt;I get following the errors, these are rare and random. The application is written C++ uses MS ODBC on SQL 7 with Windows NT4:&lt;br&gt;&lt;br&gt;SQLError Info&lt;br&gt;SqlState 01000fNativeError 233&lt;br&gt;Error Msg [Microsoft][ODBC SQL Server Driver][Named Pipes]ConnectionTransact (TransactNamedPipe()).&lt;br&gt;SqlState 08S01f NativeError 0&lt;br&gt;Error Msg [Microsoft][ODBC SQL Server Driver]Communication link failure&lt;br&gt;&lt;br&gt;Thanks.</description></item><item><title>re: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#678595</link><pubDate>Wed, 26 Jul 2006 07:00:51 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:678595</guid><dc:creator>SQL Protocols</dc:creator><description>Hi,Faisal&lt;br&gt;&lt;br&gt; &amp;nbsp; We need more info to identify your problem, could you provide:&lt;br&gt;&lt;br&gt; &amp;nbsp; 1) What is your connection string?, namely how do you make connection? Connect through server name or ipaddress? &lt;br&gt; &amp;nbsp; 2) Were you making local or remote connection? If remote, do you have firewall on your server? Did you have &amp;quot;file and printer sharing&amp;quot; added in the exception list? Or can you try whether you can access a share folder of your remote server?&lt;br&gt; &amp;nbsp; 3) Can you check your server errorlog to see whether there is any error info, the error indicates that server might close connection or you can open sql trace file to see which client operation cause server closing the connection.&lt;br&gt;&lt;br&gt;Good Luck!&lt;br&gt;Ming.&lt;br&gt; &lt;br&gt; &amp;nbsp; &lt;br&gt; &amp;nbsp; </description></item><item><title>re: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#689420</link><pubDate>Sat, 05 Aug 2006 14:35:18 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:689420</guid><dc:creator>Van-Loc Doran</dc:creator><description>Hello Ming, &lt;br&gt;I'm unable to run my webapp (written in NET 2.0 and C#) from home. Could you please help?&lt;br&gt;Thank you.&lt;br&gt;&lt;br&gt;The error is: &lt;br&gt;[SqlException (0x80131904): An error has occurred while establishing a connection to the server. &amp;nbsp;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. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)]&lt;br&gt;&lt;br&gt;Here is my connection setup:&lt;br&gt;&amp;lt;appSettings&amp;gt;&lt;br&gt; &amp;nbsp; &amp;nbsp;&amp;lt;add key=&amp;quot;ConnectionStringXML&amp;quot; value=&amp;quot;Server=sof2;Provider=SQLOLEDB;Database=myDB;UID=myUID;PWD=myPWD&amp;quot; /&amp;gt;&lt;br&gt; &amp;nbsp; &amp;nbsp;&amp;lt;add key=&amp;quot;ConnectionString&amp;quot; value=&amp;quot;Server=sof2; Database=myDB;UID=myUID;PWD=myPWD&amp;quot; &amp;quot; /&amp;gt;&lt;br&gt;&amp;lt;/appSettings&amp;gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;</description></item><item><title>re: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#689808</link><pubDate>Sun, 06 Aug 2006 04:19:28 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:689808</guid><dc:creator>SQL Protocols</dc:creator><description>Hi, Van&lt;br&gt; &amp;nbsp;Can you answer following question:&lt;br&gt; &amp;nbsp;&lt;br&gt; &amp;nbsp;1) Were you making local or remote connection? &lt;br&gt; &amp;nbsp;2) Is your sql server a default or named instance? &lt;br&gt; &amp;nbsp;3) Do you have sqlbrowser on? &lt;br&gt;&lt;br&gt;Here is checklist of troubleshooting tips:&lt;br&gt;&lt;br&gt;1) If remote connection, double sheck whether you have firewall on your server, if so, please add &amp;quot;File and Printer Sharing&amp;quot; to exception list; plus add sqlservr.exe to exception list; and add sqlbrowser.exe to exception list.&lt;br&gt;&lt;br&gt;2) If you tried to connect to a named instance, change your connection string to set &amp;quot;&amp;lt;servername&amp;gt;\&amp;lt;instancename&amp;gt;&amp;quot; as the value of *Server* field.&lt;br&gt;&lt;br&gt;3) If you were connecting to a named instance and it is remote connection, on your remote server, please do &amp;quot;net start sqlbrowser&amp;quot;.&lt;br&gt;&lt;br&gt;Also, see the section &amp;quot;Error Message 1:&amp;quot; in this blog, there are some other potential cause and resolution described.&lt;br&gt;&lt;br&gt;Good Luck!&lt;br&gt;Ming.&lt;br&gt;</description></item><item><title>re: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#693347</link><pubDate>Wed, 09 Aug 2006 18:11:12 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:693347</guid><dc:creator>Dexter</dc:creator><description>Hello Ming - &lt;br&gt;&lt;br&gt;Thanks for the great t-shooting list.&lt;br&gt;Despite this, I'm still having trouble getting a new linked server to work.&lt;br&gt;Server Mfr is 2005 sp1 and is the 'local' server.&lt;br&gt;Server Krypton is 2000 sp3 and is the target server I need to link to.&lt;br&gt;I have the Windows login on both systems and I'm in the sysadmin group on both servers.&lt;br&gt;&lt;br&gt;After linking the servers, I ran this:&lt;br&gt;EXEC sp_addlinkedsrvlogin @rmtsrvname = 'KRYPTON', @useself = 'true'&lt;br&gt;&lt;br&gt;When I try running this query:&lt;br&gt;SELECT * FROM OPENQUERY(KRYPTON, 'SELECT * FROM CRICUST WHERE CustName = ''Acme''')&lt;br&gt;&lt;br&gt;I get these errors:&lt;br&gt;OLE DB provider &amp;quot;SQLNCLI&amp;quot; for linked server &amp;quot;KRYPTON&amp;quot; returned message &amp;quot;Communication link failure&amp;quot;.&lt;br&gt;&lt;br&gt;Msg 10054, Level 16, State 1, Line 0&lt;br&gt;TCP Provider: An existing connection was forcibly closed by the remote host.&lt;br&gt;&lt;br&gt;Msg 18452, Level 14, State 1, Line 0&lt;br&gt;Login failed for user '(null)'. Reason: Not associated with a trusted SQL Server connection.&lt;br&gt;&lt;br&gt;Can you see what I'm missing?&lt;br&gt;Thanks!&lt;br&gt;dj</description></item><item><title>re: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#693560</link><pubDate>Wed, 09 Aug 2006 21:58:46 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:693560</guid><dc:creator>SQL Protocols</dc:creator><description>DJ,&lt;br&gt; &amp;nbsp;I believe your case is single hop in that the client is collocated with the middle server.&lt;br&gt; &amp;nbsp;Are you be able to login as the windows login on the local server and make successful direct SQL connection to the target linked server?&lt;br&gt; &amp;nbsp;If you can, could you describe more about your setting?&lt;br&gt; &amp;nbsp;(1) The version of Windows OS.&lt;br&gt; &amp;nbsp;(2) The version of SQL.&lt;br&gt; &amp;nbsp;(3) The user account is local account or domain account?&lt;br&gt; &amp;nbsp;(4) The SQL service running account is local account or a domain account? &lt;br&gt;&lt;br&gt;</description></item><item><title>re: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#726608</link><pubDate>Sun, 27 Aug 2006 13:01:13 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:726608</guid><dc:creator>Jeorge Lukasing</dc:creator><description>Very many thanks for a good work. Nice and useful. Like it!</description></item><item><title>re: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#747326</link><pubDate>Sat, 09 Sep 2006 05:58:02 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:747326</guid><dc:creator>kihh</dc:creator><description>Hi,&lt;br&gt;&lt;br&gt;I'm getting the same error as suyog (233 Named Pipes Provider: No process is on the other end of the pipe). I'm sure that named pipes is enabled, however.&lt;br&gt;&lt;br&gt;I get this error when trying to log in with the SQL Management Studio. &lt;br&gt;&lt;br&gt;Thanks for any help you can provide.</description></item><item><title>re: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#748167</link><pubDate>Sun, 10 Sep 2006 01:48:14 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:748167</guid><dc:creator>MING LU [MSFT]</dc:creator><description>Hi, kihh&lt;br&gt;&lt;br&gt; &amp;nbsp; &amp;nbsp;Assume you have named pipe enabled on your server:&lt;br&gt;&lt;br&gt; &amp;nbsp; &amp;nbsp;1) Can you check the server errorlog the pipe name that server is listening on, try your connectiong string by specifying the pipe name, eg: &amp;quot;osql /Snp:\\&amp;lt;machinename&amp;gt;\pipe\sql\query&amp;quot; or &amp;quot;osql /Snp:\\&amp;lt;machinename&amp;gt;\pipe\mssql$&amp;lt;instancename&amp;gt;\sql\query&amp;quot; see whether you can connect?&lt;br&gt;&lt;br&gt; &amp;nbsp;2)Are you making remote connection? if so, could you check whether you turn on &amp;quot;Files and printer sharing&amp;quot; on your remote server firewall?&lt;br&gt;&lt;br&gt; &amp;nbsp;3)Can you check following blog, whether it is a potential cause?&lt;br&gt;&lt;br&gt;&lt;a rel="nofollow" target="_new" href="http://blogs.msdn.com/sql_protocols/archive/2006/07/26/678596.aspx"&gt;http://blogs.msdn.com/sql_protocols/archive/2006/07/26/678596.aspx&lt;/a&gt;&lt;br&gt;&lt;br&gt; &amp;nbsp;4)The error you saw is intermitentely or consistently? &lt;br&gt;&lt;br&gt; &amp;nbsp;5)Is your sql server a default or named instance? If named instance, please check your connection string, whether you specify the correct server pipe? &lt;br&gt;&lt;br&gt;Finally, when you were saying you have named pipe enabled, is it client side or server side, if you do not have named pipe enabled on server side, the cause might be &lt;br&gt;&lt;br&gt;a. go to Sql server configuration manager,-&amp;gt; client protocols -&amp;gt; enabled protocol, put tcp on the top of np.&lt;br&gt;&lt;br&gt;b. or turn off shared memory on your server side and restart sql server.&lt;br&gt;&lt;br&gt;Good Luck!&lt;br&gt;Ming.</description></item><item><title>re: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#756912</link><pubDate>Sat, 16 Sep 2006 05:58:40 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:756912</guid><dc:creator>kihh</dc:creator><description>Hi, &lt;br&gt;&lt;br&gt;Currently this is local.&lt;br&gt;&lt;br&gt;Most advice I've read deals with point 5b. However, I can't figure out to sort them--I'm only using SQL Express if that has an effect--it seems like they just sort by name or status. Right clicking should have a move up or down option, but I can't find it.&lt;br&gt;&lt;br&gt;It appears to be caused whenever more than one connection exists, though Max connections is set to 0. I could be wrong though. However, now, after a lot of trouble shooting, it seems to have subsided a bit. Sorry for the vague answer, but I don't know. &lt;br&gt;&lt;br&gt;Is this something that will go away when I move to a host and SQL Server Standard?</description></item><item><title>re: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#762449</link><pubDate>Tue, 19 Sep 2006 22:25:40 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:762449</guid><dc:creator>SQL Protocols</dc:creator><description>Hi, kihh&lt;br&gt;&lt;br&gt; &amp;nbsp; &amp;nbsp;Could you describe more specific about your problem? What if you set max connections to non 0? Are you able to connect to Express successfully? Or you faced some data operation issue? You can try to use same client app against SQL Server Standard or Enterprise or Dev sku, if the problem disappear, that may be caused by Express. &lt;br&gt;&lt;br&gt;Following Forum can help you w/ that:&lt;br&gt;&lt;a rel="nofollow" target="_new" href="http://forums.microsoft.com/MSDN/ShowForum.aspx?ForumID=385&amp;amp;SiteID=1"&gt;http://forums.microsoft.com/MSDN/ShowForum.aspx?ForumID=385&amp;amp;SiteID=1&lt;/a&gt;&lt;br&gt;&lt;br&gt;Good Luck!&lt;br&gt;Ming</description></item><item><title>re: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#764171</link><pubDate>Thu, 21 Sep 2006 09:29:56 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:764171</guid><dc:creator>riaan</dc:creator><description>Hi,&lt;br&gt;I get the above mentioned: &amp;quot;Login failed for user ''. The user is not associated with a trusted SQL Server connection.&amp;quot; error. &lt;br&gt;&lt;br&gt;But I get this error when connecting through a website on an IIS webserver. When connecting through a normal app the connection works fine.&lt;br&gt;So the problem seems to be with IIS.&lt;br&gt;&lt;br&gt;I have a local account on both machines with the same password. The SQL server is set to mixed mode authentication. I am sure that the connection string is correct.&lt;br&gt;&lt;br&gt;The SQL server 2000 is running on a windows 2003 server. I am running win xp and IIS 5.1.&lt;br&gt;&lt;br&gt;Any help would be greatly appreciated.&lt;br&gt;&lt;br&gt;thanx&lt;br&gt; riaan.</description></item><item><title>re: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#765993</link><pubDate>Fri, 22 Sep 2006 13:25:05 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:765993</guid><dc:creator>page</dc:creator><description>We testig SQL server 2005 with 20 GB database for check limit of users who can login to SQL server. But we recive an error:&lt;br&gt;&amp;quot;A connection was successfully established with the server, but then an error occurred during the pre-login handshake. &amp;nbsp;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. (provider: TCP Provider, error: 0 - An existing connection was forcibly closed by the remote host.)&lt;br&gt;A transport-level error has occurred when receiving results from the server. (provider: TCP Provider, error: 0 - An existing connection was forcibly closed by the remote host.)&amp;quot;&lt;br&gt;&lt;br&gt;We change SQL settings (max worker threads from 0 to 2048 (default was 0 - for 64 bit platform and 8 processors is value=576) &lt;br&gt;&lt;br&gt;Is this action ok (we use long query)&lt;br&gt;</description></item><item><title>re: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#771027</link><pubDate>Mon, 25 Sep 2006 22:39:24 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:771027</guid><dc:creator>SQL Protocols</dc:creator><description>Hi,&lt;br&gt;&lt;br&gt; &amp;nbsp;1) Is the error you saw consistently or intermittently? If not consistently, could you reduce the CPU assumption when the problem occured? and see whether that helps?&lt;br&gt;&lt;br&gt; &amp;nbsp;2) Can you open SQL Server Profile and trace which client operation trigger the connection closed, did you see any error info in the server error log or system eventlog when problem occured?&lt;br&gt;&lt;br&gt; &amp;nbsp;3) Did the problem occure after your adjusting the &amp;quot;max worker thread&amp;quot;? or not? From books online, your configuration of that seems OK based on your system configuration, the problem probably during data operation, client or server close the connection. To open sql trace file and monitor SQL Server error log will help you get clue.&lt;br&gt;&lt;br&gt;Good Luck!&lt;br&gt;Ming.&lt;br&gt;</description></item><item><title>SQL Server 20005 Remote Connectivity Issue TroubleShooting</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#778524</link><pubDate>Sat, 30 Sep 2006 23:22:30 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:778524</guid><dc:creator>SQL Protocols</dc:creator><description>With shipping SQL Server 2005, we heard from customer feedback about suffering make successful remote...</description></item><item><title>SQL Server 2005 Remote Connectivity Issue TroubleShooting</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#788482</link><pubDate>Wed, 04 Oct 2006 06:26:37 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:788482</guid><dc:creator>SQL Protocols</dc:creator><description>&lt;p&gt;With shipping SQL Server 2005, we heard from customer feedback about suffering make successful remote&lt;/p&gt;
</description></item><item><title>Connectivity Issues with sql sERVER 2002</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#793345</link><pubDate>Thu, 05 Oct 2006 13:15:45 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:793345</guid><dc:creator>Vidya</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Can you please help me with this problem&lt;/p&gt;
&lt;p&gt;.Following is the problem I am facing when trying to remotely log into &amp;nbsp;SQL Server 2005&lt;/p&gt;
&lt;p&gt;&amp;#183; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Got an error when logging in with SA::St0pLand0 – There was no process at the end of the pipe (or some such)&lt;/p&gt;
&lt;p&gt;o &amp;nbsp; Followed KB info to activate named pipe and TCP/IP access, restarted, getting same error&lt;/p&gt;
&lt;p&gt;&amp;#183; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; After a couple attempts, SA account gets locked out&lt;/p&gt;
&lt;p&gt;o &amp;nbsp; Run script: Alter Login SA With Password = ‘St0pLand0’ unlock&lt;/p&gt;
&lt;p&gt;o &amp;nbsp; Indicates success&lt;/p&gt;
&lt;p&gt;o &amp;nbsp; Access sa login properties under Security\Logins – status area, shows “Login is locked out” checkbox checked.&lt;/p&gt;
&lt;p&gt;&amp;#183; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Also server seems VERY slow to respond at some points&lt;/p&gt;
</description></item><item><title>Connectivity Issues with Sql Server  2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#793351</link><pubDate>Thu, 05 Oct 2006 13:17:27 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:793351</guid><dc:creator>Vidya</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Can you please help me with this problem&lt;/p&gt;
&lt;p&gt;.Following is the problem I am facing when trying to remotely log into &amp;nbsp;SQL Server 2005&lt;/p&gt;
&lt;p&gt;&amp;#183; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Got an error when logging in with SA::St0pLand0 – There was no process at the end of the pipe (or some such)&lt;/p&gt;
&lt;p&gt;o &amp;nbsp; Followed KB info to activate named pipe and TCP/IP access, restarted, getting same error&lt;/p&gt;
&lt;p&gt;&amp;#183; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; After a couple attempts, SA account gets locked out&lt;/p&gt;
&lt;p&gt;o &amp;nbsp; Run script: Alter Login SA With Password = ‘St0pLand0’ unlock&lt;/p&gt;
&lt;p&gt;o &amp;nbsp; Indicates success&lt;/p&gt;
&lt;p&gt;o &amp;nbsp; Access sa login properties under Security\Logins – status area, shows “Login is locked out” checkbox checked.&lt;/p&gt;
&lt;p&gt;&amp;#183; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Also server seems VERY slow to respond at some points&lt;/p&gt;
</description></item><item><title>re: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#839084</link><pubDate>Wed, 18 Oct 2006 17:40:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:839084</guid><dc:creator>Jay Larbes</dc:creator><description>&lt;p&gt;Hi, on a web application that I develop, I just upgraded to a new database server running SQL Server 2005 and Windows Server 2003 Enterprise Edition. &amp;nbsp;The previous database server ran SQL Server 2000 and Windows Server 2003 Standard Edition. &amp;nbsp;Since this upgrade, the application has been causing &amp;quot;timeout&amp;quot; errors all over the application. &amp;nbsp;I've been stumped. &amp;nbsp;Here's the error mssage:&lt;/p&gt;
&lt;p&gt; Microsoft OLE DB Provider for ODBC Drivers error '80040e31' &lt;/p&gt;
&lt;p&gt;[Microsoft][ODBC SQL Server Driver]Timeout expired &lt;/p&gt;
&lt;p&gt;I'm hoping there is some sort of a setting that can be modified to increase the maximum number of connections between the web server and database server. &amp;nbsp;This is a fresh version of Windows Server 2003 and SQL Server 2005. &amp;nbsp;Any support that can be provided will be greatly appreciated.&lt;/p&gt;
</description></item><item><title>re: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#850529</link><pubDate>Sat, 21 Oct 2006 00:21:38 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:850529</guid><dc:creator>Goose</dc:creator><description>&lt;p&gt;I have the same problem that many of the others where i'm getting the error about connecting remotely not allow. &amp;nbsp;I tried all the solutions, but still have the problem. My issue is just a little different than the others. The program runs fine if I were calling it directly, however, i added a login page and change authentication to &amp;quot;forms&amp;quot;. That's when i get the error. &amp;nbsp;Any ideas?&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
</description></item><item><title>re: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#881676</link><pubDate>Fri, 27 Oct 2006 20:05:12 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:881676</guid><dc:creator>Ajith</dc:creator><description>&lt;p&gt;App: Classic ASP&lt;/p&gt;
&lt;p&gt;Migrated from SQL2K -&amp;gt; SQL2K5&lt;/p&gt;
&lt;p&gt;Legacy ConnString&lt;/p&gt;
&lt;p&gt;conn.open&lt;/p&gt;
&lt;p&gt;&amp;quot;Provider=sqloledb;Data Source=CLUSTERSQL,1433;Network Library=DBMSSOCN;Initial Catalog=AjithsDB&amp;quot;, &amp;quot;uid&amp;quot;, &amp;quot;pswd&amp;quot;&lt;/p&gt;
&lt;p&gt;Still works for SQL2K5. DataShape gives me the following error&lt;/p&gt;
&lt;p&gt;MSDataShape error '80040e14' &lt;/p&gt;
&lt;p&gt;Provider command for child rowset does not produce a rowset. &lt;/p&gt;
&lt;p&gt;So I tried ConnString as follows but it fails&lt;/p&gt;
&lt;p&gt;conn.open &amp;quot;Provider=SQLNCLI;Server=CLUSTERSQL;Database=AjithsDB;&amp;quot;, &amp;quot;uid&amp;quot;, &amp;quot;pswd&amp;quot;&lt;/p&gt;
&lt;p&gt;Also tried&lt;/p&gt;
&lt;p&gt;conn.open &amp;quot;Provider=SQLNCLI;Server=CLUSTERSQL,1433;Database=AjithsDB;&amp;quot;, &amp;quot;uid&amp;quot;, &amp;quot;pswd&amp;quot;&lt;/p&gt;
&lt;p&gt;I am not finding any examples of how to specify a port for SQLNCLI provider.&lt;/p&gt;
&lt;p&gt;Please let me know if there is a workaround.&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;Ajith&lt;/p&gt;
</description></item><item><title>re: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#1042253</link><pubDate>Thu, 09 Nov 2006 05:39:52 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1042253</guid><dc:creator>gsmani</dc:creator><description>&lt;p&gt;Hi Ming,&lt;/p&gt;
&lt;p&gt;I am having a peculier problem when using Site Manager for MCMS 2002 and i am using SQL Server 2005(standard) sitting on other side of firewall. &amp;nbsp;I am able to access data sizes of 30 MB and below. &amp;nbsp;When it exceeds, i am getting the following error message:&lt;/p&gt;
&lt;p&gt;Import Preview&lt;/p&gt;
&lt;p&gt;--------------------------------------------------------------------------------&lt;/p&gt;
&lt;p&gt;Report Information&lt;/p&gt;
&lt;p&gt;Package file: C:\PROGRA~1\MIB84C~1\Server\Temp\sdupload1.sdo &amp;nbsp;&lt;/p&gt;
&lt;p&gt;Generated on: 11/8/2006 6:33:21 PM &amp;nbsp;&lt;/p&gt;
&lt;p&gt;Report generated by: WinNT://NYCEDC-BAT-WEB1/MCMSAdmin &amp;nbsp;&lt;/p&gt;
&lt;p&gt;Client Machine: NYCEDC-BAT-WEB1 &amp;nbsp;&lt;/p&gt;
&lt;p&gt;Client Version: 5.0.5054.0 &amp;nbsp;&lt;/p&gt;
&lt;p&gt;Server URL: &lt;a rel="nofollow" target="_new" href="http://192.168.71.100:80/NR/System/Marshalling/"&gt;http://192.168.71.100:80/NR/System/Marshalling/&lt;/a&gt; &amp;nbsp;&lt;/p&gt;
&lt;p&gt;Server Version: 5.0.5054.0 &amp;nbsp;&lt;/p&gt;
&lt;p&gt;--------------------------------------------------------------------------------&lt;/p&gt;
&lt;p&gt;Error Information&lt;/p&gt;
&lt;p&gt;An error has occurred that has interfered with the generation of this report. Please try the operation again, and contact your system administrator should this error persist. &lt;/p&gt;
&lt;p&gt;Error ID: -2147352567 &amp;nbsp;&lt;/p&gt;
&lt;p&gt;Source File: &amp;nbsp;&lt;/p&gt;
&lt;p&gt;Source Method: .Net SqlClient Data Provider &amp;nbsp;&lt;/p&gt;
&lt;p&gt;Source Line: 0 &amp;nbsp;&lt;/p&gt;
&lt;p&gt;Description: A transport-level error has occurred when receiving results from the server. (provider: TCP Provider, error: 0 - The specified network name is no longer available.) &amp;nbsp;&lt;/p&gt;
&lt;p&gt;Recommended Action: &amp;nbsp;&lt;/p&gt;
&lt;p&gt;-------------------------------&lt;/p&gt;
&lt;p&gt;Can you help in resolving this error?&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;Mani&lt;/p&gt;
</description></item><item><title>re: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#1053510</link><pubDate>Fri, 10 Nov 2006 10:37:04 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1053510</guid><dc:creator>SQL Protocols</dc:creator><description>&lt;p&gt;Hi, Mani&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;Does this happen consistently or intermittently? The problem looks like either you lost network access to the server temporarily or sql server reject new connection.&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;You need first identify whether it is SQL Server issue or pure network issue.&lt;/p&gt;
&lt;p&gt;1) You can check event log SQL Server to see whether transaction log full or server ran out of disk place.&lt;/p&gt;
&lt;p&gt;2) Open SQL Server Profile, start a new trace, redo your client operation, watch what were server doing?&lt;/p&gt;
&lt;p&gt;Or if you think this problem can only occured when you access data size larger than 30MB, please post your question to this forum, provide your detail data operation info.&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://forums.microsoft.com/MSDN/ShowForum.aspx?ForumID=93&amp;amp;SiteID=1"&gt;http://forums.microsoft.com/MSDN/ShowForum.aspx?ForumID=93&amp;amp;SiteID=1&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;3) If the error just happen intermittently, it might be due to bad connection, and you can see following KB article to troubleshoot:&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://support.microsoft.com/kb/325487"&gt;http://support.microsoft.com/kb/325487&lt;/a&gt; &lt;/p&gt;
&lt;p&gt;Good Luck!&lt;/p&gt;
&lt;p&gt;Ming.&lt;/p&gt;
</description></item><item><title>re: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#1054344</link><pubDate>Fri, 10 Nov 2006 17:49:39 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1054344</guid><dc:creator>gsmani</dc:creator><description>&lt;p&gt;Thanks Ming for your suggestion. &amp;nbsp;Do you think the firewall plays a part in this? &amp;nbsp;Is it invalidating the connection?&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;Mani&lt;/p&gt;
</description></item><item><title>re: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#1066486</link><pubDate>Mon, 13 Nov 2006 08:11:03 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1066486</guid><dc:creator>SQL Protocols</dc:creator><description>&lt;p&gt;Hi, Mani&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;Did you enable your firewall during running your client application? What if you turn off firewall, see whether the problem repro?&lt;/p&gt;
&lt;p&gt; &amp;nbsp; BTW, for remote connection troubleshooting, you can see the following blog:&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &lt;a rel="nofollow" target="_new" href="http://blogs.msdn.com/sql_protocols/archive/2006/09/30/SQL-Server-2005-Remote-Connectivity-Issue-TroubleShooting.aspx"&gt;http://blogs.msdn.com/sql_protocols/archive/2006/09/30/SQL-Server-2005-Remote-Connectivity-Issue-TroubleShooting.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Good Luck!&lt;/p&gt;
&lt;p&gt;Ming.&lt;/p&gt;
</description></item><item><title>re: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#1087182</link><pubDate>Thu, 16 Nov 2006 19:10:36 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1087182</guid><dc:creator>Mark Skrotzki</dc:creator><description>&lt;p&gt;I am trying to connect to a internet based webserver [sql14.aquesthosting.com] using SqlServer 2005 on a Windows XP 64 bit version.&lt;/p&gt;
&lt;p&gt;I have activated remote connections, configured TCP protocol, opened the windows firewall {even turned it off for some tests]. &amp;nbsp;I have spent the better part of a day reading Google and the archives of this [most helpful] blog.&lt;/p&gt;
&lt;p&gt;I originally had the 64 bit version of Sql Server 2005 on this machine, but got the impression that Report Server does not work properly on this version. &amp;nbsp;I uninstalled SS 2k5 64 bit version, and installed the 32 bit version of SS2k5&lt;/p&gt;
&lt;p&gt;I have a 32 bit tablet computer connected to the same DSL line, with the {nearly as I can tell) same configuration and it connects perfectly -- and quickly.&lt;/p&gt;
&lt;p&gt;Are there any special considerations for connecting with a 64 bit operating system?&lt;/p&gt;
</description></item><item><title>re: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#1102167</link><pubDate>Sun, 19 Nov 2006 10:09:22 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1102167</guid><dc:creator>SQL Protocols</dc:creator><description>&lt;p&gt;Hi, Mark&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;Could you give more specific error when you connect from 64bit client? It should not make difference compared to 32bit if you &lt;/p&gt;
&lt;p&gt;were making remote connection. &lt;/p&gt;
&lt;p&gt;Good Luck!&lt;/p&gt;
&lt;p&gt;Ming.&lt;/p&gt;
</description></item><item><title>re: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#1123657</link><pubDate>Wed, 22 Nov 2006 23:42:54 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1123657</guid><dc:creator>Sundar</dc:creator><description>&lt;p&gt;We are getting the below error in a production environment. What would be the main cause of this issue? The message “Not enough storage is available to complete this operation” does mean the disk space on the server?&lt;/p&gt;
&lt;p&gt;Exception Message: 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.) (type SqlException)&lt;/p&gt;
&lt;p&gt;SQL Exception Class: 20&lt;/p&gt;
&lt;p&gt;SQL Exception Number: 14&lt;/p&gt;
&lt;p&gt;SQL Exception Procedure: &lt;/p&gt;
&lt;p&gt;SQL Exception Line Number: 0&lt;/p&gt;
&lt;p&gt;SQL Exception Server: &lt;/p&gt;
&lt;p&gt;SQL Exception State: 0&lt;/p&gt;
&lt;p&gt;SQL Error(s):&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;-Sundar&lt;/p&gt;
</description></item><item><title>re: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#1130585</link><pubDate>Fri, 24 Nov 2006 01:07:41 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1130585</guid><dc:creator>SQL Protocols</dc:creator><description>&lt;p&gt;Hi, Sundar&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;1) Can you check any info in server errorlog when the problem repros?&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;2) Can you open sql profile to see whether large or incorrect data operation caused the problem? As far as I know, the error does not necessarily mean run out of memeory.&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;3) Can you collect ETW trace and send to us to further investigate?&lt;/p&gt;
&lt;p&gt;Here is a guide to collect ETW trace.&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://blogs.msdn.com/sql_protocols/archive/2006/08/04/688396.aspx"&gt;http://blogs.msdn.com/sql_protocols/archive/2006/08/04/688396.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;
&lt;p&gt;Ming.&lt;/p&gt;
</description></item><item><title>re: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#1173885</link><pubDate>Thu, 30 Nov 2006 02:02:21 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1173885</guid><dc:creator>Marnee</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I am having a somewhat odd problem. &amp;nbsp;&lt;/p&gt;
&lt;p&gt;I was unable to create a connection to a SQL 2005 instance on a win2K3 server using an ASP.Net Framework 1.1 app running on IIS/Visual Studio 2003 on XP machine. &amp;nbsp;&lt;/p&gt;
&lt;p&gt;There are both a SQL 2005 and 2000 instance on the server. &amp;nbsp;The SQL 2005 instance is a named instance. &amp;nbsp;I decided to try configuring the two instances to listen on different ip addresses and ports as follows.&lt;/p&gt;
&lt;p&gt;SQL 2005&lt;/p&gt;
&lt;p&gt;Server is listening on [ 'any' &amp;lt;ipv4&amp;gt; 2602].&lt;/p&gt;
&lt;p&gt;Server is listening on [ 192.168.2.99 &amp;lt;ipv4&amp;gt; 1312].&lt;/p&gt;
&lt;p&gt;SQL 2000&lt;/p&gt;
&lt;p&gt;SQL server listening on 192.168.2.9: 1433.&lt;/p&gt;
&lt;p&gt;SQL server listening on 192.168.2.99: 1433.&lt;/p&gt;
&lt;p&gt;SQL server listening on 127.0.0.1: 1433.&lt;/p&gt;
&lt;p&gt;By specifying the ip address and port for the server instance in my connection string I can connect to the 2005 instance but not the 2000 instance.&lt;/p&gt;
&lt;p&gt;Connection String:&lt;/p&gt;
&lt;p&gt;Data Source=192.168.2.9,1433;Initial Catalog=DB;Persist Security Info=True;User ID=USER;Password=PASSWORD;Network Library=dbmssocn&lt;/p&gt;
&lt;p&gt;However, I can connect (same username and password) to either instance without error using the Management Studio or the Visual Studio 2005 data connection browser but only if I specify the ip address and port of the desired instance. &amp;nbsp;If I use the instance enumerated in the drop down, the connection is active refused.&lt;/p&gt;
&lt;p&gt;I am imagining that it must be a kind of tcp/ip conflict. &amp;nbsp;But I do not know how to resolve this.&lt;/p&gt;
&lt;p&gt;Please advise.&lt;/p&gt;
</description></item><item><title>re: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#1173890</link><pubDate>Thu, 30 Nov 2006 02:03:46 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1173890</guid><dc:creator>Marnee</dc:creator><description>&lt;p&gt;One more thing: &amp;nbsp;I cannot connect to the 2000 instance using Enterprise Manager.&lt;/p&gt;
</description></item><item><title>re: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#1173983</link><pubDate>Thu, 30 Nov 2006 02:38:53 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1173983</guid><dc:creator>Marnee</dc:creator><description>&lt;p&gt;No, actually I can register the 2000 instance in Enterprise Manager if I specify the ip address, not the name.&lt;/p&gt;
</description></item><item><title>re: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#1286921</link><pubDate>Thu, 14 Dec 2006 19:52:29 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1286921</guid><dc:creator>Jeff</dc:creator><description>&lt;p&gt;I think your problem is the same one I'm having. Using SQL 2005 Mgmt Studio &amp;amp; trying to connect to a 2k DB using the .Net SqlClient Data Provider. Ent. Manager uses a different data provider &amp;amp; I was hunting for a way to set which data provider to use when connecting to various SQL servers. If the host allows the .net data provider you could probably connect to your db, just fyi&lt;/p&gt;
</description></item><item><title>re: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#1294810</link><pubDate>Fri, 15 Dec 2006 18:30:30 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1294810</guid><dc:creator>Phil</dc:creator><description>&lt;p&gt;I am having the same problem as Mani above. &amp;nbsp;I can connect to my remote SQL Server 2005 just fine, but when I try to add a new table in Management Studio I get a (TCP Provider, error: 0 - The specified network name is no longer available.) (Microsoft SQL Server, Error: 64).&lt;/p&gt;
&lt;p&gt;It doesn't seem like it could really be a connectivity issue as I can access all other parts of the DB both before and after attempting this. &amp;nbsp;(It does it constantly, not intermittently)&lt;/p&gt;
</description></item><item><title>re: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#1341977</link><pubDate>Thu, 21 Dec 2006 22:54:23 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1341977</guid><dc:creator>Jeff</dc:creator><description>&lt;p&gt;I recently upgraded sql express 05 to developer edition (win xp pro laptop). &amp;nbsp;After struggling to get the upgrade to work, i finally unistalled all 2005 stuff and reinstalled developer edition from scratch using mixed authentication. &amp;nbsp;Everything was great and i could connect to my databases no problem. &amp;nbsp;When i started up my pc this morning I cannt start any of the services in the surface area configuration manager (MSSQLServer, SQL Agent, SQL Browser etc). &amp;nbsp;I have been stuck on this for 4 hours, do you have any advice? &amp;nbsp;Thanks! &amp;nbsp;Do I need to change the login info for those services? &amp;nbsp;How do I do that?&lt;/p&gt;
</description></item><item><title>re: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#1342570</link><pubDate>Fri, 22 Dec 2006 00:57:46 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1342570</guid><dc:creator>SQL Protocols</dc:creator><description>&lt;p&gt;Jeff,&lt;/p&gt;
&lt;p&gt;It would be helpful to know if the Windows Event Log has any error events for this problem and what the error message is.&lt;/p&gt;
&lt;p&gt;Were the SQL services configured to run under some user account or a service account (like &amp;quot;Local System&amp;quot;, &amp;quot;Local Service&amp;quot;, or &amp;quot;Network Service&amp;quot;)? &amp;nbsp;If they were configured to run under a user account, did that user account password expire?&lt;/p&gt;
&lt;p&gt;If you would like to view/modify the account in which these services run under, I recommend using the &amp;quot;Configuration Manager&amp;quot; tool and look under the properties for each of these services.&lt;/p&gt;
&lt;p&gt;HTH,&lt;/p&gt;
&lt;p&gt;Jimmy&lt;/p&gt;
</description></item><item><title>re: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#1345190</link><pubDate>Fri, 22 Dec 2006 09:12:54 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1345190</guid><dc:creator>SQL Protocols</dc:creator><description>&lt;p&gt;Hi, Phil&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;To resolve your problem, please take a look at following forum post:&lt;/p&gt;
&lt;p&gt; &lt;a rel="nofollow" target="_new" href="http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=984492&amp;amp;SiteID=1"&gt;http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=984492&amp;amp;SiteID=1&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Good Luck!&lt;/p&gt;
&lt;p&gt;Ming.&lt;/p&gt;
</description></item><item><title>re: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#1369497</link><pubDate>Wed, 27 Dec 2006 18:24:28 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1369497</guid><dc:creator>Johan</dc:creator><description>&lt;p&gt;Hi all,&lt;/p&gt;
&lt;p&gt;I've got a little problem.&lt;/p&gt;
&lt;p&gt;I'm working on a ASP.NET project. The applications has 4-layers. When I look in the Data Access Layer and test the typed dataset, then the &amp;quot;Preview Data&amp;quot; works fine. I see the right records from SQL Server 2005.&lt;/p&gt;
&lt;p&gt;But when I run the app (default.aspx) in debug-mode, then the system gives the following error:&lt;/p&gt;
&lt;p&gt;&amp;quot;An error has occurred while establishing a connection to the server. &amp;nbsp;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. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)&amp;quot;&lt;/p&gt;
&lt;p&gt;Please help.....&lt;/p&gt;
</description></item><item><title>re: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#1372329</link><pubDate>Thu, 28 Dec 2006 09:18:43 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1372329</guid><dc:creator>SQL Protocols</dc:creator><description>&lt;p&gt;Hi, Johan&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;Did this happen intermittently or consistently?&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;1) If consistently, have you tried the tips in &amp;quot;Error Message 1&amp;quot; section of this blog? Plus, did you enable sql port in firewall if you were making remote connection?&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;2) If intermittently, can you open sql profile and see when the connection failed, is it during data operation? then you need check server errorlog to trace more detail.&lt;/p&gt;
&lt;p&gt;Good Luck!&lt;/p&gt;
&lt;p&gt;Ming.&lt;/p&gt;
</description></item><item><title>re: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#1393709</link><pubDate>Mon, 01 Jan 2007 15:49:47 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1393709</guid><dc:creator>Johan</dc:creator><description>&lt;p&gt;ASP.NET application, Visual Studio 2005 and SQL Server 2005 are on the same development machine (WinXP Pro SP2).&lt;/p&gt;
&lt;p&gt;Does the application use &amp;quot;remote connections&amp;quot; in this configuration?&lt;/p&gt;
</description></item><item><title>re: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#1402238</link><pubDate>Wed, 03 Jan 2007 10:48:16 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1402238</guid><dc:creator>SQL Protocols</dc:creator><description>&lt;p&gt;Hi, Johan&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;I am not sure about your question. You can check following blog to know about configuration in remote connections to SQL 2k5.&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://blogs.msdn.com/sql_protocols/archive/2006/09/30/SQL-Server-2005-Remote-Connectivity-Issue-TroubleShooting.aspx"&gt;http://blogs.msdn.com/sql_protocols/archive/2006/09/30/SQL-Server-2005-Remote-Connectivity-Issue-TroubleShooting.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Good Luck!&lt;/p&gt;
&lt;p&gt;Ming.&lt;/p&gt;
</description></item><item><title>Troubleshoot Connectivity Issue in SQL Server 2005 - Part III - new message?</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#1455529</link><pubDate>Fri, 12 Jan 2007 15:41:28 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1455529</guid><dc:creator>Regan</dc:creator><description>&lt;p&gt;I seem to have come across a NEW error message not described in the 8 listed in the article.&lt;/p&gt;
&lt;p&gt;Using SQLServer 2005, Enterprise Edition, SP 1 (9.0.2047).&lt;/p&gt;
&lt;p&gt;I have a remote connection to a box (our DialBox), where we can remotely access our servers for that domain. Up until 2 days ago, I had no issues connection from DialBox, using SSMS, to a server. Since yesterday, I've been seeing this error message when I try and connection to the Registered Server:&lt;/p&gt;
&lt;p&gt;--------------------------------------&lt;/p&gt;
&lt;p&gt;TITLE: Microsoft SQL Server Management Studio&lt;/p&gt;
&lt;p&gt;------------------------------&lt;/p&gt;
&lt;p&gt;A connection was successfully established with the server, but then an error occurred during the pre-login handshake. (provider: SSL Provider, error: 0 - The Local Security Authority cannot be contacted) (Microsoft SQL Server, Error: -2146893052)&lt;/p&gt;
&lt;p&gt;For help, click: &lt;a rel="nofollow" target="_new" href="http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&amp;amp;EvtSrc=MSSQLServer&amp;amp;EvtID=-2146893052&amp;amp;LinkId=20476"&gt;http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&amp;amp;EvtSrc=MSSQLServer&amp;amp;EvtID=-2146893052&amp;amp;LinkId=20476&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;--------------------------------------&lt;/p&gt;
&lt;p&gt;I can connect to other servers, in that domain, from the DialBox.&lt;/p&gt;
&lt;p&gt;If I remote through to the actual DB server from the DialBox, I can connect successfully.&lt;/p&gt;
&lt;p&gt;Both connections are made using the same domain user (domainname\user).&lt;/p&gt;
</description></item><item><title>re: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#1464282</link><pubDate>Sun, 14 Jan 2007 08:34:07 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1464282</guid><dc:creator>SQL Protocols</dc:creator><description>&lt;p&gt;Hi, Regan&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;This is OS Error, which indicates that unreachable Domain Controller. It might due to the DC temparily shutdown. Try &amp;quot;nslookup&amp;quot; to find the DC, then troubleshoot the network between your computer and DC, such as &lt;/p&gt;
&lt;p&gt; &amp;nbsp;a. ping &amp;lt;DCname&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp;b. telnet &amp;lt;ipofDC&amp;gt; 445&lt;/p&gt;
&lt;p&gt; &amp;nbsp;c. telnet &amp;lt;ipofDC&amp;gt; 135&lt;/p&gt;
&lt;p&gt;If you fail to do above steps, try to disjoin your computer and rejoin your computer to the domain.&lt;/p&gt;
&lt;p&gt;Also, there are several articles talking about this problem and potential cuase, hope them helps.&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://support.microsoft.com/kb/813550"&gt;http://support.microsoft.com/kb/813550&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=129237&amp;amp;SiteID=1"&gt;http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=129237&amp;amp;SiteID=1&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=578673&amp;amp;SiteID=1"&gt;http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=578673&amp;amp;SiteID=1&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Good Luck!&lt;/p&gt;
&lt;p&gt;Ming.&lt;/p&gt;
</description></item><item><title>re: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#1470969</link><pubDate>Mon, 15 Jan 2007 15:12:25 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1470969</guid><dc:creator>Regan</dc:creator><description>&lt;p&gt;Ming, thanks for the repsonse - I'll have a look! If it is a DC issue, it's a bit surprising that other users can use the DialBox, and connect successfully. Might this be related to a specific profile (i.e. mine) and an expired kerebos ticket, or some such?&lt;/p&gt;
</description></item><item><title>re: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#1472365</link><pubDate>Mon, 15 Jan 2007 21:35:59 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1472365</guid><dc:creator>Regan</dc:creator><description>&lt;p&gt;... and, given a weekend, the problem went away, so I may never know what the issue was. At least I can work on the DialBox again ...&lt;/p&gt;
</description></item><item><title>re: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#1490165</link><pubDate>Thu, 18 Jan 2007 22:57:52 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1490165</guid><dc:creator>Shane G Eckel</dc:creator><description>&lt;p&gt;Ming, thank you for your helpful instruction. &amp;nbsp;I followed everything you mentioned but, for some reason, I still can't connect to SQL Server Express.&lt;/p&gt;
&lt;p&gt;I have two computers on the office network, the Host with SQL Express (DELLDESKTOP1) and the Remote computer I'm trying to connect from.&lt;/p&gt;
&lt;p&gt;On the Remote, if I go to Windows Explorer and enter &amp;quot;\\DELLDESKTOP1&amp;quot; in the Address, I'm able to 'see' the Host computer. &amp;nbsp;Just the printers and shared docs.&lt;/p&gt;
&lt;p&gt;On the Host, I've made sure that Shared Memory, Named Pipes and TCP/IP are all enabled. &amp;nbsp;I've Enabled IP1/IP2 and added TCP Port 1434 for IP1/IP2/IPALL. &amp;nbsp;the TCP Dynamic Ports under IPALL is blank. &amp;nbsp;&lt;/p&gt;
&lt;p&gt;The error I'm getting is the server timed out when I enter, &amp;quot;SQLCMD -E -S DELLDESKTOP1\SQLEXPRESS, 1434&amp;quot;&lt;/p&gt;
&lt;p&gt;The error message I get is &amp;quot;Login timeout expired.&amp;quot;&lt;/p&gt;
&lt;p&gt;I have disabled the Windows Firewall on the Host just to take that out of the equation.&lt;/p&gt;
&lt;p&gt;Again, I have followed all of you suggestions above and have run out of options. &amp;nbsp;Thank you, thank you for any help you can provide. &amp;nbsp;(if you can't tell already, I'm not a dba or a developer for that matter, just a newbie)&lt;/p&gt;
&lt;p&gt;Thanks, &amp;nbsp;Shane&lt;/p&gt;
&lt;p&gt;shane.eckel@seattlesoftware.com&lt;/p&gt;
</description></item><item><title>re: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#1506272</link><pubDate>Mon, 22 Jan 2007 09:00:15 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1506272</guid><dc:creator>SQL Protocols</dc:creator><description>&lt;p&gt;Hi, shane&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;When you were using &amp;quot;sqlcmd -E -S DELLDESKTOP1\SQLEXPRESS, 1434&amp;quot;, are you sure sqlexpress was listening on this tcp port? Please check:&lt;/p&gt;
&lt;p&gt; &amp;nbsp; 1) telnet DELLDESTOP1 1434, see whether it succeeds?&lt;/p&gt;
&lt;p&gt; &amp;nbsp; 2) go to SQL express ERRORLOG, check server has TCP enabled and listening on port 1434?&lt;/p&gt;
&lt;p&gt; &amp;nbsp; 3) If 1) &amp;amp; 2) has not any problem, try enlarge the connection timeout, such as &amp;quot;SQLCMD -E -S DELLDESKTOP1\SQLEXPRESS, 1434 -l 120&amp;quot;&lt;/p&gt;
&lt;p&gt;Note:Go to SQL server configuration manager, click properties of &amp;quot;Protocols for SQLExpress&amp;quot;, check tcp was enabled and click properties, see the configuration of ip1, ip2, ipall, normally, you do not need enable ip1 or ipv2, suggest you disable ipv1 and ip2, let server listen on ipall, leave the dynamic port of ipall blank, restart the sqlserver and retry your connection.&lt;/p&gt;
&lt;p&gt;Good Luck!&lt;/p&gt;
&lt;p&gt;Ming&lt;/p&gt;
</description></item><item><title>Named Pipes Provider, error 40 Could not open a connection to SQL</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#1513514</link><pubDate>Tue, 23 Jan 2007 14:02:10 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1513514</guid><dc:creator>Named Pipes Provider, error 40 Could not open a connection to SQL</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I have a big problem, I have a website in a Windows 2003 and SQL Server &lt;/p&gt;
&lt;p&gt;2005, and the website usually goes weel, but some times and error appears, &lt;/p&gt;
&lt;p&gt;the error is &amp;quot;Named Pipes Provider, error: 40 - Could not open a connection &lt;/p&gt;
&lt;p&gt;to SQL Server&amp;quot;.&lt;/p&gt;
&lt;p&gt;There is not installed a firewall and TCP and Pipes connection are enabled.&lt;/p&gt;
&lt;p&gt;Any ideas?&lt;/p&gt;
&lt;p&gt;Thanks in advance,&lt;/p&gt;
&lt;p&gt;Miguel&lt;/p&gt;
</description></item><item><title>SQL Server 2005 Connectivity Issue Troubleshoot  - Part I</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#1550247</link><pubDate>Mon, 29 Jan 2007 09:44:01 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1550247</guid><dc:creator>SQL Protocols</dc:creator><description>&lt;p&gt;This post provides some tips to troubleshoot Sql Server connection problems based on various displayed&lt;/p&gt;
</description></item><item><title>SQl Server 2005 Linked Server to SQL server 2000</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#1555224</link><pubDate>Tue, 30 Jan 2007 07:35:54 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1555224</guid><dc:creator>Sankar</dc:creator><description>&lt;p&gt;I am running a query from Server A (Sql Server 2005) which fetches 15 Million rows from a remote server B (SQL server 2000) This fails runs sometimes and fails some times&lt;/p&gt;
&lt;p&gt;the error stmt as below&lt;/p&gt;
&lt;p&gt;The OLE DB provider &amp;quot;SQLNCLI&amp;quot; for linked server &amp;nbsp;reported an error. Execution terminated by the provider because a resource limit was reached. &lt;/p&gt;
&lt;p&gt;Msg 7421, Level 16, State 2, Line 1 &lt;/p&gt;
&lt;p&gt;Any Suggestions what will be the potential cause&lt;/p&gt;
&lt;p&gt;thanks&lt;/p&gt;
&lt;p&gt;sankar&lt;/p&gt;
</description></item><item><title>re: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#1601931</link><pubDate>Mon, 05 Feb 2007 08:49:21 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1601931</guid><dc:creator>Jim Colley</dc:creator><description>&lt;p&gt;I have a really strange problem on our new Windows 2003 SQL 2005 active/active cluster where after approximately 48 hours the server is unable to create or accept socket connections. Windows authentication fails, clustered file shares fail, some applications recieve WSAENO_BUF errors, Windows is unable to create a secure connection to a domain controller, and many other socket related errors. Stopping and restarting the SQL instance resovles the issue for another 48 hours. The server has lots of memory available and MS Server Performance Advisor reports that the server is healthy.&lt;/p&gt;
&lt;p&gt;I am stumped...The other instance running on the second node does not have this problem. The server ran without issues until we moved production databases to it from SQL 2000&lt;/p&gt;
</description></item><item><title>re: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#1605414</link><pubDate>Mon, 05 Feb 2007 20:22:59 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1605414</guid><dc:creator>Matt</dc:creator><description>&lt;p&gt;Sounds like SQL is leaking resources, most likely socket handles. &amp;nbsp;In the past the few times I've seen this was with 3rd-party items running inside SQL, for example 3rd-party extended stored procedures (xprocs). &amp;nbsp;You can verify this by looking at Task Manager and selecting View | Select Columns... check Handle Count, then monitor the Handles column for sqlservr.exe process. &amp;nbsp;If you see the handles keep climbing over time then you have a handle leak inside SQL.&lt;/p&gt;
&lt;p&gt;Check if you have any 3rd-party items running inside SQL (for example SQL Lightspeed, etc...) and contact these vendors to ensure you have the latest patches. &amp;nbsp;You may also have your own extended stored procedure dlls verify that these are not doing things with socket handles or review the code to ensure you are not leaking handles.&lt;/p&gt;
&lt;p&gt;Debugging what is leaking handles inside a process is not an easy to do unfortunately if you are not familiar with debugging tools if the above does not work I would open a support incident with Microsoft for assistance.&lt;/p&gt;
</description></item><item><title>re: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#1612734</link><pubDate>Tue, 06 Feb 2007 19:46:12 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1612734</guid><dc:creator>Jim Colley</dc:creator><description>&lt;p&gt;I think you be right, if I watch the handle count for the sqlservr.exe it climbs constantly at a rate of around 240 hanles per hour. It seems to climb faster when a particular database and related XProc is being accessed. I also notice the system process hanldes climb relative to the handle count for the sqlservr.exe process, is that normal? I will investigate some more..Is there an actual limit to the number of handles a Windows 2003 server can manage before it runs into problems?&lt;/p&gt;
</description></item><item><title>re: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#1612975</link><pubDate>Tue, 06 Feb 2007 21:12:14 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1612975</guid><dc:creator>Matt Neerincx (MSFT)</dc:creator><description>&lt;p&gt;The limit is related to resources on the machine, there is not a hard limit to all handles. &amp;nbsp;So if you have more RAM for example or are running the machine in /3GB mode it could affect the resource limits. &amp;nbsp;/3GB mode means OS has 1GB and rest of apps has 3GB (versus normal 2GB each). &amp;nbsp;In /3GB mode you can run out of system resources faster in most cases because you are taking away resources from kernel.&lt;/p&gt;
&lt;p&gt;You could use process explorer to look at what specific handle types are leaking this might give you a clue as to the root cause (for example if you see 10000 file handles to c:\fooapp.dat file you know foo application is leaking handles).&lt;/p&gt;
&lt;p&gt;You can get process explorer here:&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://www.microsoft.com/technet/sysinternals/ProcessesAndThreads/ProcessExplorer.mspx"&gt;http://www.microsoft.com/technet/sysinternals/ProcessesAndThreads/ProcessExplorer.mspx&lt;/a&gt;&lt;/p&gt;
</description></item><item><title>re: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#1676492</link><pubDate>Wed, 14 Feb 2007 17:17:37 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1676492</guid><dc:creator>Sheetal</dc:creator><description>&lt;p&gt;Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. &lt;/p&gt;
&lt;p&gt;Exception Details: System.Data.SqlClient.SqlException: A connection was successfully established with the server, but then an error occurred during the pre-login handshake. (provider: TCP Provider, error: 0 - The specified network name is no longer available.)&lt;/p&gt;
</description></item><item><title>re: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#1676531</link><pubDate>Wed, 14 Feb 2007 17:32:15 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1676531</guid><dc:creator>Sheetal</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I am getting the below error while my ASPX page trying to connect with SQL Server 2005. Web application is running under the IIS.&lt;/p&gt;
&lt;p&gt;Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. &lt;/p&gt;
&lt;p&gt;Exception Details: System.Data.SqlClient.SqlException: A connection was successfully established with the server, but then an error occurred during the pre-login handshake. (provider: TCP Provider, error: 0 - The specified network name is no longer available.) &lt;/p&gt;
</description></item><item><title>re: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#1680610</link><pubDate>Thu, 15 Feb 2007 05:01:44 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1680610</guid><dc:creator>SQL Protocols</dc:creator><description>&lt;p&gt;Hi, Sheetal&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;Did you make local connection or remote connection?&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;If it is remote, you need to identify whether it is because of network issue or sql server close the connection.&lt;/p&gt;
&lt;p&gt;To identify network issue, please check out the following blog &amp;quot;On client side&amp;quot; section:&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://blogs.msdn.com/sql_protocols/archive/2006/09/30/SQL-Server-2005-Remote-Connectivity-Issue-TroubleShooting.aspx"&gt;http://blogs.msdn.com/sql_protocols/archive/2006/09/30/SQL-Server-2005-Remote-Connectivity-Issue-TroubleShooting.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt; After making sure it is not network issue, please check out server ERRORLOG or open sQL profile to see which client operation caused the server closing connection.&lt;/p&gt;
&lt;p&gt;Finally, whether this error occured intermittently or consistently from the beginning.&lt;/p&gt;
&lt;p&gt;LMK if you have further questions.&lt;/p&gt;
&lt;p&gt;Good Luck!&lt;/p&gt;
&lt;p&gt;Ming.&lt;/p&gt;
</description></item><item><title>re: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#1733259</link><pubDate>Wed, 21 Feb 2007 09:10:06 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1733259</guid><dc:creator>Shum</dc:creator><description>&lt;p&gt;Hi everybody!!&lt;/p&gt;
&lt;p&gt;I'm trying to connect sql server 2005 on two remote computers and the error that i get is:&lt;/p&gt;
&lt;p&gt;= = = = = = = = = = = = = = = = == = &amp;nbsp;== &amp;nbsp;= =&lt;/p&gt;
&lt;p&gt;A connection was successfully established with the server, but then an error occurred during the login process. (provider: TCP Provider, error: 0 - An existing connection was forcibly closed by the remote host.) (Microsoft SQL Server, Error: 10054)&lt;/p&gt;
&lt;p&gt;= = = = = = = = = = = = = = = = = = = = = = = &lt;/p&gt;
&lt;p&gt;Any idea how it could be resolved.&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
</description></item><item><title>re: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#1747820</link><pubDate>Fri, 23 Feb 2007 18:23:27 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1747820</guid><dc:creator>rob</dc:creator><description>&lt;p&gt;hey, im getting this error&lt;/p&gt;
&lt;p&gt; An error has occurred while establishing a connection to the server. &amp;nbsp;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. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)&lt;/p&gt;
&lt;p&gt;Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.&lt;/p&gt;
&lt;p&gt;Exception Details: System.Data.SqlClient.SqlException: An error has occurred while establishing a connection to the server. &amp;nbsp;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. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)&lt;/p&gt;
&lt;p&gt;my connection string is&lt;/p&gt;
&lt;p&gt; &amp;lt;add name=&amp;quot;siteDBConnectionString&amp;quot; connectionString=&amp;quot;Server=EVOLUTION99\SQLEXPRESS;Persist Security Info=False;Initial Catalog=siteDB;Data Source=siteDB&amp;quot; providerName=&amp;quot;System.Data.SqlClient&amp;quot; /&amp;gt;&lt;/p&gt;
&lt;p&gt;ive enabled the sql browser on the server and tc/ip is open, but i cant get rid of the error. maybe its a connection string problem?&lt;/p&gt;
</description></item><item><title>re: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#1764489</link><pubDate>Mon, 26 Feb 2007 20:55:43 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1764489</guid><dc:creator>SQL Protocols</dc:creator><description>&lt;p&gt;Hi, rob&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;Please check out the following blog regarding connection to sqlexpress, you probably did not enable remote connection for sqlexpress.&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://blogs.msdn.com/sql_protocols/archive/2006/03/23/558651.aspx"&gt;http://blogs.msdn.com/sql_protocols/archive/2006/03/23/558651.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Good Luck!&lt;/p&gt;
&lt;p&gt;Ming&lt;/p&gt;
</description></item><item><title>re: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#1775650</link><pubDate>Wed, 28 Feb 2007 23:47:30 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1775650</guid><dc:creator>JeffT</dc:creator><description>&lt;p&gt;Hi all.&lt;/p&gt;
&lt;p&gt;While closely related, I am not using linked servers. &amp;nbsp;Instead I am trying to use an open rowset command:&lt;/p&gt;
&lt;p&gt;SELECT * FROM OPENROWSET( &lt;/p&gt;
&lt;p&gt; &amp;nbsp;'SQLOLEDB',&lt;/p&gt;
&lt;p&gt;'Server=server-alias;Trusted_Connection=YES;Database=MyDb;Integrated Security=SSPI',&lt;/p&gt;
&lt;p&gt; &amp;nbsp;'Select * From SomeTable') &lt;/p&gt;
&lt;p&gt;This returns the following message:&lt;/p&gt;
&lt;p&gt;OLE DB provider &amp;quot;SQLNCLI&amp;quot; for linked server &amp;quot;(null)&amp;quot; returned message &amp;quot;Communication link failure&amp;quot;.&lt;/p&gt;
&lt;p&gt;Msg 10054, Level 16, State 1, Line 0&lt;/p&gt;
&lt;p&gt;TCP Provider: An existing connection was forcibly closed by the remote host.&lt;/p&gt;
&lt;p&gt;Msg 18452, Level 14, State 1, Line 0&lt;/p&gt;
&lt;p&gt;Login failed for user '(null)'. Reason: Not associated with a trusted SQL Server connection.&lt;/p&gt;
&lt;p&gt;OLE DB provider &amp;quot;SQLNCLI&amp;quot; for linked server &amp;quot;(null)&amp;quot; returned message &amp;quot;Invalid connection string attribute&amp;quot;.&lt;/p&gt;
&lt;p&gt;There are some caveats to this.&lt;/p&gt;
&lt;p&gt;1) I am going from 64 bit 2005 to 32 bit 2000&lt;/p&gt;
&lt;p&gt;2) We are using groups and delegation via AD. &amp;nbsp;There are no SQL logins and no direct access to the DB - only access via a group.&lt;/p&gt;
&lt;p&gt;3) This occurs when people try to run the statement above from thier desktop.&lt;/p&gt;
&lt;p&gt;4) I can fix the problem - for my login only - if I go to the server then run the query from there. &amp;nbsp;After that, when I go back to my desktop it will run fine for that server only.&lt;/p&gt;
&lt;p&gt;5) We are using TCP - unfortunately we can not switch from that.&lt;/p&gt;
&lt;p&gt;6) We are using server aliases.&lt;/p&gt;
&lt;p&gt;I think this is related to the 'double hop' problem, but I am unsure just how to fix it.&lt;/p&gt;
&lt;p&gt;Any help would be GREATLY appreciated!&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
</description></item><item><title>re: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#2249520</link><pubDate>Mon, 23 Apr 2007 22:59:54 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2249520</guid><dc:creator>Josh Coady</dc:creator><description>&lt;p&gt;I have an ASP.Net 2.0 app that is using sql express. Every couple days I get a &amp;quot;Timeout Expired&amp;quot; error message when creating a connection (not when running a query). This never happens on dev machine, just on production server. I am using a named instance of sqlexpress, sample connection string: &amp;quot;Data Source=.\sqlexpress;Database=MyDBName;Trusted_Connection=true;&amp;quot;. This is all running on Win2K3 server under NETWORK SERVICE account. Any ideas?&lt;/p&gt;
&lt;p&gt;Stack trace follows:&lt;/p&gt;
&lt;p&gt;[SqlException (0x80131904): Timeout expired. &amp;nbsp;The timeout period elapsed prior to completion of the operation or the server is not responding.] &amp;nbsp; System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) +734867 &amp;nbsp; System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) +188 &amp;nbsp; System.Data.SqlClient.TdsParserStateObject.ReadSniError(TdsParserStateObject stateObj, UInt32 error) +556 &amp;nbsp; System.Data.SqlClient.TdsParserStateObject.ReadSni(DbAsyncResult asyncResult, TdsParserStateObject stateObj) +164 &amp;nbsp; System.Data.SqlClient.TdsParserStateObject.ReadPacket(Int32 bytesExpected) +34 &amp;nbsp; System.Data.SqlClient.TdsParserStateObject.ReadBuffer() +30 &amp;nbsp; System.Data.SqlClient.TdsParserStateObject.ReadByte() +17 &amp;nbsp; System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) +59 &amp;nbsp; System.Data.SqlClient.SqlInternalConnectionTds.CompleteLogin(Boolean enlistOK) +33 &amp;nbsp; System.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(SqlConnection owningObject, SqlConnectionString connectionOptions, String newPassword, Boolean redirectedUserInstance) +628 &amp;nbsp; System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, Object providerInfo, String newPassword, SqlConnection owningObject, Boolean redirectedUserInstance) +170 &amp;nbsp; System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection) +359 &amp;nbsp; System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnection owningConnection, DbConnectionPool pool, DbConnectionOptions options) +28 &amp;nbsp; System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject) +424 &amp;nbsp; System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject) +66 &amp;nbsp; System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject) +496 &amp;nbsp; System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection) +82 &amp;nbsp; System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory) +105 &amp;nbsp; System.Data.SqlClient.SqlConnection.Open() +111&lt;/p&gt;
</description></item><item><title>free weight loss</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#2526559</link><pubDate>Thu, 10 May 2007 20:21:23 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2526559</guid><dc:creator>Papidusik</dc:creator><description>&lt;p&gt; &amp;lt;a href=&lt;a rel="nofollow" target="_new" href="http://idisk.mac.com/tolsto/Public/weight-loss-cure.html&amp;gt;weight"&gt;http://idisk.mac.com/tolsto/Public/weight-loss-cure.html&amp;gt;weight&lt;/a&gt; loss cure&amp;lt;/a&amp;gt; &amp;nbsp;&lt;/p&gt;
&lt;p&gt; &amp;lt;a href=&lt;a rel="nofollow" target="_new" href="http://idisk.mac.com/tolsto/Public/weight-loss-tips.html&amp;gt;weight"&gt;http://idisk.mac.com/tolsto/Public/weight-loss-tips.html&amp;gt;weight&lt;/a&gt; loss tips&amp;lt;/a&amp;gt; &amp;nbsp;&lt;/p&gt;
</description></item><item><title>re: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#2878689</link><pubDate>Fri, 25 May 2007 22:13:53 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2878689</guid><dc:creator>Tanu</dc:creator><description>&lt;p&gt;Windows updates are scheduled for the server every 15 days. After windows update the machine reboots on its own but sql server does not start. If I reboot the mchine manually sql server starts without any problem. SQL services set to start automatically.&lt;/p&gt;
&lt;p&gt;Can somone tell me what do I need to do to fix this problem.&lt;/p&gt;
&lt;p&gt;Appication Log&lt;/p&gt;
&lt;p&gt;Set AWE Enabled to 1 in the configuration parameters to allow use of more memory.&lt;/p&gt;
&lt;p&gt;FallBack certificate initialization failed with error code: 1.&lt;/p&gt;
&lt;p&gt;Unable to initialize SSL encryption because a valid certificate could not be found, and it is not possible to create a self-signed certificate.&lt;/p&gt;
&lt;p&gt;TDSSNIClient initialization failed with error 0x80092004, status code 0x80.&lt;/p&gt;
&lt;p&gt;TDSSNIClient initialization failed with error 0x80092004, status code 0x1.&lt;/p&gt;
&lt;p&gt;Could not start the network library because of an internal error in the network library. To determine the cause, review the errors immediately preceding this one in the error log.&lt;/p&gt;
&lt;p&gt;SQL Server could not spawn FRunCM thread. Check the SQL Server error log and the Windows event logs for information about possible related problems.&lt;/p&gt;
&lt;p&gt;But when I reboot it manually I got this messages:&lt;/p&gt;
&lt;p&gt;Set AWE Enabled to 1 in the configuration parameters to allow use of more memory.&lt;/p&gt;
&lt;p&gt;A self-generated certificate was successfully loaded for encryption.&lt;/p&gt;
&lt;p&gt;Server local connection provider is ready to accept connection on [ \\.\pipe\SQLLocal\MSSQLSERVER ].&lt;/p&gt;
</description></item><item><title>re: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#3233078</link><pubDate>Mon, 11 Jun 2007 20:35:59 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3233078</guid><dc:creator>SQL Protocols</dc:creator><description>&lt;p&gt;Hi, Tanu&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;This is interesting scenario. Which service account your SQL Server was running under? I suggest you post your question to our security forum:&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://forums.microsoft.com/MSDN/ShowForum.aspx?ForumID=92&amp;amp;SiteID=1"&gt;http://forums.microsoft.com/MSDN/ShowForum.aspx?ForumID=92&amp;amp;SiteID=1&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Good Luck!&lt;/p&gt;
&lt;p&gt;Ming.&lt;/p&gt;
</description></item><item><title>re: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#3546116</link><pubDate>Tue, 26 Jun 2007 16:45:07 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3546116</guid><dc:creator>John F - jbflowersATcomcast.net</dc:creator><description>&lt;p&gt;Hi Ming, this blog is great info, thanks for all your hard work!&lt;/p&gt;
&lt;p&gt;I am getting a very weird error and it is not two machines talking to each other, its a SSIS package trying to load data on the same box, the SSIS pkg uses Win auth and we are TCP - has anyone found a fix for this? &amp;nbsp;its very sporadic but seems to occur when we are trying to load larger amounts of data - any help is greatly appreciated - thanks - Win2K3 64 bit, SQL2005 dev 64 bit SP2, &lt;/p&gt;
&lt;p&gt;here is my error - &lt;/p&gt;
&lt;p&gt;TCP Provider: The specified network name is no longer available. &amp;nbsp;&lt;/p&gt;
&lt;p&gt;Executing the query &amp;quot;execute [usp_NPRInsertFromNPRStagePrev]&amp;quot; failed with the following error: &lt;/p&gt;
&lt;p&gt;&amp;quot;Communication link failure&amp;quot;. Possible failure reasons: Problems with the query, &lt;/p&gt;
&lt;p&gt;&amp;quot;ResultSet&amp;quot; property not set correctly, parameters not set correctly, or connection not established correctly. &amp;nbsp;&lt;/p&gt;
</description></item><item><title>re: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#4392656</link><pubDate>Wed, 15 Aug 2007 03:07:31 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4392656</guid><dc:creator>Kev</dc:creator><description>&lt;p&gt;There's a lot of great information here so I thought I'd try my luck.&lt;/p&gt;
&lt;p&gt;I have a SQL Server 2005 db on machine 'B' which has a linked server to machine 'C'. &amp;nbsp;I have credentials to access 'C' directly and I am able to successfully run queries to the linked server from B. &amp;nbsp;Under the security settings for the linked server I have it set up to impersonate my local login.&lt;/p&gt;
&lt;p&gt;Here's my problem. &amp;nbsp;I have created an ASP application on 'A' that will connect to B and includes a query involving the linked server.&lt;/p&gt;
&lt;p&gt;My connection string is built as follows:&lt;/p&gt;
&lt;p&gt;Server=servername;Initial Catalog=database;Trusted_Connection = Yes&amp;quot;;&lt;/p&gt;
&lt;p&gt;I get the following error message:&lt;/p&gt;
&lt;p&gt;Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'. OLE DB provider &amp;quot;SQLNCLI&amp;quot; for linked server &amp;quot;ldrollup&amp;quot; returned message &amp;quot;Invalid connection string attribute&amp;quot;.&lt;/p&gt;
&lt;p&gt;Since I have mapped my login for the linked server to my login name, why is it using NT AUTHORITY\ANONYMOUS and how do I fix that? &amp;nbsp;It might be worth noting that I have had similar issues using SQL Agent which I have only temporarily resolved by hard coding my user name and password as the owner of SQL Agent.&lt;/p&gt;
&lt;p&gt;Any help would be greatly appreciated!&lt;/p&gt;
</description></item><item><title>re: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#4402749</link><pubDate>Wed, 15 Aug 2007 20:32:11 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4402749</guid><dc:creator>Tushar Patel</dc:creator><description>&lt;p&gt;Go to the SQL Server Network Configuration and make sure the protocols are enabled.&lt;/p&gt;
</description></item><item><title>re: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#4404957</link><pubDate>Thu, 16 Aug 2007 00:06:33 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4404957</guid><dc:creator>Kev</dc:creator><description>&lt;p&gt;The only one that is not enable is 'VIA'. Should that be enabled? What exactly does that protocol do?&lt;/p&gt;
</description></item><item><title>re: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#4476591</link><pubDate>Mon, 20 Aug 2007 12:25:46 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4476591</guid><dc:creator>Gianfranco</dc:creator><description>&lt;p&gt;Hi all, &lt;/p&gt;
&lt;p&gt;here it is another connection issue. &lt;/p&gt;
&lt;p&gt;I am trying to connect a SQL Server 2005 server from an XP machine. From OSQL and a ASPX application, everything goes well; but when I try to connect with SQL Server Management Studio, the program stops responding and seems waiting indefinitely for the connection: no error message is displayed. The same happens trying to connect the SQL Server on the local machine. &lt;/p&gt;
&lt;p&gt;I am using Windows authentication, all protocols are enabled, both the server and the local machine allow remote connections, Windows Firewall is stopped and other collegues have no problem. &lt;/p&gt;
&lt;p&gt;Anyone can help me? &lt;/p&gt;
&lt;p&gt;Thanks in advance, &lt;/p&gt;
&lt;p&gt;Gianfranco&lt;/p&gt;
</description></item><item><title>re: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#4608404</link><pubDate>Tue, 28 Aug 2007 12:51:59 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4608404</guid><dc:creator>Aftab</dc:creator><description>&lt;p&gt;Hi there,&lt;/p&gt;
&lt;p&gt;I didn't have much problem connecting to the server and database but I did however have problem with starting up the Sql Server Agent Service. If you have the same problem you can try getting SQL Server SSIS and install it. Hopefully it will help you out!&lt;/p&gt;
&lt;p&gt;Cheers!&lt;/p&gt;
&lt;p&gt;Aftab&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://www.ComputerVideos.110mb.com/"&gt;http://www.ComputerVideos.110mb.com/&lt;/a&gt;&lt;/p&gt;
</description></item><item><title>re: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#4608406</link><pubDate>Tue, 28 Aug 2007 12:52:19 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4608406</guid><dc:creator>Aftab</dc:creator><description>&lt;p&gt;Hi there,&lt;/p&gt;
&lt;p&gt;I didn't have much problem connecting to the server and database but I did however have problem with starting up the Sql Server Agent Service. If you have the same problem you can try getting SQL Server SSIS and install it. Hopefully it will help you out!&lt;/p&gt;
&lt;p&gt;Cheers!&lt;/p&gt;
&lt;p&gt;Aftab&lt;/p&gt;
</description></item><item><title>re: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#4669407</link><pubDate>Fri, 31 Aug 2007 16:18:24 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4669407</guid><dc:creator>Garick</dc:creator><description>&lt;p&gt;Thanks to this article, I was able to fix a service broker problem.&lt;/p&gt;
</description></item><item><title>
Dot Net Tips and Tricks &amp;raquo; Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#4669502</link><pubDate>Fri, 31 Aug 2007 16:27:20 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4669502</guid><dc:creator>
Dot Net Tips and Tricks » Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://www.nootz.net/index.php/troubleshoot-connectivity-issue-in-sql-server-2005-part-iii.html"&gt;http://www.nootz.net/index.php/troubleshoot-connectivity-issue-in-sql-server-2005-part-iii.html&lt;/a&gt;&lt;/p&gt;
</description></item><item><title>re: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#5167834</link><pubDate>Thu, 27 Sep 2007 16:37:18 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:5167834</guid><dc:creator>Vedran</dc:creator><description>&lt;p&gt;Hi there,&lt;/p&gt;
&lt;p&gt;I've have a strange connection problem. The application is ASP.NET (1.1) and it is connection with no problem on SQL 2005 server (SSPI). Recently we have implemented threading and the problem is that when thread tries to access SQL it fails. It doesn't use correct credentials - the error in SQL is following &amp;quot;SSPI handshake failed with error code 0x8009030c while establishing a connection with integrated security; the connection has been closed&amp;quot;. Do you have any ideas ? We now that it's works when we use SQL user and password is used which has a credentials on database.&lt;/p&gt;
</description></item><item><title>re: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#5180659</link><pubDate>Fri, 28 Sep 2007 09:10:35 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:5180659</guid><dc:creator>nicks</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I am getting the following error can you suggest?&lt;/p&gt;
&lt;p&gt;SSPI handshake failed with error code 0x8009030c while establishing a connection with integrated security; the connection has been closed. [CLIENT: 208.38.82.114&lt;/p&gt;
&lt;p&gt;Nicks&lt;/p&gt;
</description></item><item><title>Troubleshoot Connectivity Issue in SQL Server 2005 Express</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#5426025</link><pubDate>Fri, 12 Oct 2007 20:48:18 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:5426025</guid><dc:creator>Mary Jo</dc:creator><description>&lt;p&gt;I am trying to connect to SQL Server 2005 Express through a command prompt. &amp;nbsp;I have gone through the sites and followed the directions to change my settings to connect remotely but still having issues. &amp;nbsp;Below is my error message:&lt;/p&gt;
&lt;p&gt;SQLState = 08001, NativeError = 2&lt;/p&gt;
&lt;p&gt;Error = [Microsoft][SQL Native ClientNamed Pipes Provider: &amp;nbsp;Could not open a connection to SQL Server [2].&lt;/p&gt;
&lt;p&gt;SQlState = HYT00, NativeError = 0&lt;/p&gt;
&lt;p&gt;Error = [Microsoft][SQL Native Client]Login timed expired&lt;/p&gt;
&lt;p&gt;SQLState = 08001, NativeError = 2&lt;/p&gt;
&lt;p&gt;Error = [Microsoft][SQL Native Client]An error has occured while establishing a connection to the server. &amp;nbsp;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.&lt;/p&gt;
</description></item><item><title>re: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#6705038</link><pubDate>Sat, 08 Dec 2007 17:50:54 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:6705038</guid><dc:creator>seif</dc:creator><description>&lt;p&gt;I'm trying to connect to a local database on the same machine where i run my website.&lt;/p&gt;
&lt;p&gt;when i specify (local) in the datasource i get the target machine actively refused error. When i use my ip address in the datasource i get the &amp;quot;connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond&amp;quot; error.&lt;/p&gt;
&lt;p&gt;By the way, i enabled tcp and named pipes, i had tcp listenning to 1433 port., basically i did everything that could be done here.&lt;/p&gt;
&lt;p&gt;Any help please?&lt;/p&gt;
</description></item><item><title>re: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#6708744</link><pubDate>Sun, 09 Dec 2007 03:12:27 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:6708744</guid><dc:creator>Matt Neerincx (MSFT)</dc:creator><description>&lt;p&gt;Run netstat -aon on the machine to see what IP is bound to port 1433, you could have multiple IPs on the box. &amp;nbsp;Also, the SQL Server ERRORLOG file should list exactly what IPs the server is bound to.&lt;/p&gt;
&lt;p&gt;I recall from vague memories of debugging this code in the past that the server will just bind to all ips available on the machine.&lt;/p&gt;
</description></item><item><title>re: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#6988834</link><pubDate>Sat, 05 Jan 2008 11:20:05 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:6988834</guid><dc:creator>Shreyas</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I have hosted a website on a hosting provider.&lt;/p&gt;
&lt;p&gt;The SQL server data fetching works fine on a page when the page is in the root directory.&lt;/p&gt;
&lt;p&gt;But when I add the page to a subdirectory and access the database, it gives error 26. I am using the same connection string as defined in the web.config..&lt;/p&gt;
&lt;p&gt;Please advise.&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;Shreyas&lt;/p&gt;
</description></item><item><title>re: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#7351030</link><pubDate>Thu, 31 Jan 2008 17:04:08 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7351030</guid><dc:creator>Tintin</dc:creator><description>&lt;p&gt;Hi SQL Team:&lt;/p&gt;
&lt;p&gt;I am developping a website, I can connect to the production database when I debug the website from Visual Studio 2008, But after I deploy the website to my IIS server, I get the error message 1 above(An error has occurred while establishing a connection to the server. &amp;nbsp;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. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)); &amp;nbsp;I try as below:&lt;/p&gt;
&lt;p&gt;1. use the database on internet, in debug mode from Visual Studio 2008, it works fine.&lt;/p&gt;
&lt;p&gt;2. deploy the website, change the database to use an intranet database server, the website works fine.&lt;/p&gt;
&lt;p&gt;3. deploy the website, use the database on internet, it get the error message.&lt;/p&gt;
&lt;p&gt;How can i figure out the error and resolve it?&lt;/p&gt;
</description></item><item><title>re: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#7477901</link><pubDate>Wed, 06 Feb 2008 02:11:10 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7477901</guid><dc:creator>shawn</dc:creator><description>&lt;p&gt;Changing the service &amp;quot;SQL Server (SQLEXPRESS)&amp;quot; from local service to network service fixed the problem for me.&lt;/p&gt;
</description></item><item><title>can't get sqlsrv_ts.dll to connect from IIS server to remote sql srv  </title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#8012142</link><pubDate>Tue, 04 Mar 2008 02:10:11 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8012142</guid><dc:creator>Paul.Richardson@TTU.edu</dc:creator><description>&lt;p&gt;I installed SQL client connectivity tools, and now I got the more traditional (and php team supported 'official') extension called mssql_connect to work, and select/print from tables works ok now with EITHER the odbc_connect or mssql_connect. &amp;nbsp;But I'm still not able to get sqlsrv_connect to work.&lt;/p&gt;
&lt;p&gt;Here is the code I'm trying to use:&lt;/p&gt;
&lt;p&gt;===========//BEGIN QUOTE//==========&lt;/p&gt;
&lt;p&gt;&amp;lt;?php&lt;/p&gt;
&lt;p&gt;/* Specify the server and connection string attributes. */&lt;/p&gt;
&lt;p&gt;$serverName = &amp;quot;(subname.subname2.parent.topname)&amp;quot;;&lt;/p&gt;
&lt;p&gt;/* Get UID and PWD from application-specific files. &amp;nbsp;*/&lt;/p&gt;
&lt;p&gt;$uid = (&amp;quot;myuserid&amp;quot;);&lt;/p&gt;
&lt;p&gt;$pwd = (&amp;quot;mypw&amp;quot;);&lt;/p&gt;
&lt;p&gt;$connectionInfo = array( &amp;quot;UID&amp;quot;=&amp;gt;$uid,&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;quot;PWD&amp;quot;=&amp;gt;$pwd,&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;quot;Database&amp;quot;=&amp;gt;&amp;quot;testdb&amp;quot;);&lt;/p&gt;
&lt;p&gt;/* Connect using SQL Server Authentication. */&lt;/p&gt;
&lt;p&gt;if( !( $conn = sqlsrv_connect( $serverName, $connectionInfo)))&lt;/p&gt;
&lt;p&gt;{&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; echo &amp;quot;Unable to connect.&amp;lt;/br&amp;gt;&amp;quot;;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; die( print_r( sqlsrv_errors(), true));&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;/* Free statement and connection resources. */&lt;/p&gt;
&lt;p&gt;sqlsrv_free_stmt( $stmt);&lt;/p&gt;
&lt;p&gt;sqlsrv_close( $conn);&lt;/p&gt;
&lt;p&gt;?&amp;gt;&lt;/p&gt;
&lt;p&gt;===========//END QUOTE//==========&lt;/p&gt;
&lt;p&gt;Here is the error I get:&lt;/p&gt;
&lt;p&gt;===========//BEGIN QUOTE//==========&lt;/p&gt;
&lt;p&gt;Unable to connect.&lt;/p&gt;
&lt;p&gt;Array ( [0] =&amp;gt; Array ( [0] =&amp;gt; 08001 [SQLSTATE] =&amp;gt; 08001 [1] =&amp;gt; 53 [code] =&amp;gt; 53 [2] =&amp;gt; [Microsoft][SQL Native Client]Named Pipes Provider: Could not open a connection to SQL Server [53]. [message] =&amp;gt; [Microsoft][SQL Native Client]Named Pipes Provider: Could not open a connection to SQL Server [53]. ) [1] =&amp;gt; Array ( [0] =&amp;gt; HYT00 [SQLSTATE] =&amp;gt; HYT00 [1] =&amp;gt; 0 [code] =&amp;gt; 0 [2] =&amp;gt; [Microsoft][SQL Native Client]Login timeout expired [message] =&amp;gt; [Microsoft][SQL Native Client]Login timeout expired ) [2] =&amp;gt; Array ( [0] =&amp;gt; 08001 [SQLSTATE] =&amp;gt; 08001 [1] =&amp;gt; 53 [code] =&amp;gt; 53 [2] =&amp;gt; [Microsoft][SQL Native Client]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. [message] =&amp;gt; [Microsoft][SQL Native Client]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. ) )&lt;/p&gt;
&lt;p&gt;===========//END QUOTE//==========&lt;/p&gt;
&lt;p&gt;I have version 8.00.194 of ntwdblib.dll in sys32 dir and in c:\php\ and IUSR has full control over it.&lt;/p&gt;
&lt;p&gt;At this point, I'm not worried about security, so much as getting this thing to work. &amp;nbsp;I can tighten down later if need be. &amp;nbsp;So I also gave IUSR read/write over the sql server subkey in the registry odbc hive&lt;/p&gt;
</description></item><item><title>re: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#8020570</link><pubDate>Tue, 04 Mar 2008 09:38:18 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8020570</guid><dc:creator>Mugunthan</dc:creator><description>&lt;p&gt;This does not look like an issue particular to php. This looks like a db connectivity issue.&lt;/p&gt;
&lt;p&gt;See this post for troubleshooting connectivity issues:&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=362498&amp;amp;SiteID=1"&gt;http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=362498&amp;amp;SiteID=1&lt;/a&gt;&lt;/p&gt;
</description></item><item><title>re: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#8416354</link><pubDate>Tue, 22 Apr 2008 13:23:12 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8416354</guid><dc:creator>Vivek</dc:creator><description>&lt;p&gt;[MICROSOFT][ODBC SQL SERVER DRIVER][TCP/IP SOCKET]CONNECTIONOPEN (CONNECT()).CONNECTION FAILED&lt;/p&gt;
&lt;p&gt;I'm facing this problem when I configure ODBC in Windows Vista for SQL Server from Windows Sever 2003, where the SQL Server 2000 is installed.&lt;/p&gt;
&lt;p&gt;Please resolve this problem.&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;ViveK&lt;/p&gt;
&lt;p&gt;vivek@bsquareinternational.com&lt;/p&gt;
&lt;p&gt;vivek_l2k@yahoo.com&lt;/p&gt;
</description></item><item><title>re: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#8435771</link><pubDate>Mon, 28 Apr 2008 20:38:28 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8435771</guid><dc:creator>Sanjay</dc:creator><description>&lt;p&gt;hello,&lt;/p&gt;
&lt;p&gt;i have this connection string in web.config file &lt;/p&gt;
&lt;p&gt;&amp;lt;add name=&amp;quot;mycon&amp;quot; connectionString=&amp;quot;Server=localost; Database=\db\test.mdf;uid=&amp;amp;quot;sanjay&amp;amp;quot;; pwd=&amp;amp;quot;rpg007in&amp;amp;quot;&amp;quot;&lt;/p&gt;
&lt;p&gt;providerName=&amp;quot;System.Data.SqlClient&amp;quot; /&amp;gt;&lt;/p&gt;
&lt;p&gt;but in the above connection string i get error&lt;/p&gt;
&lt;p&gt;Cannot open database &amp;quot;\db\test.mdf&amp;quot; requested by the login. The login failed.&lt;/p&gt;
&lt;p&gt;Login failed for user 'snajay'. &lt;/p&gt;
&lt;p&gt;everything in my code is same and its working properly on y local machine but on shard hosting service i am getting this error.&lt;/p&gt;
&lt;p&gt;only change is above conenxcion string.&lt;/p&gt;
&lt;p&gt;my databse was created on my local machine i used ftp to copy it on srver created a db folder under wwwroot while my code behind file is in subdomain &lt;/p&gt;
&lt;p&gt;i am desperately looking for help &lt;/p&gt;
&lt;p&gt;after two days of search i came across ur blog and i finally feel that this is where i will get solution.&lt;/p&gt;
&lt;p&gt;email candychip [at ]gmail.com&lt;/p&gt;
</description></item><item><title>re: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#8620583</link><pubDate>Thu, 19 Jun 2008 10:01:01 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8620583</guid><dc:creator>Somnath Dey</dc:creator><description>&lt;p&gt;Objective: My source database is internet database server which is located by a Ip address. &amp;nbsp;My &lt;/p&gt;
&lt;p&gt;objective is to insert some data from internet database to local machine. Internet database has Windows &lt;/p&gt;
&lt;p&gt;2003 standard Os, and sqlserver 2005 database server and local machine has Windows 2000 standard OS and &lt;/p&gt;
&lt;p&gt;sqlserver 2000 database server. So I write a store procedure in internet database as follows&lt;/p&gt;
&lt;p&gt;-----------------------------------------------------&lt;/p&gt;
&lt;p&gt;exec sp_configure 'remote admin connections',1&lt;/p&gt;
&lt;p&gt;reconfigure&lt;/p&gt;
&lt;p&gt;INSERT INTO [dba\somnath].Webpatentfiling.dbo.patentInventor1 &lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;(INV_NAM,INV_ADD1,INV_ADD2,INV_ADD3,NATIONALITY )&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;select INVENTOR_NAME,INVENTOR_ADDRESS,&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; INVENTOR_STATE,INVENTOR_COUNTRY,INVENTOR_NATIONALITY&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;from OPENDATASOURCE(&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 'SQLOLEDB',&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 'Data Source=123.456.78.555;User ID=sa;Password=mfklj4Y'&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ).Efiling.dbo.TBL_APP_INVENTOR&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; where APP_ID='7'&lt;/p&gt;
&lt;p&gt;At the time of execution the following error msg come &lt;/p&gt;
&lt;p&gt;OLE DB provider &amp;quot;SQLNCLI&amp;quot; for linked server &amp;quot;dba\somnath&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;dba\somnath&amp;quot; returned message&lt;/p&gt;
&lt;p&gt;&amp;quot;An error has occurred while establishing a connection to the server.&lt;/p&gt;
&lt;p&gt; When connecting to SQL Server 2005, this failure may be caused by the fact &lt;/p&gt;
&lt;p&gt;that under the default settings SQL Server does not allow remote connections.&amp;quot;.&lt;/p&gt;
&lt;p&gt;Msg 65535, Level 16, State 1, Line 0&lt;/p&gt;
&lt;p&gt;SQL Network Interfaces: Error Locating Server/Instance Specified [xFFFFFFFF]. &lt;/p&gt;
&lt;p&gt;So give me a solution &lt;/p&gt;
&lt;p&gt;- Somnath Dey &lt;/p&gt;
</description></item><item><title>error 17054 severity 16 state 1 sql server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#8700824</link><pubDate>Mon, 07 Jul 2008 10:43:30 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8700824</guid><dc:creator>error 17054 severity 16 state 1 sql server 2005</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://nayeli.linkmediavideo.info/error17054severity16state1sqlserver2005.html"&gt;http://nayeli.linkmediavideo.info/error17054severity16state1sqlserver2005.html&lt;/a&gt;&lt;/p&gt;
</description></item><item><title>re: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#8769022</link><pubDate>Thu, 24 Jul 2008 12:12:04 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8769022</guid><dc:creator>AlexWCY</dc:creator><description>&lt;p&gt;Can anyone tell me what is the caused of below. I am facing this error, not always....sometime only...&lt;/p&gt;
&lt;p&gt;My production is running Windows Server 2003 and SQL Server 2005.&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: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#8885344</link><pubDate>Thu, 21 Aug 2008 19:22:58 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8885344</guid><dc:creator>cosmosvert</dc:creator><description>&lt;p&gt;Hello,guys,&lt;/p&gt;
&lt;p&gt;I create a package SSIS locally, and there's a SQL task that executes a stocked procedure in ServerA, whoes domain name is AA, and the procedure selects items from a table in ServerB, whoes domain name is BB. The package SSIS failed to execute, and the error message goes like this:&lt;/p&gt;
&lt;p&gt;[Execute SQL Task] Error: Executing the query &amp;quot;exec Procedure_Test&amp;quot; failed with the following error: &amp;quot;Login failed for user '(null)'. Reason: Not associated with a trusted SQL Server connection.&amp;quot;. Possible failure reasons: Problems with the query, &amp;quot;ResultSet&amp;quot; property not set correctly, parameters not set correctly, or connection not established correctly. &lt;/p&gt;
&lt;p&gt;Can anyone tell me how to solve it, please? By the way, I used integrated authentication for the oledb connection.&lt;/p&gt;
&lt;p&gt;Thank you in advance.&lt;/p&gt;
</description></item><item><title>re: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#8886072</link><pubDate>Thu, 21 Aug 2008 23:54:59 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8886072</guid><dc:creator>feliks</dc:creator><description>&lt;p&gt;i have problems connection to my SQL on the server, but not from my remote PC. The error is: &lt;/p&gt;
&lt;p&gt;A connection was successfully established with the server, but then an error occurred during the pre-login handshake. (provider: SSL Provider, error: 0 - The certificate chain was issued by an authority that is not trusted.) (Microsoft SQL Server, Error: -2146893019)&lt;/p&gt;
&lt;p&gt;I can pay $100 if you can fix it&lt;/p&gt;
&lt;p&gt;trakhtenberg@stanford.edu&lt;/p&gt;
</description></item><item><title>re: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#8894270</link><pubDate>Mon, 25 Aug 2008 19:52:03 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8894270</guid><dc:creator>SQL Protocols</dc:creator><description>&lt;p&gt;The problem seems to be with the SSL certificate being used by the server. &amp;nbsp;My guess is:&lt;/p&gt;
&lt;p&gt;1) Your server is loading a self-signed certificate&lt;/p&gt;
&lt;p&gt;2) Your server is not enforcing encryption on inbound connections.&lt;/p&gt;
&lt;p&gt;3) Your remote client machine is not enforcing encryption on outbound connections.&lt;/p&gt;
&lt;p&gt;4) Your server IS enforcing encryption on outbound connections. (this is the source of your problem)&lt;/p&gt;
&lt;p&gt;Since neither side enforces encryption with the remote client, it doesn't need the server to have a trustworthy SSL certificate. &amp;nbsp;But, since the server, when opening an outbound connecting to itself, demands encryption, the server needs to have a trustworthy certificate - it tries to use the self-signed cert, and you get this error.&lt;/p&gt;
&lt;p&gt;If that is the problem, here is a simple solution: disable client-side Force Encryption on the server. &amp;nbsp;On the machine that runs the SQL Server instance, open up the SQL Server Configuration Manager, right-click SQL Native Client Configuration, and set Force Protocol Encryption to No. &amp;nbsp;Then try connecting locally.&lt;/p&gt;
&lt;p&gt;Hope that helps,&lt;/p&gt;
&lt;p&gt;Dan&lt;/p&gt;
</description></item><item><title>re: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#8904604</link><pubDate>Fri, 29 Aug 2008 10:22:52 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8904604</guid><dc:creator>Ray</dc:creator><description>&lt;p&gt;on attempt to login to SQL Server 2005 sp2, standard edition in SSMS OR start &amp;nbsp;in services, resulted in the following:&lt;/p&gt;
&lt;p&gt;&amp;quot;TITLE: Connect to Server&lt;/p&gt;
&lt;p&gt;------------------------------&lt;/p&gt;
&lt;p&gt;Cannot connect to IBMSERVER.&lt;/p&gt;
&lt;p&gt;------------------------------&lt;/p&gt;
&lt;p&gt;ADDITIONAL INFORMATION:&lt;/p&gt;
&lt;p&gt;An error has occurred while establishing a connection to the server. &amp;nbsp;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. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) (Microsoft SQL Server, Error: 2)&lt;/p&gt;
&lt;p&gt;I'm fairly new at this and have spent over 12 hours wading through technet articles that don't apply or don't resolve the issue. &amp;nbsp;SS is configured to listen at port 1433, but if the service won't start, it can't listen, right?&lt;/p&gt;
&lt;p&gt;More details:&lt;/p&gt;
&lt;p&gt;System was working until a couple of days ago, when my external app that access SQL couldn't connect to the db. Attemted to login to SSMS under user sa (SQL authentication), but got the above error message. &amp;nbsp;Attempts to login w/ Windows authentication also failed. &amp;nbsp;&lt;/p&gt;
&lt;p&gt;SQL Server 2005 is running under Windows Server 2008 on Virtual PC 2007 with all latest updates.&lt;/p&gt;
&lt;p&gt;My busines depends on this working, &amp;amp; I don't know where to go from here. &amp;nbsp;Can some bright guru provide some direction on what to check next?&lt;/p&gt;
&lt;p&gt;raymillr[AT(change to @)]gate.net&lt;/p&gt;
</description></item><item><title>re: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#8906105</link><pubDate>Fri, 29 Aug 2008 21:12:23 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8906105</guid><dc:creator>SQL Protocols</dc:creator><description>&lt;p&gt;Hi Ray,&lt;/p&gt;
&lt;p&gt; &amp;nbsp;From the error message and the scenario you describe, I expect that your SQL Server service isn't started (you mentioned something about it not being started as well). &amp;nbsp;You can start the service from services.msc. &amp;nbsp;It will be named something like &amp;quot;SQL Server (MSSQLSERVER)&amp;quot; (if it is a named instance, replace MSSQLSERVER with the name of your instance).&lt;/p&gt;
&lt;p&gt;If your service won't start, post the error message you receive when you try to start it, and if there is a new ERRORLOG file generated at %ProgramFiles%\Microsoft SQL Server\INSTANCE\MSSQL\Log\, get that and post the errors from the ERRORLOG file.&lt;/p&gt;
&lt;p&gt;Also, just FYI, you'll generally get a better/faster response on the SQL Server Data Access forum (&lt;a rel="nofollow" target="_new" href="http://forums.microsoft.com/msdn/ShowForum.aspx?siteid=1&amp;amp;ForumID=87"&gt;http://forums.microsoft.com/msdn/ShowForum.aspx?siteid=1&amp;amp;ForumID=87&lt;/a&gt;) than on our blog.&lt;/p&gt;
&lt;p&gt;Hope this helps,&lt;/p&gt;
&lt;p&gt;Dan&lt;/p&gt;
</description></item><item><title>re: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#8936748</link><pubDate>Tue, 09 Sep 2008 17:57:37 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8936748</guid><dc:creator>Prasad</dc:creator><description>&lt;p&gt;I am developing an application in VB 2008 which uses SQL Server 2005 database. The application is running perfectly well on the development server and I can execute my options and update tables like Product Master, etc. When I build the project and install it on another machine, I get the following error:&lt;/p&gt;
&lt;p&gt;&amp;quot;SQL Server does not allow reote connections. (provider SQL Network Interfaces. error 26 - Error locating server / instance specified)&amp;quot;&lt;/p&gt;
</description></item><item><title>re: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#8937197</link><pubDate>Tue, 09 Sep 2008 21:30:31 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8937197</guid><dc:creator>SQL Protocols</dc:creator><description>&lt;p&gt;Prasad, &lt;/p&gt;
&lt;p&gt;Can you make sure your connection string is updated correctly on the new machine? Please refer to &lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://blogs.msdn.com/sql_protocols/archive/2007/05/13/sql-network-interfaces-error-26-error-locating-server-instance-specified.aspx"&gt;http://blogs.msdn.com/sql_protocols/archive/2007/05/13/sql-network-interfaces-error-26-error-locating-server-instance-specified.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;for the specific error. &lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Xinwei&lt;/p&gt;
</description></item><item><title>re: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#8941142</link><pubDate>Wed, 10 Sep 2008 19:47:44 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8941142</guid><dc:creator>Prasad</dc:creator><description>&lt;p&gt;I am a newbie. How do I update the connection string.&lt;/p&gt;
&lt;p&gt;I am well and truly stuck.&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;
</description></item><item><title>re: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#8954399</link><pubDate>Wed, 17 Sep 2008 00:05:35 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8954399</guid><dc:creator>Sidney Benetti</dc:creator><description>&lt;p&gt;Thanks, it solved my &amp;quot;error 26&amp;quot;&lt;/p&gt;
</description></item><item><title>re: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#8958501</link><pubDate>Fri, 19 Sep 2008 12:44:33 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8958501</guid><dc:creator>Mahesh K</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;I have installed SQL Server 2005 on a Vista Business. I am able to connect to SQL Server instance on Vista machine from Management Studio on other machine (Running on Xp).&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;But I am not able to connect to Analysis Services default instance on Vista Business machine from Management Studio on other machine (Running on Xp).&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;I did all settings with Vista firewall exceptions, SQL Surface area configuration, Security, everything.&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;Please tell me do I need to modify something else on 'Vista Business'.&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;Thank you.&lt;/p&gt;
</description></item><item><title>re: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#8968038</link><pubDate>Sun, 28 Sep 2008 17:04:30 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8968038</guid><dc:creator>NB</dc:creator><description>&lt;p&gt;I have problem in connecting to remote SQL Express instance, when Windows firewall is enabled:&lt;/p&gt;
&lt;p&gt;1. It's a Workgroup environment&lt;/p&gt;
&lt;p&gt;2. I can connect through remote desktop when firewall is enabled.&lt;/p&gt;
&lt;p&gt;3. I can connect when I disable the Windows firewall&lt;/p&gt;
&lt;p&gt;4. Port 1433 is added in exceptions&lt;/p&gt;
&lt;p&gt;5. SQlserver.exe and SQLbroswers are added in execeptions&lt;/p&gt;
&lt;p&gt;What am I missing?&lt;/p&gt;
&lt;p&gt;Thank you&lt;/p&gt;
</description></item><item><title>re: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#8968039</link><pubDate>Sun, 28 Sep 2008 17:06:49 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8968039</guid><dc:creator>NB</dc:creator><description>&lt;p&gt;Correction:&lt;/p&gt;
&lt;p&gt;2. I can connect through remote desktop when firewall is DISabled.&lt;/p&gt;
&lt;p&gt;Therefore its only a forewall problem.&lt;/p&gt;
</description></item><item><title>re: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#8992227</link><pubDate>Thu, 09 Oct 2008 02:16:27 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8992227</guid><dc:creator>Chris</dc:creator><description>&lt;p&gt;its win 2003 64bit cluster with sql 2005 sp2 std ed 64 bit. SQL is running fine on one node but failing on another.. while checking agent seems to have problems.. i have disabled shared memory now but still problem is there. I did enable AgentXps but no luck.. &lt;/p&gt;
&lt;p&gt;2008-10-09 00:23:40 - ? [393] Waiting for SQL Server to recover databases...&lt;/p&gt;
&lt;p&gt;2008-10-09 00:23:40 - ! [298] SQLServer Error: 50, Shared Memory Provider: Shared Memory is not supported for clustered server connectivity [50]. [SQLSTATE 08001] &lt;/p&gt;
&lt;p&gt;2008-10-09 00:23:40 - ! [165] ODBC Error: 0, Protocol error in TDS stream [SQLSTATE HY000] &lt;/p&gt;
&lt;p&gt;2008-10-09 00:23:40 - ! [298] SQLServer Error: 50, Client unable to establish connection due to prelogin failure [SQLSTATE 08001] &lt;/p&gt;
&lt;p&gt;2008-10-09 00:23:40 - ! [000] Unable to connect to server '(local)'; SQLServerAgent cannot start&lt;/p&gt;
&lt;p&gt;2008-10-09 00:23:40 - ! [298] SQLServer Error: 50, Shared Memory Provider: Shared Memory is not supported for clustered server connectivity [50]. [SQLSTATE 08001] &lt;/p&gt;
&lt;p&gt;2008-10-09 00:23:40 - ! [165] ODBC Error: 0, Protocol error in TDS stream [SQLSTATE HY000] &lt;/p&gt;
&lt;p&gt;2008-10-09 00:23:40 - ! [298] SQLServer Error: 50, Client unable to establish connection due to prelogin failure [SQLSTATE 08001] &lt;/p&gt;
&lt;p&gt;2008-10-09 00:23:40 - ! [382] Logon to server '(local)' failed (DisableAgentXPs)&lt;/p&gt;
&lt;p&gt;2008-10-09 00:23:41 - ? [098] SQLServerAgent terminated (normally)&lt;/p&gt;
</description></item><item><title>re: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#9180256</link><pubDate>Fri, 05 Dec 2008 18:10:05 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9180256</guid><dc:creator>Gary Tsiang</dc:creator><description>&lt;p&gt;My new SQL Server 2005 instance shuts down every day at 3:00am but I don't recall ever setting anything to do so. I would prefer not having to manually restart this every morning. How do I correct this?&lt;/p&gt;
&lt;p&gt;All I see in the error log is this:&lt;/p&gt;
&lt;p&gt;2006-05-13 02:30:22.82 spid11s &amp;nbsp; &amp;nbsp; Service Broker manager has shut down.&lt;/p&gt;
&lt;p&gt;2006-05-13 02:30:22.83 spid5s &amp;nbsp; &amp;nbsp; &amp;nbsp;SQL Server is terminating in response to a 'stop' request from Service Control Manager. This is an informational message only. No user action is required.&lt;/p&gt;
&lt;p&gt;2006-05-13 02:30:22.83 spid5s &amp;nbsp; &amp;nbsp; &amp;nbsp;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;
</description></item><item><title>re: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#9180446</link><pubDate>Fri, 05 Dec 2008 21:06:17 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9180446</guid><dc:creator>Matt Neerincx (MSFT)</dc:creator><description>&lt;p&gt;SQL does not have an &amp;quot;auto shutdown&amp;quot; feature.&lt;/p&gt;
&lt;p&gt;I suspect you have automatic Windows Updates turned on any Windows is rebooting. &amp;nbsp;You can verify by scanning event log (Start| Run -&amp;gt; eventvwr) &amp;nbsp;If you see a Windows Update event prior to your shutdown that's probably the cause.&lt;/p&gt;
&lt;p&gt;Recommendation is turn off automatic Windows Updates and use download automatically feature (but do not apply updates). &amp;nbsp;This way you can precisely schedule when to apply updates and reboot.&lt;/p&gt;
</description></item><item><title>re: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#9180506</link><pubDate>Fri, 05 Dec 2008 22:10:21 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9180506</guid><dc:creator>Gary Tsiang</dc:creator><description>&lt;p&gt;Thanks -- I just checked the Windows Event Log and found that, right after SQL Server shuts down, MSInstaller kicks off and tries to install/update SQL Server automatically (I think). Here are the log file messages at this point:&lt;/p&gt;
&lt;p&gt;* Product: Microsoft SQL Server 2005 -- Install started.&lt;/p&gt;
&lt;p&gt;* Product: Microsoft SQL Server 2005 -- Error 29528. The setup has encountered an unexpected error while Setting Internal Properties. The error is: Fatal error during installation.&lt;/p&gt;
&lt;p&gt;* Product: Microsoft SQL Server 2005 - Update 'GDR 3068 for SQL Server Database Services 2005 ENU (KB948109)' could not be installed. Error code 1603. Additional information is available in the log file C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\LOG\Hotfix\SQL9_Hotfix_KB948109_sqlrun_sql.msp.log.&lt;/p&gt;
&lt;p&gt;* Product: Microsoft SQL Server 2005 -- Configuration failed.&lt;/p&gt;
&lt;p&gt;* Product: Microsoft SQL Server 2005 Analysis Services -- Install started.&lt;/p&gt;
&lt;p&gt;* Product: Microsoft SQL Server 2005 Analysis Services -- Error 29528. The setup has encountered an unexpected error while Setting Internal Properties. The error is: Fatal error during installation.&lt;/p&gt;
&lt;p&gt;* Product: Microsoft SQL Server 2005 Analysis Services - Update 'GDR 3068 for SQL Server Analysis Services 2005 ENU (KB948109)' could not be installed. Error code 1603. Additional information is available in the log file C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\LOG\Hotfix\OLAP9_Hotfix_KB948109_sqlrun_as.msp.log.&lt;/p&gt;
&lt;p&gt;* Product: Microsoft SQL Server 2005 Analysis Services -- Configuration failed.&lt;/p&gt;
&lt;p&gt;* .NET Runtime Optimization Service (clr_optimization_v2.0.50727_32) - Completed all work. Shutting down.&lt;/p&gt;
&lt;p&gt;Does this mean an auto-update flag for SQL Server is set somewhere? If so, why would it be failing every night? Again, I don't remember setting anything to do this but I guess I could have.&lt;/p&gt;
</description></item><item><title>re: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#9180605</link><pubDate>Fri, 05 Dec 2008 23:32:02 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9180605</guid><dc:creator>Gary Tsiang</dc:creator><description>&lt;p&gt;Ok, I did find the Windows Update section and it was indeed set to download and install every night at 3:00am. I reset it to just download and prompt me. I'm thinking that this still doesn't explain why the downloads fail though. I'll let this run through first and see what happens when I manually intervene going forward. Thanks again!&lt;/p&gt;
</description></item><item><title>re: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#9256191</link><pubDate>Tue, 30 Dec 2008 00:24:01 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9256191</guid><dc:creator>MP</dc:creator><description>&lt;p&gt;I see the following error in the event viewer of the SQL 2005 server. This is happening every day at between certain time interval. Please help. Thanks in advance&lt;/p&gt;
&lt;p&gt;Server local connection provider has stopped listening on [ \\.\pipe\SQLLocal\MSSQLSERVER ] due to a failure. Error: 0xe8, state: 4. The server will automatically attempt to re-establish listening.&lt;/p&gt;
</description></item><item><title>It might be the firewall</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#9257131</link><pubDate>Tue, 30 Dec 2008 17:31:19 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9257131</guid><dc:creator>Blogger</dc:creator><description>&lt;p&gt;It might be the firewall:&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://dotnetnotforcompletedummies.blogspot.com/2008/12/its-firewall.html"&gt;http://dotnetnotforcompletedummies.blogspot.com/2008/12/its-firewall.html&lt;/a&gt;&lt;/p&gt;
</description></item><item><title>Error during connecting MSSQL 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#9278592</link><pubDate>Mon, 05 Jan 2009 12:05:39 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9278592</guid><dc:creator>bolivar1985</dc:creator><description>&lt;p&gt;Good Day to all,&lt;/p&gt;
&lt;p&gt;I really need your advice guys,&lt;/p&gt;
&lt;p&gt;anyway my problem is that i installed PHP4, MSSQL2005, and using IIS6 in Windows 2003 Server&lt;/p&gt;
&lt;p&gt;I have no problems in the installation, but when i tried to connect to MSSQL an error would appear, error below:&lt;/p&gt;
&lt;p&gt;mssql_connect(): message: Login failed for user 'sa'. The user is not associated with a trusted SQL Server Connection.&lt;/p&gt;
&lt;p&gt;and also this&lt;/p&gt;
&lt;p&gt;mssql_connect(): message: unable to connect to server: KPSWEB1&lt;/p&gt;
&lt;p&gt;KPSWEB1 is the name of the MSSQL Server.&lt;/p&gt;
&lt;p&gt;Please help...&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
</description></item><item><title>re: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#9284118</link><pubDate>Tue, 06 Jan 2009 02:27:04 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9284118</guid><dc:creator>SQL Protocols</dc:creator><description>&lt;p&gt;MP, &lt;/p&gt;
&lt;p&gt;Do you see any issue with this behavior? It looks like a client made a NP connection to the server after the Pipe is created, but before it's ready to accept connection. When we try to setup things to accept connection, we could re-active the existing client connection and thing would be OK. However, looks like in your case, client closed the connection before everything is ready and we logged this error. The server is robust to create another pipe to accept new connections after this. You can verify if this is the case by using Netmon to see how the NP connection is opened/closed. &lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Xinwei&lt;/p&gt;
</description></item><item><title>re: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#9284187</link><pubDate>Tue, 06 Jan 2009 02:45:07 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9284187</guid><dc:creator>SQL Protocols</dc:creator><description>&lt;p&gt;bolivar1985, &lt;/p&gt;
&lt;p&gt;Looks like you have only Windows Auth. Can make sure SQL Authentication is enabled? &lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://msdn.microsoft.com/en-us/library/ms188670.aspx"&gt;http://msdn.microsoft.com/en-us/library/ms188670.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: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#9284620</link><pubDate>Tue, 06 Jan 2009 07:52:49 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9284620</guid><dc:creator>bolivar1985</dc:creator><description>&lt;p&gt;Xinwei,&lt;/p&gt;
&lt;p&gt;Thanks, i will try your suggestion...&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Bolivar1985&lt;/p&gt;
</description></item><item><title>re: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#9301146</link><pubDate>Fri, 09 Jan 2009 04:58:55 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9301146</guid><dc:creator>Bolivar1985</dc:creator><description>&lt;p&gt;Xinwei,&lt;/p&gt;
&lt;p&gt;It works, thank you, i just reinstalled MSSQL2005 Standard edition, then chose the mixed mode, and it run, using mssql_connect(),&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Bolivar1985&lt;/p&gt;
</description></item><item><title>re: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#9302201</link><pubDate>Fri, 09 Jan 2009 19:51:07 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9302201</guid><dc:creator>Tasleem</dc:creator><description>&lt;p&gt;I have installed SQL server 2005 on my system (Window Vista Home Premium). However, I am getting error messgae when I try to connect. The message is &amp;quot;Cannot connect to ... Login failed for user ... error:18456&amp;quot;. I have selected Windows Authentication mode during installation. Can any body help?&lt;/p&gt;
</description></item><item><title>re: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#9321271</link><pubDate>Thu, 15 Jan 2009 20:59:07 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9321271</guid><dc:creator>Enzo</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I'm experiencing an issue trying to setup an ODBC connection on a Windowns 2003 Server(64 bit)using SQL server 2005(64 bit). &lt;/p&gt;
&lt;p&gt;It is a 32 bit application that will be using the ODBC datasource, so I am using the ODBC administrator located in C:\Windows\SysWOW64\odbcad32.exe.&lt;/p&gt;
&lt;p&gt;However, I am receiving the Microsoft SQL Server Login errors indicating:&lt;/p&gt;
&lt;p&gt;Connection failed:&lt;/p&gt;
&lt;p&gt;SQLState: '08001'&lt;/p&gt;
&lt;p&gt;SQL Server Error: 64&lt;/p&gt;
&lt;p&gt;[Microsoft][SQL Native Client]TCP Provider: The specified network name is no longer available.&lt;/p&gt;
&lt;p&gt;Connection failed:&lt;/p&gt;
&lt;p&gt;SQLState: '08001'&lt;/p&gt;
&lt;p&gt;SQL Server Error: 64&lt;/p&gt;
&lt;p&gt;[Microsoft][SQL Native Client]Client unable to establish connection&lt;/p&gt;
&lt;p&gt;Any assistance you can provide would be greatly appreciated.&lt;/p&gt;
</description></item><item><title>Error al querer conectar una base de datos | hilpers</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#9350601</link><pubDate>Tue, 20 Jan 2009 22:58:24 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9350601</guid><dc:creator>Error al querer conectar una base de datos | hilpers</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://www.hilpers-esp.com/404764-error-al-querer-conectar-una"&gt;http://www.hilpers-esp.com/404764-error-al-querer-conectar-una&lt;/a&gt;&lt;/p&gt;
</description></item><item><title>error 40 | keyongtech</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#9360989</link><pubDate>Thu, 22 Jan 2009 04:12:44 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9360989</guid><dc:creator>error 40 | keyongtech</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://www.keyongtech.com/2079472-error-40-a"&gt;http://www.keyongtech.com/2079472-error-40-a&lt;/a&gt;&lt;/p&gt;
</description></item><item><title>re: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#9385642</link><pubDate>Sat, 31 Jan 2009 05:03:58 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9385642</guid><dc:creator>Karthik Vijayakumar</dc:creator><description>&lt;p&gt;Out of nowhere, we got this error and are trying to figure out what the issue is.&lt;/p&gt;
&lt;p&gt;OLE DB provider &amp;quot;SQLNCLI&amp;quot; for linked server &amp;quot;&amp;lt;server name&amp;gt;&amp;quot; returned message &amp;quot;Communication link failure&amp;quot;.&lt;/p&gt;
&lt;p&gt;Msg 64, Level 16, State 1, Line 0&lt;/p&gt;
&lt;p&gt;TCP Provider: The specified network name is no longer available.&lt;/p&gt;
&lt;p&gt;Any help would be greatly appreciated.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;KV&lt;/p&gt;
</description></item><item><title>re: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#9388527</link><pubDate>Sun, 01 Feb 2009 20:09:43 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9388527</guid><dc:creator>Anand</dc:creator><description>&lt;p&gt;Bad public user name or password. Database Server Error: Named Pipes Provider: Could not open a connection to SQL Server [53].&lt;/p&gt;
&lt;p&gt;I am getting this message on installing Primavera &lt;/p&gt;
&lt;p&gt;Can anybody help me...?&lt;/p&gt;
&lt;p&gt;anandc1@gmail.com&lt;/p&gt;
</description></item><item><title>re: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#9445367</link><pubDate>Thu, 26 Feb 2009 05:49:32 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9445367</guid><dc:creator>Paul</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I am building a SQL 2008 cluster. On the initial node that I ran the install on, SQL is running fine. However, whenever I try to fail it over, I am receiving these messages in the event viewer:&lt;/p&gt;
&lt;p&gt;FallBack certificate initialization failed with error code: 1.&lt;/p&gt;
&lt;p&gt;I do not want to use certificates. Is there any way I can bypass this?&lt;/p&gt;
</description></item><item><title>re: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#9484239</link><pubDate>Tue, 17 Mar 2009 20:49:14 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9484239</guid><dc:creator>Barbara Johnson</dc:creator><description>&lt;p&gt;Help!!! &amp;nbsp;We are getting the following message on a SQL Server 2005 box. &amp;nbsp;I could find anyone else who has had this problem.&lt;/p&gt;
&lt;p&gt;A connection was successfully established with the server, but then an error occurred during the pre-login handshake. (provider: SSL Provider, error: 0 - The client and server cannot communicate, because they do not possess a common algorithm.)&lt;/p&gt;
</description></item><item><title>re: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#9484585</link><pubDate>Tue, 17 Mar 2009 22:46:53 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9484585</guid><dc:creator>Barbara Johnson</dc:creator><description>&lt;p&gt;Our problem has been resolved. &amp;nbsp;Someone had made some SSL registry changes which affected SQL Server and other applications.&lt;/p&gt;
</description></item><item><title>re: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#9490014</link><pubDate>Thu, 19 Mar 2009 17:16:13 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9490014</guid><dc:creator>Andrew Fiebert</dc:creator><description>&lt;p&gt;I have a very unique issue related to Error: 26 - Error Locating Server/Instance Specified, I am hoping that your expertise may help.&lt;/p&gt;
&lt;p&gt;I have a cluster running SQL Server with two instances, listening on ports 2300 and 2305. Connecting to the instances within the network works fine by either using VSPHOST1A\PHOST1A or VSPHOST1A,2300. I can also from within the network use VSPHOST1A.name1.name2.name3.com\PHOST1A or VSPHOST1A.name1.name2.name3.com,2300. &lt;/p&gt;
&lt;p&gt;The problem is I can not access the SQL Server from another domain/network (within the same company) using the fully qualified name\PHOST1A, it only works with the port. I am however able to get both methods under the fully qualified name to work with non clustered instances. It is definitely cluster-related, any thoughts?&lt;/p&gt;
&lt;p&gt;Thanks!!&lt;/p&gt;
</description></item><item><title>re: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#9502115</link><pubDate>Mon, 23 Mar 2009 21:21:26 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9502115</guid><dc:creator>SQL Protocols</dc:creator><description>&lt;p&gt;Hi Andrew,&lt;/p&gt;
&lt;p&gt; &amp;nbsp;It sounds like you very likely have the problem discussed on this blog entry: &lt;a rel="nofollow" target="_new" href="http://blogs.msdn.com/sql_protocols/archive/2006/02/27/unable-to-connect-to-a-sql-server-named-instance-on-a-cluster.aspx"&gt;http://blogs.msdn.com/sql_protocols/archive/2006/02/27/unable-to-connect-to-a-sql-server-named-instance-on-a-cluster.aspx&lt;/a&gt;&lt;/p&gt;
</description></item><item><title>re: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#9601513</link><pubDate>Mon, 11 May 2009 08:43:54 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9601513</guid><dc:creator>shahrbano</dc:creator><description>&lt;p&gt;MMC cannot open the file c:\program files\microsoft sql server \80\toolse\binn\sql srver enterprise manager.msc &lt;/p&gt;
</description></item><item><title> SQL Protocols Troubleshoot Connectivity Issue in SQL Server 2005 | Shed Kits</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#9643325</link><pubDate>Wed, 27 May 2009 06:50:36 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9643325</guid><dc:creator> SQL Protocols Troubleshoot Connectivity Issue in SQL Server 2005 | Shed Kits</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://backyardshed.info/story.php?title=sql-protocols-troubleshoot-connectivity-issue-in-sql-server-2005"&gt;http://backyardshed.info/story.php?title=sql-protocols-troubleshoot-connectivity-issue-in-sql-server-2005&lt;/a&gt;&lt;/p&gt;
</description></item><item><title> SQL Protocols Troubleshoot Connectivity Issue in SQL Server 2005 | Green Tea Fat Burner</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#9706835</link><pubDate>Mon, 08 Jun 2009 05:34:03 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9706835</guid><dc:creator> SQL Protocols Troubleshoot Connectivity Issue in SQL Server 2005 | Green Tea Fat Burner</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://greenteafatburner.info/story.php?id=1584"&gt;http://greenteafatburner.info/story.php?id=1584&lt;/a&gt;&lt;/p&gt;
</description></item><item><title>re: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#9841492</link><pubDate>Mon, 20 Jul 2009 15:19:01 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9841492</guid><dc:creator>Monichan</dc:creator><description>&lt;p&gt;Hi &lt;/p&gt;
&lt;p&gt;If you wants to know how to enable remote connections&lt;/p&gt;
&lt;p&gt;in sql server 2005 pls visit this&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://aspnetmembershipprovider.blogspot.com/2009/02/eanble-remote-connections-on-instance.html"&gt;http://aspnetmembershipprovider.blogspot.com/2009/02/eanble-remote-connections-on-instance.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
</description></item><item><title>Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#9844967</link><pubDate>Wed, 22 Jul 2009 19:29:13 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9844967</guid><dc:creator>Rui Silva - Portugal</dc:creator><description>&lt;p&gt;Solution:&lt;/p&gt;
&lt;p&gt;After many tries in diferent ways we found the solution in simply change the connection string in the web config file. We take out:&lt;/p&gt;
&lt;p&gt;&amp;quot;Persisty security Info=True; User ID=theuser; Password=thepass&amp;quot; &lt;/p&gt;
&lt;p&gt;and simply keep:&lt;/p&gt;
&lt;p&gt;&amp;lt;add name=&amp;quot;TheLocalNet&amp;quot; connectionString=&amp;quot;Data Source=theserver;Initial Catalog=theDataBase;Integrated Security=True&amp;quot; providerName=&amp;quot;System.Data.SqlClient&amp;quot;/&amp;gt;&lt;/p&gt;
</description></item><item><title>re: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#9890216</link><pubDate>Wed, 02 Sep 2009 07:46:59 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9890216</guid><dc:creator>Tejas software</dc:creator><description>&lt;p&gt;TITLE: Microsoft SQL Server Management Studio&lt;/p&gt;
&lt;p&gt;------------------------------&lt;/p&gt;
&lt;p&gt;Failed to retrieve data for this request. (Microsoft.SqlServer.SmoEnum)&lt;/p&gt;
&lt;p&gt;For help, click: &lt;a rel="nofollow" target="_new" href="http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&amp;amp;LinkId=20476"&gt;http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&amp;amp;LinkId=20476&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;------------------------------&lt;/p&gt;
&lt;p&gt;ADDITIONAL INFORMATION:&lt;/p&gt;
&lt;p&gt;Failed to connect to server 192.168.0.1. (Microsoft.SqlServer.ConnectionInfo)&lt;/p&gt;
&lt;p&gt;------------------------------&lt;/p&gt;
&lt;p&gt;A connection was successfully established with the server, but then an error occurred during the login process. (provider: TCP Provider, error: 0 - The specified network name is no longer available.) (Microsoft SQL Server, Error: 64)&lt;/p&gt;
&lt;p&gt;For help, click: &lt;a rel="nofollow" target="_new" href="http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&amp;amp;EvtSrc=MSSQLServer&amp;amp;EvtID=64&amp;amp;LinkId=20476"&gt;http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&amp;amp;EvtSrc=MSSQLServer&amp;amp;EvtID=64&amp;amp;LinkId=20476&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;------------------------------&lt;/p&gt;
&lt;p&gt;BUTTONS:&lt;/p&gt;
&lt;p&gt;OK&lt;/p&gt;
&lt;p&gt;------------------------------&lt;/p&gt;
</description></item><item><title>re: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#9890890</link><pubDate>Thu, 03 Sep 2009 16:51:49 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9890890</guid><dc:creator>Helen</dc:creator><description>&lt;p&gt;Hi Ming,&lt;/p&gt;
&lt;p&gt;I am getting this error when trying to connect to SQL server 2008 server&lt;/p&gt;
&lt;p&gt;OLEDB Provider for ODBC Drivers: [Microsoft][ODBC SQL Server Driver]Timeoutexpired &lt;/p&gt;
&lt;p&gt;Any suggestions/ideas, please?&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;Helen&lt;/p&gt;
</description></item><item><title>re: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#9900925</link><pubDate>Tue, 29 Sep 2009 21:49:58 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9900925</guid><dc:creator>Reader_ManZZ2@yahoo.co.uk</dc:creator><description>&lt;p&gt;Guss what, i tried everything i saw for errors 26, 28, 40 when they come to me but as if magically they get solved until i suspected in my ADSL modem that i use for DSL internet and that has in it a switch of 4 ports, so i connected my development computer to a new switch and connected to it also the SQL Server workstation, and voila everything worked perfect from the start, the strange thing that when i was on the old ADSL modem, i can make file sharing and copy files but i can't connect to SQL Server.&lt;/p&gt;
&lt;p&gt;So i suggest that the last step after the above is to check if changing the switch make the connection work or not.&lt;/p&gt;
</description></item><item><title>re: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#9901767</link><pubDate>Thu, 01 Oct 2009 13:25:20 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9901767</guid><dc:creator>agnainx@msn.com</dc:creator><description>&lt;p&gt;Hi, &lt;/p&gt;
&lt;p&gt;I have the Error Message 2. SQL Server was working since about 2 years and this morning it just stopped to work.&lt;/p&gt;
&lt;p&gt;I tried everything, even to uninstall then reinstall but now it can't be reinstalled because I have the same error when I tries to connect to configure the server.&lt;/p&gt;
&lt;p&gt;I really really need help.&lt;/p&gt;
</description></item><item><title>re: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#9921631</link><pubDate>Thu, 12 Nov 2009 23:18:54 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9921631</guid><dc:creator>Benjamin</dc:creator><description>&lt;p&gt;Hi, I can access my sql server from my laptop, but can not do it from desktop. &amp;nbsp;Following is the error message. &amp;nbsp;I turned off firewall on sqlserver and sqlbrower is running. &lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;-Benjamin &lt;/p&gt;
&lt;p&gt;TITLE: Connect to Server&lt;/p&gt;
&lt;p&gt;------------------------------&lt;/p&gt;
&lt;p&gt;Cannot connect to XYCOMVMEPC\SQLEXPRESS.&lt;/p&gt;
&lt;p&gt;------------------------------&lt;/p&gt;
&lt;p&gt;ADDITIONAL INFORMATION:&lt;/p&gt;
&lt;p&gt;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) (Microsoft SQL Server, Error: -1)&lt;/p&gt;
&lt;p&gt;For help, click: &lt;a rel="nofollow" target="_new" href="http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&amp;amp;EvtSrc=MSSQLServer&amp;amp;EvtID=-1&amp;amp;LinkId=20476"&gt;http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&amp;amp;EvtSrc=MSSQLServer&amp;amp;EvtID=-1&amp;amp;LinkId=20476&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;------------------------------&lt;/p&gt;
&lt;p&gt;BUTTONS:&lt;/p&gt;
&lt;p&gt;OK&lt;/p&gt;
&lt;p&gt;------------------------------&lt;/p&gt;
</description></item><item><title>re: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#9927817</link><pubDate>Tue, 24 Nov 2009 08:48:09 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9927817</guid><dc:creator>RANJITH</dc:creator><description>&lt;p&gt;hi ming.. plz help me i am getting this error.. i am using sql server management express studio.. i was occupied to clear this error for 2 days.. plz help me..&lt;/p&gt;
&lt;p&gt;Cannot open database &amp;quot;cms&amp;quot; requested by the login. The login failed.&lt;/p&gt;
&lt;p&gt;Login failed for user 'SYSTEM2\IUSR_SYSTEM2'. &lt;/p&gt;
&lt;p&gt; &amp;nbsp; thanks &lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;ranjith&lt;/p&gt;
</description></item><item><title>re: Troubleshoot Connectivity Issue in SQL Server 2005 - Part III</title><link>http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx#9930506</link><pubDate>Tue, 01 Dec 2009 01:51:33 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9930506</guid><dc:creator>BAO</dc:creator><description>&lt;p&gt;TITLE: Connect to Server&lt;/p&gt;
&lt;p&gt;------------------------------&lt;/p&gt;
&lt;p&gt;Cannot connect to BAO\SQLEXPRESS.&lt;/p&gt;
&lt;p&gt;------------------------------&lt;/p&gt;
&lt;p&gt;ADDITIONAL INFORMATION:&lt;/p&gt;
&lt;p&gt;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: 28 - Server doesn't support requested protocol) (Microsoft SQL Server, Error: -1)&lt;/p&gt;
&lt;p&gt;For help, click: &lt;a rel="nofollow" target="_new" href="http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&amp;amp;EvtSrc=MSSQLServer&amp;amp;EvtID=-1&amp;amp;LinkId=20476"&gt;http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&amp;amp;EvtSrc=MSSQLServer&amp;amp;EvtID=-1&amp;amp;LinkId=20476&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;------------------------------&lt;/p&gt;
&lt;p&gt;BUTTONS:&lt;/p&gt;
&lt;p&gt;OK&lt;/p&gt;
&lt;p&gt;------------------------------&lt;/p&gt;
</description></item></channel></rss>