Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

allowing remote connections to sql server express 2005 database

Posted on 2006-11-24
6
Medium Priority
?
200 Views
Last Modified: 2008-03-17
Hi

I am running sql server 2005 express on windows xp

how do i set up sql server 2005 so that someone can make a remote connection to my database?

thanks
andrea
0
Comment
Question by:andieje
  • 3
  • 3
6 Comments
 
LVL 29

Accepted Solution

by:
Nightman earned 2000 total points
ID: 18009145
First, open up Surface Area Configuration for SQL Server. Make sure that you enable Remote Connections. Also ensure that TCP/IP is enabled in the Network Configuration. Check the TCP Port that is in use (default is 1433).

If they are on the same domain as you and you want to use Windows Authentication, open up Management Studio and go to Security, Logins and add their domain account, giving them access to the database. If you want to use SQL Authentication (not the default) you would have to create an SQL login for them (in the same place, just select the login type to be SQL Server Authentication instead) - you may have to enable SQL Server Authentication (mixed mode) in the surface area configuration as well.

In windows Firewall (you probably have it running) add the TCP Port (noted earlier) as an exception, to allow access. You may also have to allow the SQLSvr.exe as an exception.

Hope this helps

Cheers
Night
0
 

Author Comment

by:andieje
ID: 18009183
thanks mister night
0
 
LVL 29

Expert Comment

by:Nightman
ID: 18009194
A pleasure. Let me know if you have any problems - security can be tricky;)
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:andieje
ID: 18011299
Hi

are you there? where is network configuration?

andrea
0
 

Author Comment

by:andieje
ID: 18011305
sorry, i meant to say where in network configuration can i see the default port
0
 
LVL 29

Expert Comment

by:Nightman
ID: 18011327
OPen up the SQL Server Configuration Manager (from the Start-->Program Files-->Microsoft SQL Server 2005 --> Configuration Tools, select Protocols - you will see if TCP/IP is enabled or not. Right click it, select IP Address tab, and have a look at the TCP Port.
0

Featured Post

Become an Android App Developer

Ready to kick start your career in 2018? Learn how to build an Android app in January’s Course of the Month and open the door to new opportunities.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A Stored Procedure in Microsoft SQL Server is a powerful feature that it can be used to execute the Data Manipulation Language (DML) or Data Definition Language (DDL). Depending on business requirements, a single Stored Procedure can return differe…
An alternative to the "For XML" way of pivoting and concatenating result sets into strings, and an easy introduction to "common table expressions" (CTEs). Being someone who is always looking for alternatives to "work your data", I came across this …
Via a live example, show how to set up a backup for SQL Server using a Maintenance Plan and how to schedule the job into SQL Server Agent.
Viewers will learn how to use the UPDATE and DELETE statements to change or remove existing data from their tables. Make a table: Update a specific column given a specific row using the UPDATE statement: Remove a set of values using the DELETE s…
Suggested Courses

581 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question