<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>.Net Geek &#187; Error 10061</title>
	<atom:link href="http://www.aakashjain.com/tag/error-10061/feed" rel="self" type="application/rss+xml" />
	<link>http://www.aakashjain.com</link>
	<description>Technology, musings and stuff by Aakash Jain</description>
	<lastBuildDate>Thu, 11 Aug 2011 05:09:55 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>SQL Server 2005 error 10061</title>
		<link>http://www.aakashjain.com/sql-server/sql-server-2005-error-10061-4</link>
		<comments>http://www.aakashjain.com/sql-server/sql-server-2005-error-10061-4#comments</comments>
		<pubDate>Sun, 25 Jan 2009 17:16:40 +0000</pubDate>
		<dc:creator>Vaibhav</dc:creator>
				<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[Error 10061]]></category>
		<category><![CDATA[Remote Connection]]></category>

		<guid isPermaLink="false">http://www.aakashjain.com/SQL+Server+2005+Error+10061.aspx</guid>
		<description><![CDATA[I needed to connect to sql server from a remote computer which is on my home lan. But got this error message. Error: An error has occurred while establishing a connection to the server.  When connecting to SQL Server 2005, the failure may be caused by the fact that under the default settings SQL Server [...]]]></description>
			<content:encoded><![CDATA[<p align="left"><span style="color: #000000;">I needed to connect to sql server from a remote computer which is on my home lan.<br />
But got this error message.</span></p>
<p align="left"><span style="color: #000000;"><strong>Error:<br />
An error has occurred while establishing a connection to the server.  When<br />
connecting to SQL Server 2005, the failure may be caused by the fact that<br />
under the default settings SQL Server does not allow remote connections.<br />
(provider: TCP Provider error: 0 &#8211; No connection could be made because the<br />
target machine actively refused it.) (Microsoft SQL Server, Error: 10061)</strong></span></p>
<p align="left"><span style="color: #000000;">After some googling I understand what was the problem. I have to allow remote connection in Surface Area Configuration.</span></p>
<p style="MARGIN-RIGHT: 0px" dir="ltr" align="left"><span style="color: #000000;"><em>Click Start &gt; All Programs &gt; SQL Server 2005 &gt; Configuration Tools &gt;  SQL Server Surface Area Configuration.</em></span></p>
<p style="MARGIN-RIGHT: 0px" dir="ltr" align="left"><span style="color: #000000;">Select Option &#8220;<em><strong>Surface Area Configuration for services and connection</strong></em>&#8220;.</span></p>
<p style="MARGIN-RIGHT: 0px" dir="ltr" align="left"><span style="color: #000000;">Select the sql server component for which you want to allow remote connection.</span></p>
<p style="MARGIN-RIGHT: 0px" dir="ltr" align="left"><span style="color: #000000;">Select &#8220;<em><strong>remote connection</strong></em>&#8220;, you will now be able to see the settings for this instance. If you want to allow remote connections. Then Select &#8220;<strong><em>Local and Remote Connections</em></strong>&#8221; Then &#8220;<strong><em>Using both TCP/IP and Named Pipes</em></strong>&#8221; then Apply.</span></p>
<p style="MARGIN-RIGHT: 0px" dir="ltr" align="left"><span style="color: #000000;">Restart the Sql Server Service</span></p>
<p style="MARGIN-RIGHT: 0px" dir="ltr" align="left"><span style="color: #000000;"><em>Click Start &gt; Run &gt; Type &#8220;Services.msc&#8221; &gt; Right Click on your SQL Server Instance &gt; Restart the service.</em></span></p>
<p style="MARGIN-RIGHT: 0px" dir="ltr" align="left"><span style="color: #000000;">Now your SQL Server is ready to accept the remote connections.</span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.aakashjain.com/sql-server/sql-server-2005-error-10061-4/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

