Solved

allowing remote connections to sql server express 2005 database

Posted on 2006-11-24
6
191 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
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
VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

 

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

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
What is the proper way to use for criteria in left join? 7 28
Linked Server Issue with SQL2012 3 26
Find SQL query used by application 3 20
VB.NET 2008 - SQL Timeout 9 25
Nowadays, some of developer are too much worried about data. Who is using data, who is updating it etc. etc. Because, data is more costlier in term of money and information. So security of data is focusing concern in days. Lets' understand the Au…
JSON is being used more and more, besides XML, and you surely wanted to parse the data out into SQL instead of doing it in some Javascript. The below function in SQL Server can do the job for you, returning a quick table with the parsed data.
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
Using examples as well as descriptions, and references to Books Online, show the documentation available for datatypes, explain the available data types and show how data can be passed into and out of variables.

831 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