Registered users    
MembershipMembership:
Latest New UserLatest:Taganova Ronya
New TodayNew Today:12
New YesterdayNew Yesterday:9
User CountOverall:23415

Private messaging    
You must be logged in to use this module.
Top 10 posters    
NamePosts
Mariette Knap12968
Marina Roos12627
Eriq Neale2117
Stan Guinn1917
Michael Patrick1914
Robert Pearman1791
Nick Pieters1425
william warren650
Stewart Brown620
Kevin D.579
Welcome unauthorized visitor    
If you want to join us in the discussions on this forum you need to register first. Registration is free! If you are already a registered user please login to join the forum.
Small Business Server Support Forum    
Subject: Remote SQL connetion
Prev Next
You are not authorized to post a reply.

Author Messages
scott baldridge User is Offline
United States
Member since
10/9/2005

Registered Users
Posts: 8

12/12/2005 03:11 PM  
Hello, I need to be able to access a SQL server that resides on my SBS 2003 network. The SBS server is acting as the gateway and there is no other firewall device. The SQL 2000 server is hosted on a Windows 2000 server in the domain. I need to be able to work with tables in a database on that server from an ASP.net application that is hosted on a remote site. I've tried accessing with just the gateways IP address and the SQL port, but that did not work.
Can someone walk me through the process of setting up SBS and the SQL server to be accessed in this way? For example, how do you configure the port to be opened to allow port fowarding? I'm at a loss on how to do this so any help would be great.
Mariette Knap User is Offline
The Netherlands
Member since
3/24/2005

Forum Admins
Posts: 12968

12/12/2005 04:25 PM  
You'll need to open port 1433 for this traffic and edit the connection string in your web.config so that it points to the SQL server.

Mariëtte Knap Smallbizserver.Net AdministratorMission accomplished. We have joined the branch office to our SBS 2003 Headquarters and have the same user experience on the branch office as we have on our local  network at the Headquarters. Want to know how? Signup up for a subscription and get instant access to the article series 'How to add an additional Domain Controller from a remote office to the SBS domain'
scott baldridge User is Offline
United States
Member since
10/9/2005

Registered Users
Posts: 8

12/12/2005 04:39 PM  
Hello and thanks for responding. How do you open ports in SBS 2003?
 I presume when you open the port 1433 that you can do some sort of port fowarding where you associate the port to a sql servers IP address within the SBS domain? The connection string properties that Im familuar with in the web.config only take one argument for the idintification of the node where the SQL server resides. Am I missing something here?
Mariette Knap User is Offline
The Netherlands
Member since
3/24/2005

Forum Admins
Posts: 12968

12/12/2005 05:30 PM  
Do you have ISA installed?

Mariëtte Knap Smallbizserver.Net AdministratorMission accomplished. We have joined the branch office to our SBS 2003 Headquarters and have the same user experience on the branch office as we have on our local  network at the Headquarters. Want to know how? Signup up for a subscription and get instant access to the article series 'How to add an additional Domain Controller from a remote office to the SBS domain'
scott baldridge User is Offline
United States
Member since
10/9/2005

Registered Users
Posts: 8

12/12/2005 06:01 PM  
No, the SBS 2003 is the standard version.
Marina Roos User is Offline
The Netherlands
Member since
3/24/2005

Forum Admins
Posts: 12627

1/02/2006 02:28 AM  
Hi Scott,
 
If that SQL server is on a member server in your LAN, and you want to access it from the internet, you will have to add a port in the RRAS configuration of the SBS. But be very very careful with opening port 1433 to the internet as that is a port used for trying to hack your server.

Marina Roos Smallbizserver.Net AdministratorMission accomplished. We have joined the branch office to our SBS 2003 Headquarters and have the same user experience on the branch office as we have on our local  network at the Headquarters. Want to know how? Signup up for a subscription and get instant access to the article series 'How to add an additional Domain Controller from a remote office to the SBS domain'
scott baldridge User is Offline
United States
Member since
10/9/2005

Registered Users
Posts: 8

1/03/2006 03:18 PM  
Thank you Marina for responding. I have yet to get this to work. Do you know of a tutorial or step by step to add a port in the RRAS configuration of the SBS? I understand the security risks and do not want to get this wrong. I should be able to add an account for Internet users on the SQL server to allow access for select only to the required tables. That should be ok? Any help would be great.
Marina Roos User is Offline
The Netherlands
Member since
3/24/2005

Forum Admins
Posts: 12627

1/24/2006 10:30 AM  
Hi Scott,
 
Do you have 2 nics in the server?

Marina Roos Smallbizserver.Net AdministratorMission accomplished. We have joined the branch office to our SBS 2003 Headquarters and have the same user experience on the branch office as we have on our local  network at the Headquarters. Want to know how? Signup up for a subscription and get instant access to the article series 'How to add an additional Domain Controller from a remote office to the SBS domain'
scott baldridge User is Offline
United States
Member since
10/9/2005

Registered Users
Posts: 8

1/24/2006 02:24 PM  
Yes, There are two nics. I am able to touch the SQL box via RDC.
Marina Roos User is Offline
The Netherlands
Member since
3/24/2005

Forum Admins
Posts: 12627

1/24/2006 05:11 PM  
Hi Scott,
 
Than you should be able to add that port in RRAS yourself. Have a look at this article for some clues: Config of the UPnP Router by the CEICW wizard

Marina Roos Smallbizserver.Net AdministratorMission accomplished. We have joined the branch office to our SBS 2003 Headquarters and have the same user experience on the branch office as we have on our local  network at the Headquarters. Want to know how? Signup up for a subscription and get instant access to the article series 'How to add an additional Domain Controller from a remote office to the SBS domain'
You are not authorized to post a reply.



ActiveForums 3.7
Forum policy    
These Discussion Forums are dedicated to the discussion of the Small Business Server and related server and client software. For the benefit of the community please observe the following posting guidelines:
  1. No Advertising. This includes promotion of commercial products and non-commercial products which are not directly related to Small Business Server and related server and client software.
  2. No Flaming or Trolling.
  3. No Profanity, Racism, or Prejudice.
  4. Site Moderators have the final word on approving/removing a thread or post or comment.