<?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>ASP.NET MSSQL Webhosting Blog &#187; Browser service</title>
	<atom:link href="http://www.mywebhostingblog.net/tag/browser-service/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mywebhostingblog.net</link>
	<description>ASP.NET, MSSQL and Windows dedicated server articles</description>
	<lastBuildDate>Thu, 16 Sep 2010 19:53:40 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Enable SQL 2005 Remote Connections</title>
		<link>http://www.mywebhostingblog.net/aspnet-web-hosting/enable-sql-2005-remote-connections/</link>
		<comments>http://www.mywebhostingblog.net/aspnet-web-hosting/enable-sql-2005-remote-connections/#comments</comments>
		<pubDate>Mon, 10 Nov 2008 19:53:44 +0000</pubDate>
		<dc:creator>Martin</dc:creator>
				<category><![CDATA[ASP.NET Web Hosting]]></category>
		<category><![CDATA[MSSQL Server]]></category>
		<category><![CDATA[Browser service]]></category>
		<category><![CDATA[remote connection]]></category>
		<category><![CDATA[Windows firewall]]></category>

		<guid isPermaLink="false">http://www.mywebhostingblog.net/?p=33</guid>
		<description><![CDATA[Enable remote connections for SQL Server 2005 Express or SQL Server 2005 Developer Edition You must enable remote connections for each instance of SQL Server 2005 that you want to connect to from a remote computer. To do this, follow these steps: 1.    Click Start, point to Programs, point to Microsoft SQL Server 2005, point [...]]]></description>
			<content:encoded><![CDATA[<h3 id="tocHeadRef">Enable remote connections for SQL Server 2005 Express or SQL Server 2005 Developer Edition</h3>
<p><script type="text/javascript"><!--
loadTOCNode(2, 'moreinformation');
// --></script>You must enable <strong>remote connections</strong> for each instance of <strong>SQL Server 2005</strong> that you want to connect to from a<strong> remote computer</strong>. To do this, follow these steps:</p>
<p>1.    Click Start, point to Programs, point to<strong> Microsoft SQL Server 2005</strong>, point to Configuration Tools, and then click <strong>MS SQL Server</strong> Surface Area Configuration.<br />
2.    On the <strong>MS SQL Server 2005</strong> Surface Area Configuration page, click Surface Area Configuration for Services and Connections.<br />
3.    On the <strong>Surface Area Configuration</strong> for Services and Connections page, expand <strong>Database </strong>Engine, click <strong>Remote Connections</strong>, click Local and remote connections, click the appropriate protocol to enable for your environment, and then click Apply.</p>
<p>Note Click OK when you receive the following message:<br />
Changes to Connection Settings will not take effect until you restart the <strong>Database </strong>Engine service.<br />
4.    On the Surface Area Configuration for Services and Connections page, expand Database Engine, click Service, click Stop, wait until the <strong>MSSQLSERVER </strong>service stops, and then click Start to restart the <strong>MSSQLSERVER </strong>service.</p>
<h3 id="tocHeadRef">Enable the SQL Server Browser service</h3>
<p><script type="text/javascript"><!--
loadTOCNode(2, 'moreinformation');
// --></script>If you are running <strong>MS SQL Server 2005</strong> by using an <strong>instance name</strong> and you are not using a specific <strong>TCP/IP</strong> port number in your connection string, you must enable the <strong>SQL Server Browser </strong>service to allow for <strong>remote connections</strong>. For example,<strong> MS SQL Server 2005 Express</strong> is installed with a default instance name of <var>Computer Name</var>\SQLEXPRESS. You are only required to enable the SQL Server Browser service one time, regardless of how many instances of <strong>SQL Server 2005</strong> you are running. To enable the <strong>MS SQL Server </strong>Browser service, follow these steps.</p>
<p><span id="more-33"></span></p>
<p><strong>Important</strong> These steps may increase your security risk. These steps may also make your computer or your network more vulnerable to attack by malicious users or by malicious software such as viruses. We recommend the process that this article describes to enable programs to operate as they are designed to, or to implement specific program capabilities. Before you make these changes, we recommend that you evaluate the risks that are associated with implementing this process in your particular environment. If you choose to implement this process, take any appropriate additional steps to help protect your system. We recommend that you use this process only if you really require this process.</p>
<p>1.    Click Start, point to Programs, point to <strong>Microsoft SQL Server 2005</strong>, point to Configuration Tools, and then click <strong>SQL Server Surface Ar</strong>ea Configuration.<br />
2.    On the <strong>MS SQL Server 2005</strong> Surface Area Configuration page, click Surface Area Configuration for Services and Connections.<br />
3.    On the Surface Area Configuration for Services and Connections page, click <strong>SQL Server Browser</strong>, click Automatic for Startup type, and then click Apply.</p>
<p>Note When you click the Automatic option, the <strong>SQL Server Browser service</strong> starts automatically every time that you start <strong>Microsoft Windows</strong>.<br />
4.    Click Start, and then click OK.</p>
<p><strong>Note</strong> When you run the <strong>MS SQL Server</strong> Browser service on a computer, the computer displays the instance names and the connection information for each instance of SQL Server that is running on the computer. This risk can be reduced by not enabling the SQL Server Browser service and by connecting to the instance of SQL Server directly through an assigned TCP port. Connecting directly to an instance of <strong>SQL Server </strong>through a TCP port is beyond the scope of this article. For more information about the SQL Server Browser server and connecting to an instance of SQL Server, see the following topics in SQL Server Books Online:</p>
<p><strong>•    SQL Server Browser Service<br />
•    Connecting to the SQL Server Database Engine<br />
•    Client Network Configuration</strong></p>
<h3 id="tocHeadRef">Create exceptions in Windows Firewall</h3>
<p><script type="text/javascript"><!--
loadTOCNode(2, 'moreinformation');
// --></script>These steps apply to the version of <strong>Windows Firewall</strong> that is included in <strong>Windows XP</strong> <strong>Service Pack 2 (SP2) </strong>and in <strong>Windows Server 2003</strong>. If you are using a different firewall system, see your <strong>firewall</strong> documentation for more information.</p>
<p>If you are running a firewall on the computer that is running <strong>SQL Server 2005</strong>, external connections to <strong>SQL Server 2005 </strong>will be blocked unless <strong>SQL Server 2005</strong> and the<strong> SQL Server Browser service</strong> can communicate through the <strong>firewall</strong>. You must create an exception for each instance of <strong>SQL Server 2005</strong> that you want to accept remote connections and an exception for the <strong>SQL Server Browser service</strong>.</p>
<p><strong>MS SQL Server 2005</strong> uses an <strong>instance </strong>ID as part of the path when you install its program files. To create an exception for each instance of <strong>MS SQL Server</strong>, you must identify the correct instance ID. To obtain an instance ID, follow these steps:</p>
<p>1.    Click Start, point to Programs, point to <strong>Microsoft SQL Server 2005</strong>, point to Configuration <strong>Tools</strong>, and then click <strong>SQL Server</strong> Configuration Manager.<br />
2.    In <strong>SQL Serve</strong>r Configuration Manager, click the SQL Server Browser service in the right pane, right-click the instance name in the main window, and then click Properties.<br />
3.    On the <strong>SQL Server </strong>Browser Properties page, click the Advanced tab, locate the instance ID in the property list, and then click OK.</p>
<p>To open Windows Firewall, click <strong class="uiterm">Start</strong>, click <strong class="uiterm">Run</strong>, type <span class="userInput">firewall.cpl</span>, and then click <strong class="uiterm">OK</strong>.</p>
<h4 id="tocHeadRef">Create an exception for MS SQL Server 2005 in Windows Firewall</h4>
<p><script type="text/javascript"><!--
loadTOCNode(3, 'moreinformation');
// --></script>To create an exception for <strong>MS SQL Server 2005</strong> in <strong>Windows Firewall</strong>, follow these steps:</p>
<p>1.    In <strong>Windows Firewall</strong>, click the Exceptions tab, and then click Add Program.<br />
2.    In the Add a Program window, click Browse.<br />
3.    Click the <strong>C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Binn\sqlservr.exe</strong> executable program, click Open, and then click OK.</p>
<p>Note The path may be different depending on where <strong>SQL Server 2005</strong> is installed. <strong>MSSQL.1</strong> is a placeholder for the instance ID that you obtained in step 3 of the previous procedure.<br />
4.    Repeat steps 1 through 3 for each instance of SQL Server 2005 that needs an exception.</p>
<h4 id="tocHeadRef">Create an exception for the MS SQL Server Browser service in Windows Firewall</h4>
<p><script type="text/javascript"><!--
loadTOCNode(3, 'moreinformation');
// --></script>To create an exception for the SQL Server Browser service in Windows Firewall, follow these steps:</p>
<p>1.    In Windows <strong>Firewall</strong>, click the Exceptions tab, and then click Add Program.<br />
2.    In the Add a Program <strong>window</strong>, click Browse.<br />
3.    Click the <strong>C:\Program Files\Microsoft SQL Server\90\Shared\sqlbrowser.exe</strong> executable program, click Open, and then click OK.</p>
<p>Note The path may be different depending on where <strong>MS SQL Server 2005</strong> is installed.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mywebhostingblog.net/aspnet-web-hosting/enable-sql-2005-remote-connections/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

