Solved

allowing remote connections to sql server express 2005 database

Posted on 2006-11-24
6
190 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 500 total points
Comment Utility
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
Comment Utility
thanks mister night
0
 
LVL 29

Expert Comment

by:Nightman
Comment Utility
A pleasure. Let me know if you have any problems - security can be tricky;)
0
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 

Author Comment

by:andieje
Comment Utility
Hi

are you there? where is network configuration?

andrea
0
 

Author Comment

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

Expert Comment

by:Nightman
Comment Utility
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

Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Join & Write a Comment

Having an SQL database can be a big investment for a small company. Hardware, setup and of course, the price of software all add up to a big bill that some companies may not be able to absorb.  Luckily, there is a free version SQL Express, but does …
Introduction SQL Server Integration Services can read XML files, that’s known by every BI developer.  (If you didn’t, don’t worry, I’m aiming this article at newcomers as well.) But how far can you go?  When does the XML Source component become …
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function

728 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now