<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: SQL SERVER &#8211; Fix : Error : 40 &#8211; could not open a connection to SQL server &#8211; Fix Connection Problems of SQL Server</title>
	<atom:link href="http://blog.sqlauthority.com/2008/08/24/sql-server-fix-error-40-could-not-open-a-connection-to-sql-server-fix-connection-problems-of-sql-server/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.sqlauthority.com/2008/08/24/sql-server-fix-error-40-could-not-open-a-connection-to-sql-server-fix-connection-problems-of-sql-server/</link>
	<description>Notes of a SQL Server MVP and Database Administrator</description>
	<lastBuildDate>Sat, 21 Nov 2009 05:54:09 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: veer</title>
		<link>http://blog.sqlauthority.com/2008/08/24/sql-server-fix-error-40-could-not-open-a-connection-to-sql-server-fix-connection-problems-of-sql-server/#comment-56339</link>
		<dc:creator>veer</dc:creator>
		<pubDate>Fri, 02 Oct 2009 06:00:17 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=874#comment-56339</guid>
		<description>The connection was not closed. The connection&#039;s current state is open.</description>
		<content:encoded><![CDATA[<p>The connection was not closed. The connection&#8217;s current state is open.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Liz</title>
		<link>http://blog.sqlauthority.com/2008/08/24/sql-server-fix-error-40-could-not-open-a-connection-to-sql-server-fix-connection-problems-of-sql-server/#comment-56081</link>
		<dc:creator>Liz</dc:creator>
		<pubDate>Wed, 23 Sep 2009 09:23:05 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=874#comment-56081</guid>
		<description>Problem solved!

I had to install SQL Server, Developer edition, on DEFAULT instance name.</description>
		<content:encoded><![CDATA[<p>Problem solved!</p>
<p>I had to install SQL Server, Developer edition, on DEFAULT instance name.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Liz</title>
		<link>http://blog.sqlauthority.com/2008/08/24/sql-server-fix-error-40-could-not-open-a-connection-to-sql-server-fix-connection-problems-of-sql-server/#comment-56079</link>
		<dc:creator>Liz</dc:creator>
		<pubDate>Wed, 23 Sep 2009 08:15:24 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=874#comment-56079</guid>
		<description>Thanks for the answer, Imran.

The key was with #4; my SQL server was installed by Visual Studio 2008 kit and thus was default instance; the &#039;lizm&#039; I was connecting to was an alias that I previously created for testing, and although it seemed to work just fine from Management Studio, it wouldn&#039;t allow connections from another computer, or, apparently, our application.

I&#039;ve tried reinstalling an SQL server, with instance name=&#039;LIZM&#039;; it created the name LIZM\LIZM, which is of no use to me. What should I do to get the name LIZM? Uninstall everything and try again? Is there a renaming process? Searching for &#039;install same name as machine&#039; only turns up linkage errors, so I&#039;m forced to ask.</description>
		<content:encoded><![CDATA[<p>Thanks for the answer, Imran.</p>
<p>The key was with #4; my SQL server was installed by Visual Studio 2008 kit and thus was default instance; the &#8216;lizm&#8217; I was connecting to was an alias that I previously created for testing, and although it seemed to work just fine from Management Studio, it wouldn&#8217;t allow connections from another computer, or, apparently, our application.</p>
<p>I&#8217;ve tried reinstalling an SQL server, with instance name=&#8217;LIZM&#8217;; it created the name LIZM\LIZM, which is of no use to me. What should I do to get the name LIZM? Uninstall everything and try again? Is there a renaming process? Searching for &#8216;install same name as machine&#8217; only turns up linkage errors, so I&#8217;m forced to ask.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Imran Mohammed</title>
		<link>http://blog.sqlauthority.com/2008/08/24/sql-server-fix-error-40-could-not-open-a-connection-to-sql-server-fix-connection-problems-of-sql-server/#comment-56071</link>
		<dc:creator>Imran Mohammed</dc:creator>
		<pubDate>Wed, 23 Sep 2009 03:11:50 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=874#comment-56071</guid>
		<description>@Liz, 

1. Check Browser Service ( For SQL Server 2005 and above)
2. Check Windows Firewall or Anti Virus, if that is blocking... 
3. Check the service you are trying to connect is actually running. 
4. Check the Server Name to which you are connecting, if it is a named instance of default instance.

~ IM.</description>
		<content:encoded><![CDATA[<p>@Liz, </p>
<p>1. Check Browser Service ( For SQL Server 2005 and above)<br />
2. Check Windows Firewall or Anti Virus, if that is blocking&#8230;<br />
3. Check the service you are trying to connect is actually running.<br />
4. Check the Server Name to which you are connecting, if it is a named instance of default instance.</p>
<p>~ IM.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Liz</title>
		<link>http://blog.sqlauthority.com/2008/08/24/sql-server-fix-error-40-could-not-open-a-connection-to-sql-server-fix-connection-problems-of-sql-server/#comment-56062</link>
		<dc:creator>Liz</dc:creator>
		<pubDate>Tue, 22 Sep 2009 15:06:55 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=874#comment-56062</guid>
		<description>I’ve got a problem in this vein.

Two days ago, my hard drive failed. After reinstalling Windows and SQL, the connection string I’ve previously used without problems started throwing the error in the title.

What really vexes me is that everything seems to be fine:
– in SQL SERVER Surface Area Configuration, Remote Connections accept both TCP/IP and named pipes (we’re using pipes)
– when trying to connect to the server via SQL Server Management Studio, with Server Name=lizm (instance name is same as computer name), and user name and password. Connection happens without problems.
 - on a quick look through cliconfg.exe, I&#039;ve had both protocols enabled, and no aliases (which I&#039;ve read are causing problems) present.

The relevant excerpt from my original connection string :
        Data Source=(local)\;Initial Catalog=SMA;Integrated Security=True;
 I&#039;ve tried variations on it, even though it used to be functional; still no luck.</description>
		<content:encoded><![CDATA[<p>I’ve got a problem in this vein.</p>
<p>Two days ago, my hard drive failed. After reinstalling Windows and SQL, the connection string I’ve previously used without problems started throwing the error in the title.</p>
<p>What really vexes me is that everything seems to be fine:<br />
– in SQL SERVER Surface Area Configuration, Remote Connections accept both TCP/IP and named pipes (we’re using pipes)<br />
– when trying to connect to the server via SQL Server Management Studio, with Server Name=lizm (instance name is same as computer name), and user name and password. Connection happens without problems.<br />
 &#8211; on a quick look through cliconfg.exe, I&#8217;ve had both protocols enabled, and no aliases (which I&#8217;ve read are causing problems) present.</p>
<p>The relevant excerpt from my original connection string :<br />
        Data Source=(local)\;Initial Catalog=SMA;Integrated Security=True;<br />
 I&#8217;ve tried variations on it, even though it used to be functional; still no luck.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Liz</title>
		<link>http://blog.sqlauthority.com/2008/08/24/sql-server-fix-error-40-could-not-open-a-connection-to-sql-server-fix-connection-problems-of-sql-server/#comment-56061</link>
		<dc:creator>Liz</dc:creator>
		<pubDate>Tue, 22 Sep 2009 14:33:10 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=874#comment-56061</guid>
		<description>I&#039;ve got a problem in this vein.

Two days ago, my hard drive failed. After reinstalling Windows and SQL, the connection string I&#039;ve previously used without problems started throwing the error in the title.

What really vexes me is that everything seems to be fine:
 - in SQL SERVER Surface Area Configuration, Remote Connections accept both TCP/IP and named pipes (we&#039;re using pipes)
 - when trying to connect to the server via SQL Server Management Studio, with the 

- connection string (original, excerpt): Data Source=(local)\;Initial Catalog=SMA;Integrated Security=True;</description>
		<content:encoded><![CDATA[<p>I&#8217;ve got a problem in this vein.</p>
<p>Two days ago, my hard drive failed. After reinstalling Windows and SQL, the connection string I&#8217;ve previously used without problems started throwing the error in the title.</p>
<p>What really vexes me is that everything seems to be fine:<br />
 &#8211; in SQL SERVER Surface Area Configuration, Remote Connections accept both TCP/IP and named pipes (we&#8217;re using pipes)<br />
 &#8211; when trying to connect to the server via SQL Server Management Studio, with the </p>
<p>- connection string (original, excerpt): Data Source=(local)\;Initial Catalog=SMA;Integrated Security=True;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: MuANaser</title>
		<link>http://blog.sqlauthority.com/2008/08/24/sql-server-fix-error-40-could-not-open-a-connection-to-sql-server-fix-connection-problems-of-sql-server/#comment-55699</link>
		<dc:creator>MuANaser</dc:creator>
		<pubDate>Tue, 08 Sep 2009 10:46:58 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=874#comment-55699</guid>
		<description>Hi,

Ensure {server name} is written/spelled properly. If computer name is {lambda}, {server name} should be something like {lambda\sqlexpress}.

regards.</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Ensure {server name} is written/spelled properly. If computer name is {lambda}, {server name} should be something like {lambda\sqlexpress}.</p>
<p>regards.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Imran Mohammed</title>
		<link>http://blog.sqlauthority.com/2008/08/24/sql-server-fix-error-40-could-not-open-a-connection-to-sql-server-fix-connection-problems-of-sql-server/#comment-53776</link>
		<dc:creator>Imran Mohammed</dc:creator>
		<pubDate>Fri, 17 Jul 2009 04:16:52 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=874#comment-53776</guid>
		<description>@Alex. 

Please apply SQL Server 2005 Service Pack 2. To both client tools and database engine and see if you still face the same issue.

I searched on web for this issue, below was the conclusion.

Error Message :
Could not load file or assembly ‘Microsoft.SqlServer.CustomControls, Version=9.0.242.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91′ or one of its dependencies. The system cannot find the file specified. (SQLSAC)


1. This error occurs when the version of Client tools is not same as SQL Server Database Engine.
Resolution : Apply Service pack and make version of Client tool same as SQL Server Database Engine.

2. Some issue with SQL Express, few people suggested after they installed SP2, they got rid of this issue. 

Try installing SP2, and apply it on Client tools as well as your database engine.

Download Link for SQL Server 2005 Express Edition Sp2:

http://www.microsoft.com/downloads/details.aspx?FamilyId=31711d5d-725c-4afa-9d65-e4465cdff1e7&amp;displaylang=en

Leave a comment, if this does not solve your problem. 

Also please provide below information 

1. Is SQL Server installed on the same box where you have your sql client tools. 
2. What version of SQL Server is that (RTM, Sp1, Sp2, Sp3)
3. If it a default instance of Named instance ? ( From what you have mentioned in the post, it is clear it is a named instance, but want to confirm, if you installed a default instance of named instance.)

Thanks,
~ IM.</description>
		<content:encoded><![CDATA[<p>@Alex. </p>
<p>Please apply SQL Server 2005 Service Pack 2. To both client tools and database engine and see if you still face the same issue.</p>
<p>I searched on web for this issue, below was the conclusion.</p>
<p>Error Message :<br />
Could not load file or assembly ‘Microsoft.SqlServer.CustomControls, Version=9.0.242.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91′ or one of its dependencies. The system cannot find the file specified. (SQLSAC)</p>
<p>1. This error occurs when the version of Client tools is not same as SQL Server Database Engine.<br />
Resolution : Apply Service pack and make version of Client tool same as SQL Server Database Engine.</p>
<p>2. Some issue with SQL Express, few people suggested after they installed SP2, they got rid of this issue. </p>
<p>Try installing SP2, and apply it on Client tools as well as your database engine.</p>
<p>Download Link for SQL Server 2005 Express Edition Sp2:</p>
<p><a href="http://www.microsoft.com/downloads/details.aspx?FamilyId=31711d5d-725c-4afa-9d65-e4465cdff1e7&amp;displaylang=en" rel="nofollow">http://www.microsoft.com/downloads/details.aspx?FamilyId=31711d5d-725c-4afa-9d65-e4465cdff1e7&amp;displaylang=en</a></p>
<p>Leave a comment, if this does not solve your problem. </p>
<p>Also please provide below information </p>
<p>1. Is SQL Server installed on the same box where you have your sql client tools.<br />
2. What version of SQL Server is that (RTM, Sp1, Sp2, Sp3)<br />
3. If it a default instance of Named instance ? ( From what you have mentioned in the post, it is clear it is a named instance, but want to confirm, if you installed a default instance of named instance.)</p>
<p>Thanks,<br />
~ IM.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex</title>
		<link>http://blog.sqlauthority.com/2008/08/24/sql-server-fix-error-40-could-not-open-a-connection-to-sql-server-fix-connection-problems-of-sql-server/#comment-53767</link>
		<dc:creator>Alex</dc:creator>
		<pubDate>Thu, 16 Jul 2009 16:34:25 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=874#comment-53767</guid>
		<description>Hello IM, 
here is the exact error message.
I use management studio express to connect to the server

TITLE: Connect to Server
------------------------------

Cannot connect to ALEX\SQLEXPRESS.

------------------------------
ADDITIONAL INFORMATION:

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: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) (Microsoft SQL Server, Error: 2)

I disabled my user account control on my laptop because that was a reason why I couldn&#039;t attach databases to my server before. 
Also, I made my default port 1433 for TCP/IP protocol and made exceptions for sql server and sql browser in firewall. 

And my surface gives me that:

TITLE: Surface Area Configuration
------------------------------

Could not load file or assembly &#039;Microsoft.SqlServer.CustomControls, Version=9.0.242.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91&#039; or one of its dependencies. The system cannot find the file specified. (SQLSAC)

Honestly to say I don&#039;t know what else to do. 
Thanks for your time</description>
		<content:encoded><![CDATA[<p>Hello IM,<br />
here is the exact error message.<br />
I use management studio express to connect to the server</p>
<p>TITLE: Connect to Server<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p>Cannot connect to ALEX\SQLEXPRESS.</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
ADDITIONAL INFORMATION:</p>
<p>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: Named Pipes Provider, error: 40 &#8211; Could not open a connection to SQL Server) (Microsoft SQL Server, Error: 2)</p>
<p>I disabled my user account control on my laptop because that was a reason why I couldn&#8217;t attach databases to my server before.<br />
Also, I made my default port 1433 for TCP/IP protocol and made exceptions for sql server and sql browser in firewall. </p>
<p>And my surface gives me that:</p>
<p>TITLE: Surface Area Configuration<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p>Could not load file or assembly &#8216;Microsoft.SqlServer.CustomControls, Version=9.0.242.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91&#8242; or one of its dependencies. The system cannot find the file specified. (SQLSAC)</p>
<p>Honestly to say I don&#8217;t know what else to do.<br />
Thanks for your time</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Imran Mohammed</title>
		<link>http://blog.sqlauthority.com/2008/08/24/sql-server-fix-error-40-could-not-open-a-connection-to-sql-server-fix-connection-problems-of-sql-server/#comment-53739</link>
		<dc:creator>Imran Mohammed</dc:creator>
		<pubDate>Thu, 16 Jul 2009 03:23:58 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=874#comment-53739</guid>
		<description>@Alex, 

The account under which SQL Server Service is running, is it expired ? Did you check if password is still valid. 

Go to Configuration Manager , double click SQL Server Service and change user name and password. 

This could one of many reasons, why this could happen.

Also, please post exact error message. 

~ IM.</description>
		<content:encoded><![CDATA[<p>@Alex, </p>
<p>The account under which SQL Server Service is running, is it expired ? Did you check if password is still valid. </p>
<p>Go to Configuration Manager , double click SQL Server Service and change user name and password. </p>
<p>This could one of many reasons, why this could happen.</p>
<p>Also, please post exact error message. </p>
<p>~ IM.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex</title>
		<link>http://blog.sqlauthority.com/2008/08/24/sql-server-fix-error-40-could-not-open-a-connection-to-sql-server-fix-connection-problems-of-sql-server/#comment-53731</link>
		<dc:creator>Alex</dc:creator>
		<pubDate>Wed, 15 Jul 2009 19:15:06 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=874#comment-53731</guid>
		<description>Hi,
I don&#039;t know what happen but for some reasons I&#039;m not able to connect to my server anymore. Everything was fine couple days ago and today when I tried to use web developer to build a web site it gives me error with connection to my database which I wanted to use. When I opened configuration manager I found that server browser is working fine but server stopped working. I tried to start it again but it didn&#039;t work. I disabled firewall just to see if the problem with it but the same thing. I got vista on my pc and use sql express. Btw my server surface area doesn&#039;t work as well and I cant check if the problem is remote connections. 
Thanks.</description>
		<content:encoded><![CDATA[<p>Hi,<br />
I don&#8217;t know what happen but for some reasons I&#8217;m not able to connect to my server anymore. Everything was fine couple days ago and today when I tried to use web developer to build a web site it gives me error with connection to my database which I wanted to use. When I opened configuration manager I found that server browser is working fine but server stopped working. I tried to start it again but it didn&#8217;t work. I disabled firewall just to see if the problem with it but the same thing. I got vista on my pc and use sql express. Btw my server surface area doesn&#8217;t work as well and I cant check if the problem is remote connections.<br />
Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Habeeb</title>
		<link>http://blog.sqlauthority.com/2008/08/24/sql-server-fix-error-40-could-not-open-a-connection-to-sql-server-fix-connection-problems-of-sql-server/#comment-53291</link>
		<dc:creator>Habeeb</dc:creator>
		<pubDate>Sat, 27 Jun 2009 16:30:14 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=874#comment-53291</guid>
		<description>Hi. 

Another sql quirk: using VB6 to Open ADODB.Recordset from Exec proc and an ADODB.Connection using SQLOLDDB.1 breaks the statement: while not Recs.EOF wend.  BUT using DSN the exec populates recs no problem.

The target server is 2k8, and the sql user the apps uses has full rights (privileged to the crown), and the usual firewalls, etc. issues don&#039;t apply.

What &quot;SQLOLDDB.1&quot; does a DSN use? What&#039;s the difference DSN / my connection string?

Eish!
Habeeb</description>
		<content:encoded><![CDATA[<p>Hi. </p>
<p>Another sql quirk: using VB6 to Open ADODB.Recordset from Exec proc and an ADODB.Connection using SQLOLDDB.1 breaks the statement: while not Recs.EOF wend.  BUT using DSN the exec populates recs no problem.</p>
<p>The target server is 2k8, and the sql user the apps uses has full rights (privileged to the crown), and the usual firewalls, etc. issues don&#8217;t apply.</p>
<p>What &#8220;SQLOLDDB.1&#8243; does a DSN use? What&#8217;s the difference DSN / my connection string?</p>
<p>Eish!<br />
Habeeb</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Saurabh</title>
		<link>http://blog.sqlauthority.com/2008/08/24/sql-server-fix-error-40-could-not-open-a-connection-to-sql-server-fix-connection-problems-of-sql-server/#comment-52738</link>
		<dc:creator>Saurabh</dc:creator>
		<pubDate>Thu, 04 Jun 2009 14:39:52 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=874#comment-52738</guid>
		<description>I was facing same problem but got the solution. I use Vista.
Go to Computer Management &gt;&gt; Service and Application &gt;&gt; SQL Server 2005 Configuration &gt;&gt; Network Configuration
Enable TCP/IP protocol &gt;&gt; Right hand click to open properties of TCP/IP protocol &gt;&gt; open Ip Adresses Tab &gt;&gt; IPAll &gt;&gt; TCP Dynamic port &gt;&gt; put the value 1433 if it&#039;s different. Hope this will help anybody if anybody is facing the problem on Vista.</description>
		<content:encoded><![CDATA[<p>I was facing same problem but got the solution. I use Vista.<br />
Go to Computer Management &gt;&gt; Service and Application &gt;&gt; SQL Server 2005 Configuration &gt;&gt; Network Configuration<br />
Enable TCP/IP protocol &gt;&gt; Right hand click to open properties of TCP/IP protocol &gt;&gt; open Ip Adresses Tab &gt;&gt; IPAll &gt;&gt; TCP Dynamic port &gt;&gt; put the value 1433 if it&#8217;s different. Hope this will help anybody if anybody is facing the problem on Vista.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: maina</title>
		<link>http://blog.sqlauthority.com/2008/08/24/sql-server-fix-error-40-could-not-open-a-connection-to-sql-server-fix-connection-problems-of-sql-server/#comment-51222</link>
		<dc:creator>maina</dc:creator>
		<pubDate>Wed, 22 Apr 2009 21:29:16 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=874#comment-51222</guid>
		<description>Hi Pinal ,

I am facing the same problem Error : 40 - could not open a connection to SQL server but I am using  SQL SERVER 2008. I tried out all the options you all mentioned above that are applicable to SQL server 2008 but it still not working. Please help


maina</description>
		<content:encoded><![CDATA[<p>Hi Pinal ,</p>
<p>I am facing the same problem Error : 40 &#8211; could not open a connection to SQL server but I am using  SQL SERVER 2008. I tried out all the options you all mentioned above that are applicable to SQL server 2008 but it still not working. Please help</p>
<p>maina</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kyoshiro</title>
		<link>http://blog.sqlauthority.com/2008/08/24/sql-server-fix-error-40-could-not-open-a-connection-to-sql-server-fix-connection-problems-of-sql-server/#comment-44999</link>
		<dc:creator>Kyoshiro</dc:creator>
		<pubDate>Mon, 22 Dec 2008 10:02:40 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=874#comment-44999</guid>
		<description>i try it..and fixed it..but i can&#039;t change password of account login &quot;sa&quot;.. when i restart SQL server, it isn&#039;t change...how i can do??? please!!!!!</description>
		<content:encoded><![CDATA[<p>i try it..and fixed it..but i can&#8217;t change password of account login &#8220;sa&#8221;.. when i restart SQL server, it isn&#8217;t change&#8230;how i can do??? please!!!!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ACDEUSPL</title>
		<link>http://blog.sqlauthority.com/2008/08/24/sql-server-fix-error-40-could-not-open-a-connection-to-sql-server-fix-connection-problems-of-sql-server/#comment-44443</link>
		<dc:creator>ACDEUSPL</dc:creator>
		<pubDate>Sat, 29 Nov 2008 12:41:00 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=874#comment-44443</guid>
		<description>I am getting the same error, but the Provider is TCP (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: TCP provider, error: 0 - An operation on a socket could not be performed because the system lacked sufficient buffer space or because a queue was full.) )</description>
		<content:encoded><![CDATA[<p>I am getting the same error, but the Provider is TCP (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: TCP provider, error: 0 &#8211; An operation on a socket could not be performed because the system lacked sufficient buffer space or because a queue was full.) )</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pavani</title>
		<link>http://blog.sqlauthority.com/2008/08/24/sql-server-fix-error-40-could-not-open-a-connection-to-sql-server-fix-connection-problems-of-sql-server/#comment-42258</link>
		<dc:creator>pavani</dc:creator>
		<pubDate>Mon, 01 Sep 2008 08:11:35 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=874#comment-42258</guid>
		<description>How to solve the same Problem in case of SQL 2000!I am getting the error as :
[Microsoft][ODBC SQL Server Driver][SQL Server]SELECT permission denied on object &#039;sys_numbers&#039;, database &#039;XXXX&#039;, owner &#039;XXXXX&#039;.&#039;
   Can i get a sloution for this!</description>
		<content:encoded><![CDATA[<p>How to solve the same Problem in case of SQL 2000!I am getting the error as :<br />
[Microsoft][ODBC SQL Server Driver][SQL Server]SELECT permission denied on object &#8217;sys_numbers&#8217;, database &#8216;XXXX&#8217;, owner &#8216;XXXXX&#8217;.&#8217;<br />
   Can i get a sloution for this!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vaibhav Mehta</title>
		<link>http://blog.sqlauthority.com/2008/08/24/sql-server-fix-error-40-could-not-open-a-connection-to-sql-server-fix-connection-problems-of-sql-server/#comment-42011</link>
		<dc:creator>Vaibhav Mehta</dc:creator>
		<pubDate>Mon, 25 Aug 2008 10:45:01 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=874#comment-42011</guid>
		<description>Hi Pinal, 

I am getting the same error (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) ) for one of my application on running on SQL 2000 on OS Window 2000 Terminal. 

I tried and tested all the possibilities but all were unsuccessful. 

The same Application is running successfully on other server having same configuration. 

Please help in above matter.</description>
		<content:encoded><![CDATA[<p>Hi Pinal, </p>
<p>I am getting the same error (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 &#8211; Could not open a connection to SQL Server) ) for one of my application on running on SQL 2000 on OS Window 2000 Terminal. </p>
<p>I tried and tested all the possibilities but all were unsuccessful. </p>
<p>The same Application is running successfully on other server having same configuration. </p>
<p>Please help in above matter.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
