<?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>Named Pipes Provider, error: 40 - Could not open a connection to SQL Server</title><link>http://blogs.msdn.com/sql_protocols/archive/2007/03/31/named-pipes-provider-error-40-could-not-open-a-connection-to-sql-server.aspx</link><description>This error was most frequently hitted by our customers, and in this post, give a brief summary of troubleshooting tips for this specific error message. First, take a look at below MSDN forum link lists about this topic: http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=192622&amp;amp;SiteID=1</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>re:provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified</title><link>http://blogs.msdn.com/sql_protocols/archive/2007/03/31/named-pipes-provider-error-40-could-not-open-a-connection-to-sql-server.aspx#2077323</link><pubDate>Tue, 10 Apr 2007 23:58:48 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2077323</guid><dc:creator>bhupendra</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I am trying to connect SQL2005 from my local machine.&lt;/p&gt;
&lt;p&gt;I am getting following 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: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified) (.Net SqlClient Data Provider)&lt;/p&gt;
&lt;p&gt;I have checked tcp/ip setting, browser service, firewall on target as well as my local machine. I have sql2005 client with sp1, windows xp with sp2. &lt;/p&gt;
&lt;p&gt;I am able to connect, register few different sql2005 servers.&lt;/p&gt;
&lt;p&gt;I have uninstall an reinsall sql2005.&lt;/p&gt;
&lt;p&gt;Can you please help me?&lt;/p&gt;
</description></item><item><title>re: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server</title><link>http://blogs.msdn.com/sql_protocols/archive/2007/03/31/named-pipes-provider-error-40-could-not-open-a-connection-to-sql-server.aspx#2844863</link><pubDate>Thu, 24 May 2007 19:22:53 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2844863</guid><dc:creator>Nita</dc:creator><description>&lt;p&gt;Did you find an answer for your problem?&lt;/p&gt;
&lt;p&gt;I have the same problem. I was able to use it. I had to reinstall express, the only difference is I put a check mark for user instance.&lt;/p&gt;
&lt;p&gt;I get this error:&lt;/p&gt;
&lt;p&gt;(provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified) (.Net SqlClient Data Provider&lt;/p&gt;
</description></item><item><title>re: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server</title><link>http://blogs.msdn.com/sql_protocols/archive/2007/03/31/named-pipes-provider-error-40-could-not-open-a-connection-to-sql-server.aspx#2962211</link><pubDate>Tue, 29 May 2007 10:18:25 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2962211</guid><dc:creator>umair</dc:creator><description>&lt;p&gt;im really confused because ive tried all the steps ive come accross on forumns and i still am not able to run the sql server 2005 express service.&lt;/p&gt;
&lt;p&gt;I am posting my error log for this program. Hope someone can help.&lt;/p&gt;
&lt;p&gt;Here is the log&lt;/p&gt;
&lt;p&gt;2007-05-29 01:19:20.77 Server &amp;nbsp; &amp;nbsp; &amp;nbsp;Microsoft SQL Server 2005 - 9.00.1399.06 (Intel X86) &lt;/p&gt;
&lt;p&gt;	Oct 14 2005 00:33:37 &lt;/p&gt;
&lt;p&gt;	Copyright (c) 1988-2005 Microsoft Corporation&lt;/p&gt;
&lt;p&gt;	Express Edition on Windows NT 5.1 (Build 2600: Service Pack 2)&lt;/p&gt;
&lt;p&gt;2007-05-29 01:19:20.79 Server &amp;nbsp; &amp;nbsp; &amp;nbsp;(c) 2005 Microsoft Corporation.&lt;/p&gt;
&lt;p&gt;2007-05-29 01:19:20.79 Server &amp;nbsp; &amp;nbsp; &amp;nbsp;All rights reserved.&lt;/p&gt;
&lt;p&gt;2007-05-29 01:19:20.80 Server &amp;nbsp; &amp;nbsp; &amp;nbsp;Server process ID is 5860.&lt;/p&gt;
&lt;p&gt;2007-05-29 01:19:20.80 Server &amp;nbsp; &amp;nbsp; &amp;nbsp;Logging SQL Server messages in file 'G:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\LOG\ERRORLOG'.&lt;/p&gt;
&lt;p&gt;2007-05-29 01:19:20.85 Server &amp;nbsp; &amp;nbsp; &amp;nbsp;This instance of SQL Server last reported using a process ID of 5704 at 5/29/2007 1:18:29 AM (local) 5/28/2007 8:18:29 PM (UTC). This is an informational message only; no user action is required.&lt;/p&gt;
&lt;p&gt;2007-05-29 01:19:20.85 Server &amp;nbsp; &amp;nbsp; &amp;nbsp;Registry startup parameters:&lt;/p&gt;
&lt;p&gt;2007-05-29 01:19:20.87 Server &amp;nbsp; &amp;nbsp; &amp;nbsp;	 -d G:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\DATA\master.mdf&lt;/p&gt;
&lt;p&gt;2007-05-29 01:19:20.87 Server &amp;nbsp; &amp;nbsp; &amp;nbsp;	 -e G:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\LOG\ERRORLOG&lt;/p&gt;
&lt;p&gt;2007-05-29 01:19:20.87 Server &amp;nbsp; &amp;nbsp; &amp;nbsp;	 -l G:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\DATA\mastlog.ldf&lt;/p&gt;
&lt;p&gt;2007-05-29 01:19:21.34 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;/p&gt;
&lt;p&gt;2007-05-29 01:19:21.34 Server &amp;nbsp; &amp;nbsp; &amp;nbsp;Detected 1 CPUs. This is an informational message; no user action is required.&lt;/p&gt;
&lt;p&gt;2007-05-29 01:19:29.96 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;/p&gt;
&lt;p&gt;2007-05-29 01:19:51.45 Server &amp;nbsp; &amp;nbsp; &amp;nbsp;Database Mirroring Transport is disabled in the endpoint configuration.&lt;/p&gt;
&lt;p&gt;2007-05-29 01:19:54.76 spid5s &amp;nbsp; &amp;nbsp; &amp;nbsp;Starting up database 'master'.&lt;/p&gt;
&lt;p&gt;2007-05-29 01:19:59.72 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;/p&gt;
&lt;p&gt;2007-05-29 01:20:07.72 spid5s &amp;nbsp; &amp;nbsp; &amp;nbsp;SQL Trace ID 1 was started by login &amp;quot;sa&amp;quot;.&lt;/p&gt;
&lt;p&gt;2007-05-29 01:20:08.52 spid5s &amp;nbsp; &amp;nbsp; &amp;nbsp;Starting up database 'mssqlsystemresource'.&lt;/p&gt;
&lt;p&gt;2007-05-29 01:20:16.19 spid8s &amp;nbsp; &amp;nbsp; &amp;nbsp;Starting up database 'model'.&lt;/p&gt;
&lt;p&gt;2007-05-29 01:20:16.25 spid5s &amp;nbsp; &amp;nbsp; &amp;nbsp;Server name is 'BOY\SQLEXPRESS'. This is an informational message only. No user action is required.&lt;/p&gt;
&lt;p&gt;2007-05-29 01:20:16.39 spid5s &amp;nbsp; &amp;nbsp; &amp;nbsp;Starting up database 'msdb'.&lt;/p&gt;
&lt;p&gt;2007-05-29 01:20:19.85 spid8s &amp;nbsp; &amp;nbsp; &amp;nbsp;Clearing tempdb database.&lt;/p&gt;
&lt;p&gt;2007-05-29 01:20:27.24 spid8s &amp;nbsp; &amp;nbsp; &amp;nbsp;Starting up database 'tempdb'.&lt;/p&gt;
&lt;p&gt;2007-05-29 01:20:31.82 spid5s &amp;nbsp; &amp;nbsp; &amp;nbsp;Recovery is complete. This is an informational message only. No user action is required.&lt;/p&gt;
&lt;p&gt;2007-05-29 01:20:32.36 spid11s &amp;nbsp; &amp;nbsp; The Service Broker protocol transport is disabled or not configured.&lt;/p&gt;
&lt;p&gt;2007-05-29 01:20:32.44 spid11s &amp;nbsp; &amp;nbsp; The Database Mirroring protocol transport is disabled or not configured.&lt;/p&gt;
&lt;p&gt;2007-05-29 01:20:33.22 Server &amp;nbsp; &amp;nbsp; &amp;nbsp;A self-generated certificate was successfully loaded for encryption.&lt;/p&gt;
&lt;p&gt;2007-05-29 01:20:34.94 spid11s &amp;nbsp; &amp;nbsp; Service Broker manager has started.&lt;/p&gt;
&lt;p&gt;2007-05-29 01:20:35.29 Server &amp;nbsp; &amp;nbsp; &amp;nbsp;Server is listening on [ 'any' &amp;lt;ipv6&amp;gt; 1026].&lt;/p&gt;
&lt;p&gt;2007-05-29 01:20:35.52 Server &amp;nbsp; &amp;nbsp; &amp;nbsp;Server is listening on [ 'any' &amp;lt;ipv4&amp;gt; 1026].&lt;/p&gt;
&lt;p&gt;2007-05-29 01:20:36.21 Server &amp;nbsp; &amp;nbsp; &amp;nbsp;Server local connection provider is ready to accept connection on [ \\.\pipe\SQLLocal\SQLEXPRESS ].&lt;/p&gt;
&lt;p&gt;2007-05-29 01:20:36.21 Server &amp;nbsp; &amp;nbsp; &amp;nbsp;Server local connection provider is ready to accept connection on [ \\.\pipe\MSSQL$SQLEXPRESS\sql\query ].&lt;/p&gt;
&lt;p&gt;2007-05-29 01:20:37.03 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;/p&gt;
&lt;p&gt;2007-05-29 01:20:37.39 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;/p&gt;
&lt;p&gt;2007-05-29 01:20:37.40 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;/p&gt;
&lt;p&gt;2007-05-29 01:20:40.97 spid11s &amp;nbsp; &amp;nbsp; Service Broker manager has shut down.&lt;/p&gt;
&lt;p&gt;2007-05-29 01:20:42.69 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;2007-05-29 01:20:42.69 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;
&lt;p&gt;2007-05-29 01:20:43.23 Server &amp;nbsp; &amp;nbsp; &amp;nbsp;The SQL Network Interface library could not deregister the Service Principal Name (SPN) for the SQL Server service. Error: 0x54b. Administrator should deregister this SPN manually to avoid client authentication errors.&lt;/p&gt;
</description></item><item><title>re: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server</title><link>http://blogs.msdn.com/sql_protocols/archive/2007/03/31/named-pipes-provider-error-40-could-not-open-a-connection-to-sql-server.aspx#3522109</link><pubDate>Mon, 25 Jun 2007 19:04:22 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3522109</guid><dc:creator>Anand</dc:creator><description>&lt;p&gt;I have been working on to reslove this for the last 4 days. Still no clues. I had tried all the possibilities...strange !!!&lt;/p&gt;
&lt;p&gt;Any one who has the solution, pls post it.&lt;/p&gt;
&lt;p&gt;TIA,&lt;/p&gt;
&lt;p&gt;- Anand.&lt;/p&gt;
</description></item><item><title>re: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server</title><link>http://blogs.msdn.com/sql_protocols/archive/2007/03/31/named-pipes-provider-error-40-could-not-open-a-connection-to-sql-server.aspx#3524182</link><pubDate>Mon, 25 Jun 2007 20:41:33 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3524182</guid><dc:creator>SQL Protocols</dc:creator><description>&lt;p&gt;Looks like you are trying to force a remote connection on Named Pipes and your named pipe provider is not enabled.&lt;/p&gt;
&lt;p&gt;Please try to follow the troubleshooting ideas for &amp;quot;enabling remote connections&amp;quot; at the very beginning of this blog. Namely,&lt;/p&gt;
&lt;p&gt;III. Remote connection was not enabled. &lt;/p&gt;
&lt;p&gt;Check out: &lt;a rel="nofollow" target="_new" href="http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=322792&amp;amp;SiteID=1"&gt;http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=322792&amp;amp;SiteID=1&lt;/a&gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a rel="nofollow" target="_new" href="https://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=763875&amp;amp;SiteID=1"&gt;https://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=763875&amp;amp;SiteID=1&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;If you are making a remote connection, namely, your target SQL Server is on the different box as client application, you might need to check whether:&lt;/p&gt;
&lt;p&gt;a. &amp;quot;File and Printer Sharing&amp;quot; was opened in Firewall exception list. &lt;/p&gt;
&lt;p&gt;b. Please see the blog for enabling remote connection for express and troubleshooting tips of remote connection.&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://blogs.msdn.com/sql_protocols/archive/2005/11/14/492616.aspx"&gt;http://blogs.msdn.com/sql_protocols/archive/2005/11/14/492616.aspx&lt;/a&gt;&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;Your best bet is the following suggestion. Try it first before trying everything else in the posts:&lt;/p&gt;
&lt;p&gt;Enable remote named pipe: All programs | Microsoft SQL Server 2005| Configuration Tools | SQL Server Surface Area Configuration | Configuration for Services and Connections | Remote Connections, choose enable Named Pipe.&lt;/p&gt;
&lt;p&gt;Looking at the errorlog just before your post, it has TCP enabled, but NOT named pipes. When you perform the steps described in the above posts, you should expect to find something like that in your errorlog:&lt;/p&gt;
&lt;p&gt;&amp;lt;date&amp;gt; &amp;lt;time&amp;gt; Server &amp;nbsp; &amp;nbsp; &amp;nbsp;Server named pipe provider is ready to accept connection on [ \\.\pipe\... ].&lt;/p&gt;
&lt;p&gt;If you did enable Named Pipe and do see message like this in your errorlog (NOT &amp;quot;local connection provider&amp;quot;, but &amp;quot;named pipe provider&amp;quot;) and you still see the error message above, please let us know. Please provide as much information as you can about your client program, your connection string, your OS on both client and server side etc.&lt;/p&gt;
&lt;p&gt;Thank you&lt;/p&gt;
</description></item><item><title>re: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server</title><link>http://blogs.msdn.com/sql_protocols/archive/2007/03/31/named-pipes-provider-error-40-could-not-open-a-connection-to-sql-server.aspx#3992404</link><pubDate>Sat, 21 Jul 2007 23:42:16 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3992404</guid><dc:creator>zdena</dc:creator><description>&lt;p&gt;Hi guys, I have a problem with error: 40.&lt;/p&gt;
&lt;p&gt;I made a Web page, and it works perfect on my local machine, everything is OK, until I uloaded page to the server, it reports 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;Source Error: &lt;/p&gt;
&lt;p&gt;An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. &amp;nbsp;&lt;/p&gt;
&lt;p&gt;Stack Trace: &lt;/p&gt;
&lt;p&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;/p&gt;
&lt;p&gt; &amp;nbsp; System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) +735091&lt;/p&gt;
&lt;p&gt; &amp;nbsp; System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) +188&lt;/p&gt;
&lt;p&gt; &amp;nbsp; System.Data.SqlClient.TdsParser.Connect(Boolean&amp;amp; useFailoverPartner, Boolean&amp;amp; failoverDemandDone, String host, String failoverPartner, String protocol, SqlInternalConnectionTds connHandler, Int64 timerExpire, Boolean encrypt, Boolean trustServerCert, Boolean integratedSecurity, SqlConnection owningObject, Boolean aliasLookup) +820&lt;/p&gt;
&lt;p&gt; &amp;nbsp; System.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(SqlConnection owningObject, SqlConnectionString connectionOptions, String newPassword, Boolean redirectedUserInstance) +628&lt;/p&gt;
&lt;p&gt; &amp;nbsp; System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, Object providerInfo, String newPassword, SqlConnection owningObject, Boolean redirectedUserInstance) +170&lt;/p&gt;
&lt;p&gt; &amp;nbsp; System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection) +359&lt;/p&gt;
&lt;p&gt; &amp;nbsp; System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnection owningConnection, DbConnectionPool pool, DbConnectionOptions options) +28&lt;/p&gt;
&lt;p&gt; &amp;nbsp; System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject) +424&lt;/p&gt;
&lt;p&gt; &amp;nbsp; System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject) +66&lt;/p&gt;
&lt;p&gt; &amp;nbsp; System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject) +496&lt;/p&gt;
&lt;p&gt; &amp;nbsp; System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection) +82&lt;/p&gt;
&lt;p&gt; &amp;nbsp; System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory) +105&lt;/p&gt;
&lt;p&gt; &amp;nbsp; System.Data.SqlClient.SqlConnection.Open() +111&lt;/p&gt;
&lt;p&gt; &amp;nbsp; System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) +121&lt;/p&gt;
&lt;p&gt; &amp;nbsp; System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) +137&lt;/p&gt;
&lt;p&gt; &amp;nbsp; System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, String srcTable) +83&lt;/p&gt;
&lt;p&gt; &amp;nbsp; System.Web.UI.WebControls.SqlDataSourceView.ExecuteSelect(DataSourceSelectArguments arguments) +1770&lt;/p&gt;
&lt;p&gt; &amp;nbsp; System.Web.UI.WebControls.Repeater.GetData() +50&lt;/p&gt;
&lt;p&gt; &amp;nbsp; System.Web.UI.WebControls.Repeater.CreateControlHierarchy(Boolean useDataSource) +232&lt;/p&gt;
&lt;p&gt; &amp;nbsp; System.Web.UI.WebControls.Repeater.OnDataBinding(EventArgs e) +53&lt;/p&gt;
&lt;p&gt; &amp;nbsp; System.Web.UI.WebControls.Repeater.DataBind() +72&lt;/p&gt;
&lt;p&gt; &amp;nbsp; System.Web.UI.WebControls.Repeater.EnsureDataBound() +55&lt;/p&gt;
&lt;p&gt; &amp;nbsp; System.Web.UI.WebControls.Repeater.OnPreRender(EventArgs e) +12&lt;/p&gt;
&lt;p&gt; &amp;nbsp; System.Web.UI.Control.PreRenderRecursiveInternal() +77&lt;/p&gt;
&lt;p&gt; &amp;nbsp; System.Web.UI.Control.PreRenderRecursiveInternal() +161&lt;/p&gt;
&lt;p&gt; &amp;nbsp; System.Web.UI.Control.PreRenderRecursiveInternal() +161&lt;/p&gt;
&lt;p&gt; &amp;nbsp; System.Web.UI.Control.PreRenderRecursiveInternal() +161&lt;/p&gt;
&lt;p&gt; &amp;nbsp; System.Web.UI.Control.PreRenderRecursiveInternal() +161&lt;/p&gt;
&lt;p&gt; &amp;nbsp; System.Web.UI.Control.PreRenderRecursiveInternal() +161&lt;/p&gt;
&lt;p&gt; &amp;nbsp; System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1360&lt;/p&gt;
&lt;p&gt;I dont't Know what to do. Please HELP!&lt;/p&gt;
</description></item><item><title>re: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server</title><link>http://blogs.msdn.com/sql_protocols/archive/2007/03/31/named-pipes-provider-error-40-could-not-open-a-connection-to-sql-server.aspx#4037861</link><pubDate>Wed, 25 Jul 2007 07:20:43 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4037861</guid><dc:creator>SQL Protocols</dc:creator><description>&lt;p&gt;Hi, zdena&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;Please check out the following blog: &lt;a rel="nofollow" target="_new" href="http://blogs.msdn.com/sql_protocols/archive/2007/05/16/named-pipes-provider-error-40-could-not-open-a-connection-to-sql-server-microsoft-sql-server-error-xxx.aspx"&gt;http://blogs.msdn.com/sql_protocols/archive/2007/05/16/named-pipes-provider-error-40-could-not-open-a-connection-to-sql-server-microsoft-sql-server-error-xxx.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: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server</title><link>http://blogs.msdn.com/sql_protocols/archive/2007/03/31/named-pipes-provider-error-40-could-not-open-a-connection-to-sql-server.aspx#4127040</link><pubDate>Mon, 30 Jul 2007 10:21:40 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4127040</guid><dc:creator>Suprio</dc:creator><description>&lt;p&gt;clear all the log from the log events frm service manager and try to enable the service&lt;/p&gt;
</description></item><item><title>re: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server</title><link>http://blogs.msdn.com/sql_protocols/archive/2007/03/31/named-pipes-provider-error-40-could-not-open-a-connection-to-sql-server.aspx#6301249</link><pubDate>Fri, 16 Nov 2007 15:55:29 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:6301249</guid><dc:creator>ss</dc:creator><description>&lt;p&gt;thx for ur tips......i got the solutions&lt;/p&gt;
</description></item><item><title>re: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server</title><link>http://blogs.msdn.com/sql_protocols/archive/2007/03/31/named-pipes-provider-error-40-could-not-open-a-connection-to-sql-server.aspx#6584429</link><pubDate>Wed, 28 Nov 2007 23:38:13 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:6584429</guid><dc:creator>JC</dc:creator><description>&lt;p&gt;In the end... What is the solution to this problem?&lt;/p&gt;
</description></item><item><title>re: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server</title><link>http://blogs.msdn.com/sql_protocols/archive/2007/03/31/named-pipes-provider-error-40-could-not-open-a-connection-to-sql-server.aspx#6584989</link><pubDate>Thu, 29 Nov 2007 00:13:47 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:6584989</guid><dc:creator>Javier Callico</dc:creator><description>&lt;p&gt;I found the solution. The SQL port - 1433 - &amp;nbsp;needs to be included as part of Data Source on the connection string:&lt;/p&gt;
&lt;p&gt;...Data Source=mysqlserver\instance1,1433;...&lt;/p&gt;
&lt;p&gt;That did it for me.&lt;/p&gt;
</description></item><item><title>SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified</title><link>http://blogs.msdn.com/sql_protocols/archive/2007/03/31/named-pipes-provider-error-40-could-not-open-a-connection-to-sql-server.aspx#6585458</link><pubDate>Thu, 29 Nov 2007 00:38:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:6585458</guid><dc:creator>onDevelopment =1;</dc:creator><description>&lt;p&gt;This error kept me busy all morning and part of the afternoon: An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be cause ...&lt;/p&gt;
</description></item><item><title>Another problem - Another solution</title><link>http://blogs.msdn.com/sql_protocols/archive/2007/03/31/named-pipes-provider-error-40-could-not-open-a-connection-to-sql-server.aspx#8455164</link><pubDate>Sat, 03 May 2008 17:22:19 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8455164</guid><dc:creator>niaher</dc:creator><description>&lt;p&gt;If you did everything above and it still doesn't work, check that Windows Firewall is ON, it fixed my problem when I turned it on. ;)&lt;/p&gt;
</description></item><item><title>re: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server</title><link>http://blogs.msdn.com/sql_protocols/archive/2007/03/31/named-pipes-provider-error-40-could-not-open-a-connection-to-sql-server.aspx#8554271</link><pubDate>Tue, 27 May 2008 11:08:08 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8554271</guid><dc:creator>madxkatz</dc:creator><description>&lt;p&gt;On corporate network, if using corporate domain login, do not use network service as built-in account.&lt;/p&gt;
&lt;p&gt;After changing the setting to local system, it works. The change is under: SQL Server Configuration Manager --&amp;gt; SQL Server --&amp;gt; Log on as: Built-in account &amp;nbsp;--&amp;gt; Local System&lt;/p&gt;
</description></item><item><title>re: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server</title><link>http://blogs.msdn.com/sql_protocols/archive/2007/03/31/named-pipes-provider-error-40-could-not-open-a-connection-to-sql-server.aspx#8732827</link><pubDate>Tue, 15 Jul 2008 12:44:53 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8732827</guid><dc:creator>prk</dc:creator><description>&lt;p&gt;try starting service SQL Server (MSSQLSERVER)&lt;/p&gt;
</description></item><item><title>re: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server</title><link>http://blogs.msdn.com/sql_protocols/archive/2007/03/31/named-pipes-provider-error-40-could-not-open-a-connection-to-sql-server.aspx#8839490</link><pubDate>Thu, 07 Aug 2008 02:55:30 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8839490</guid><dc:creator>Tobias</dc:creator><description>&lt;p&gt;In my case I could solve it by using the IP address rather than the machine name in the connection string.&lt;/p&gt;
&lt;p&gt;cheers&lt;/p&gt;
</description></item><item><title>re: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server</title><link>http://blogs.msdn.com/sql_protocols/archive/2007/03/31/named-pipes-provider-error-40-could-not-open-a-connection-to-sql-server.aspx#9011752</link><pubDate>Thu, 23 Oct 2008 00:32:12 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9011752</guid><dc:creator>Gamaliel</dc:creator><description>&lt;p&gt;Yo tengo una aplicacion hecha en VB 2005, mi aplicacion la monte en un server 2008 con sql 2005, mi aplicacion hace una busqueda en una base de datos y &amp;nbsp;muestra un GridView mismo que puede paginar la informacion. Puedo ingresar a mi aplicacion (algunos componentes cargan datos de la base de datos), logro hacer la busqueda y el grid view la pagina, el problema es que cuando quiero ver lasiguiente pagina u otra que no sea la primera me manda el error.&lt;/p&gt;
&lt;p&gt;&amp;quot;Error mientras se establec&amp;#237;a la conexi&amp;#243;n con el servidor. Al conectar con SQL Server 2005, el error se puede producir porque la configuraci&amp;#243;n predeterminada de SQL Server no admite conexiones remotas. (provider: Proveedor de canalizaciones con nombre, error: 40 - No se pudo abrir una conexi&amp;#243;n con SQL Server) &amp;quot;&lt;/p&gt;
&lt;p&gt;La opcion de conexiones remotas esta marcada y mi FireWall esta configurado para que permita la conexion, si no fuera asi no me deberia permitir ingresar a mi aplicacion pues mi aplicacion al cargarse utiliza la base de datos.&lt;/p&gt;
&lt;p&gt;espero me puedan ayudar muchas gracias.&lt;/p&gt;
</description></item><item><title>re: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server</title><link>http://blogs.msdn.com/sql_protocols/archive/2007/03/31/named-pipes-provider-error-40-could-not-open-a-connection-to-sql-server.aspx#9132560</link><pubDate>Sat, 22 Nov 2008 07:07:19 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9132560</guid><dc:creator>Clarence</dc:creator><description>&lt;p&gt;Thanks for the troubleshooting steps... &amp;nbsp;In my case, I wouldn't have thought the firewall would have been the issue....&lt;/p&gt;
</description></item><item><title>re: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server</title><link>http://blogs.msdn.com/sql_protocols/archive/2007/03/31/named-pipes-provider-error-40-could-not-open-a-connection-to-sql-server.aspx#9383218</link><pubDate>Thu, 29 Jan 2009 18:19:49 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9383218</guid><dc:creator>deconinckg</dc:creator><description>&lt;p&gt;hi all,&lt;/p&gt;
&lt;p&gt;Well i encountered the same problem, but it was related to SQL Server Agent that wasn't enabled. I got this error while testing some stuff inside SQL Server 2008. I totaly forgot the Agent and didn't pay any attention.&lt;/p&gt;
&lt;p&gt;Regardz and good luck&lt;/p&gt;
</description></item><item><title>re: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server</title><link>http://blogs.msdn.com/sql_protocols/archive/2007/03/31/named-pipes-provider-error-40-could-not-open-a-connection-to-sql-server.aspx#9898821</link><pubDate>Thu, 24 Sep 2009 09:08:56 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9898821</guid><dc:creator>Febin</dc:creator><description>&lt;p&gt;Dear All&lt;/p&gt;
&lt;p&gt;Unable to insert data from a Form in Visual studio. getting this error&lt;/p&gt;
&lt;p&gt;re: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server&lt;/p&gt;
&lt;p&gt;i just installed only SQL server 2005 and Visual Basic Express Edition 2008. i m using a database inside VB 2008 .anyone help me regarding this issue&lt;/p&gt;
</description></item><item><title>re: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server</title><link>http://blogs.msdn.com/sql_protocols/archive/2007/03/31/named-pipes-provider-error-40-could-not-open-a-connection-to-sql-server.aspx#9902007</link><pubDate>Thu, 01 Oct 2009 22:31:18 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9902007</guid><dc:creator>Heinrich van Vught</dc:creator><description>&lt;p&gt;We've had an issue with Vista X64 where the alias was configured to point to '(local)' using tcp. After much head scratching, we've changed it to point to '127.0.0.1' (32 bit and 64 client configuration) and now the client is connecting fine.&lt;/p&gt;
</description></item><item><title>re: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server</title><link>http://blogs.msdn.com/sql_protocols/archive/2007/03/31/named-pipes-provider-error-40-could-not-open-a-connection-to-sql-server.aspx#9920915</link><pubDate>Wed, 11 Nov 2009 17:16:48 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9920915</guid><dc:creator>Sisay</dc:creator><description>&lt;p&gt;the best help on the web. I was about to quit when I ran to this post and viola! My connection string to sqlexpress 2008 had the &amp;quot;source&amp;quot; value just as &amp;quot;.&amp;quot; Changing it to &amp;quot;.\sqlexpress&amp;quot; did the trick. Now I can connect to the db. It was the very first thing I suspected but didn't quite named the instance this way. I tried mssqlexpress, mssqlserver, blah, blah. &lt;/p&gt;
&lt;p&gt;Thanks or this valuable help.&lt;/p&gt;
</description></item></channel></rss>