Link to home
Start Free TrialLog in
Avatar of jjrr007
jjrr007

asked on

Enable Remote Connections in MS SQL 2005

I wanted to  ask how do I enable remote connections on a MS SQL server.  I am using an ASP.net application and I want to be able to enable remote conections on the computer that I am using (for testing) and the server that I place the application on.  I am using MS SQL Server version 2005.  Thanks.
ASKER CERTIFIED SOLUTION
Avatar of Ara-
Ara-
Flag of Norway image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
And restart the service (instance) afterwards.
Avatar of jjrr007
jjrr007

ASKER

I am new to this part of SQL 2005.  I went to Network Configuration from there on the left side.  From there, I am lost on what steps to take.  I am not sure what you mean by instance and how do I determine what an instance is.  

Also, how do I determine what TCP port to open?  Thanks

Avatar of Nasir Razzaq
Hi,
SQL Server manages the TCP/IP ports itself. It uses multiple ports depending on the load and requirements. Multiple SQL Servers could be installed on a single physical computer by giving them different names. Each such installation is called an Instance. You do not need to worry about instance in the configuration manager. You have to use the Surface Area Configuration to specify whether the SQL Server allows only local connections or remote connections as well. If you are getting a problem when trying to connect to SQL Server, enable and start the SQL Browser service.
Avatar of jjrr007

ASKER

Thanks.  I am not sure what to do.  I have taken the following steps:
1. Opened configuration manager
2. Clicked on SQL Server 2005 Network Configuration.

From this point, I am not clear on what I need to do.  Also, should I do this on the client computer that is connecting to the SQL Server or the SQL Server itself. I would like this only to be implemented on the client computer if possible. Thanks.

This has to be done on the SQL Server. You have opened the Network configuration then you should be able to see what network protocols are enabled. Also in the SQL Services tab confirm that the SQL Browser service is running or start it if its not.
Avatar of jjrr007

ASKER

I see where I need to make the change.  I wanted to find out the impact before going forward.  Should the application that queries the database be saved on the SQL server- that I make the change?

Will this change affect any other queries or process?
I noticed that there is a port number listed in the IPAll section.  Will this change impact that in any way?
 Will this change require a restart of the SQL Server?  
Other than the queries that are run from the "direct" location, will this change affect any other hardware SQL resources?

Thanks!
That's a huge topic which we can leave for a book auther to cover in a chapter. I think the original question of HOW to enable remote connections is answered now. I suggest you to do some study or reading to explore the full consequences of enabling remote connections in SQL Server.
Avatar of jjrr007

ASKER

You are right that I did ask how to implement the change.  It would not be fair to ask all of the additional questions that I asked.  

I do think that instead of asking all of the additional questions, I can just one basic one.
Will this change affect any existing queries or processes ?  I am assuming that I will leave the port number the same in the IPAll heading and only change the TCP Dynamics port to 0.

If you think that this one additional question is too much, please feel free to let me know.  I agree with you that it was not right to ask all of the addtional questions.  I am hoping that the one question above won't require much time. It would help me implement this.  Thanks!
 
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of jjrr007

ASKER

Thanks for your time.