SIGN UP MEMBER LOGIN:    
ARTICLE

How to Enable Remote Connections in SQL Server 2005

Posted by Raj Kumar Articles | SQL Server 2012 July 17, 2008
By default, SQL Server 2005 doesn’t allow remote connection so you have to enable it manually. This article shows you how to enable remote connection in your SQL Server 2005.
Reader Level:

First time when I tried to make remote connection, I got this error message.

"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 connection ...?"

By default, SQL Server 2005 doesn't allow remote connection so you have to enable it manually. If you try to connect to remote SQL Server without enable remote connection first. This is a security precautions that prevents other computers from connection to this instance of SQL Server before it has been properly secured. If you have seccessfully installed SQL Server 2005 and you want to allow other computers to be able to access your instance of database then you have to be enable remote connection in your system.

Here we go step by step, how to do enable remote connection.

  1. Use Surface Area Configuration Tool to enable remote connetion. See in snapshot how?

    What is Surface Area Configuration Tool?

    Microsoft SQL Server 2005 selectively installs and starts key services and features. This helps reduce the attackable surface area of a system. In the default configuration of new installations, many features are not enabled. A system administrator can change these defaults at installation time and also selectively enable or disable features of a running instance of SQL Server 2005.

      

  2. Now click on the Surface Area Configuration for Services and Connections.

     

  3. Now click on SQLEXPRESS/Database Engine/RemoteConnections/ or MSSQLSERVER.

  4. Now enable Local and remote connections.

     

Hope it will help.

Login to add your contents and source code to this article
share this article :
post comment
 

Im using c# , how do you do it in c# ms 2008

Posted by Darnell Dudley Mar 16, 2010

when clicking on OK, I get the error message: "an exception occurred in smo"
please help!

Posted by krishna kumar Jan 04, 2010

no..... not possible :(

Posted by ro sh Jun 15, 2009

Can the above steps be done programmatically?

Posted by Pearl Fernandes Jun 01, 2009
6 Months Free & No Setup Fees ASP.NET Hosting!
Become a Sponsor
PREMIUM SPONSORS
  • ceTE software specializes in components for dynamic PDF generation and manipulation. The DynamicPDF™ product line allows you to dynamically generate PDF documents, merge PDF documents and new content to existing PDF documents from within your applications. Visit DynamicPDF here
    Get 2 Months Free of ASP.NET Hosting for Only $4.95/month! Receive FREE MS SQL and MySQL Databases Including ASP.NET 4/3.5, MVC 3.0, Silverlight 4, Windows 2008/IIS 7.0 Plus FREE IIS 7 Modules. Host UNLIMITED ASP.NET Web Sites - Click Here!
Become a Sponsor