473,486 Members | 2,353 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

query SQL db hosted on a dedicated server with ISP ?

what is the best way to send data to and query SQL 2005 server express
edition db hosted on a dedicated server with ISP ?

i need to query it directly from an application on my LAN (asp site on same
machine as sql db also needs to query db)

i can obviously use port 1433 but what other option do i have ? i.e ssl
port, xml web service ?

Any information is helpful
Scott
May 16 '06 #1
6 1635
I need to bone up on SQL Server Express. It is limited, so it does not have
all of the features of SQL Server 2005 Enterprise/Standard. One option is
SQL Server Service Broker, but this requires a local instance to communicate
to the hosted instance, as well as some set up. The cool thing is you can go
offline and it will communicate when it next comes back online. True asynch.

Not sure if SQL Express has HTTP Endpoints, but they are a nice option.
Basically a web service portal to your service. I would examine carefully,
however, to ensure you have the proper security set up.

For straight querying, the port option is probably the best, although a
hosted database does not generally have a domain login. This is not as bad
as it sounds, but there are potential risks, esp. if your passwords are easy
to guess at.

--
Gregory A. Beamer

*************************************************
Think Outside the Box!
*************************************************
"scott" <ai************@yahoo.com> wrote in message
news:uj**************@TK2MSFTNGP04.phx.gbl...
what is the best way to send data to and query SQL 2005 server express
edition db hosted on a dedicated server with ISP ?

i need to query it directly from an application on my LAN (asp site on
same machine as sql db also needs to query db)

i can obviously use port 1433 but what other option do i have ? i.e ssl
port, xml web service ?

Any information is helpful
Scott

May 16 '06 #2
"scott" <ai************@yahoo.com> wrote in message
news:uj**************@TK2MSFTNGP04.phx.gbl...
what is the best way to send data to and query SQL 2005 server express
edition db hosted on a dedicated server with ISP ?

i need to query it directly from an application on my LAN (asp site on
same machine as sql db also needs to query db)

I suppose it really boils down to what your ISP allows / supports,
specifically whether your ISP's database server is available over the public
Internet, or only to your ISP's web server(s)? E.g. the public (i.e. you!)
can connect externally to the web server and the web server can connect
internally to the database server, but the public cannot connect externally
to the database server...

If the former, then you should be able to connect to the database via its
public IP address, supplying userid and password as required. If the latter,
then you might be forced to build a webservice to deploy on your website.
i can obviously use port 1433 but what other option do i have ? i.e ssl
port, xml web service ?


Again, that will depend on how your ISP has configured access to its
database servers... Port 1433 is the default port for SQL Server, but that
can be easily changed, in which case you will need to include the specific
port number in your connection string...
May 16 '06 #3

Again, that will depend on how your ISP has configured access to its
database servers... Port 1433 is the default port for SQL Server, but that
can be easily changed, in which case you will need to include the specific
port number in your connection string...


thanks for reply mark.

so 1433 (or changed port number) is an ok way to connect to a remote db ?
(i.e other people use this method) ?

(note: i would only allow a restricted user to connect this way i.e to run a
stored procedure)
May 16 '06 #4
I need to bone up on SQL Server Express. It is limited, so it does not have
all of the features of SQL Server 2005 Enterprise/Standard. One option is
SQL Server Service Broker, but this requires a local instance to
communicate to the hosted instance, as well as some set up. The cool thing
is you can go offline and it will communicate when it next comes back
online. True asynch.

Not sure if SQL Express has HTTP Endpoints, but they are a nice option.
Basically a web service portal to your service. I would examine carefully,
however, to ensure you have the proper security set up.

For straight querying, the port option is probably the best, although a
hosted database does not generally have a domain login. This is not as bad
as it sounds, but there are potential risks, esp. if your passwords are
easy to guess at.

thanks for reply. i think i will need to go with the port option as its the
only one i know how to setup to be honest. As i said to mark i will only
allow a restricted user to execute a limited stored procedure so hopefully
this will help security .... although im not sure i can stop the SA user
connecting via the same method. mmmm needs some thought.
May 16 '06 #5
"scott" <ai************@yahoo.com> wrote in message
news:ex**************@TK2MSFTNGP02.phx.gbl...
so 1433 (or changed port number) is an ok way to connect to a remote db ?
Port 1433 is the default port for SQL Server, the same way as port 21 is the
default port for FTP, 23 is the default port for telnet and 25 is the
default port for SMTP.

http://en.wikipedia.org/wiki/TCP_and_UDP_port_numbers

SQL Server can be configured to work over other ports if necessary...
(i.e other people use this method) ?


I guess they must! But the tone of your question suggests you think there
might be a problem with this...?
May 16 '06 #6
"I guess they must! But the tone of your question suggests you think there
might be a problem with this...? "

: )

it just seems too easy too me - i thought it would be more complicated to
be honest.

many thanks for the advice and your time.
Scott
May 16 '06 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
7425
by: Michael J. Moore | last post by:
Is it the listener process, or some other Oracle process. Also, on a UNIX system, when you do "ps -ef" to see your processes, the PPID points back to a process named "init". Why does the PPID not...
6
1422
by: rdhatt | last post by:
Hi - The developers in my company are all switching to Windows 2003 Web Edition for their dev machines so they can better target the platform. Unfortunately we have discovered that we unable to...
1
1001
by: John Carnahan | last post by:
I'm using a shared Hosted IP "Brinkster" and the Session Variables keep being lost between page calls. Here is their response to the problem. "Brinkster's customers are run from redundant, load...
5
4060
by: Segfahlt | last post by:
I need a little help here please. I have 2 win forms user controls in 2 different projects that I'm hosting in 2 different virtual directories. The controls have been test and operate okay in...
11
1605
by: kirpi | last post by:
There is an SQLServer database somewhere, and I would like to grab and publish some data to my web pages. I was told: "please, do", and given server address, database name, id, and password. My...
0
958
by: kCura | last post by:
I've got an web application that's using a hosted form in IE. The server that is hosting it is running Windows Server 2003 with SP1 and the .NET 1.1 framework. It has all of the latest and greatest...
5
7207
by: jonceramic | last post by:
Hi All, I started developing in Access, and people took notice and so we're starting to migrate into our corporate's bigger Oracle system. I'll still be using my developed Access front ends,...
1
2451
by: =?Utf-8?B?d2R1ZGVr?= | last post by:
I have a web service hosting a WCF library, which works fine but produced a strange signature when interacting with vs 2005/2.0 clients. My method takes 3 strings and returns a bool as below. ...
3
4892
by: emsik1001 | last post by:
Hi http://dev.mysql.com/doc/query-browser/en/mysql-query-browser-connection.html I'm trying to connect from my Windows based PC to a dedicated server which is running on Linux system. I...
0
7105
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7132
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
6846
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7341
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
4870
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3076
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3071
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
600
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
266
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.