473,770 Members | 2,144 Online
Bytes | Software Development & Data Engineering Community
+ 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 1658
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******** ******@TK2MSFTN GP04.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******** ******@TK2MSFTN GP04.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******** ******@TK2MSFTN GP02.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
7478
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 point to some other process like, for example, the listener, or PMON, or whoever spawned it. thanks, Mike
6
1435
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 install the SQL Server tools due (Query Analyzer, Profiler, etc) to the restriction that SQL Server is not allowed. The devs run their databases on a centeral server. Is there any workaround to allow just the tools on 2003 WE?
1
1016
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 balanced server environments. Brinkster's load balancer can push your session from one redundant server to the next; sometimes when this happens, your sessions will be lost. To work around this, Brinkster suggests that you store your session...
5
4095
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 both projects. Both controls(dlls) have been signed using SN.exe and I've set up the appropriate .Net assembly permissions using those Strong Names The DLL's have been copied to the /bin directory in both web virtual directories.
11
1630
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 site is hosted on Linux at aruba.it and I do not have root rights, nor any chance to edit whatever server setup. All I can do is use the available tools, which you cand find here http://62.149.140.28/ver.php All I need is query for a few data...
0
973
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 service packs and updates. Everything has been working fine up to this point. The other day, however, we switched our site over so that it uses SSL, and we've noticed that the Hosted Form no longer works. When I go to the hosted form with a...
5
7236
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, but will be migrating my back ends to Oracle ODBC. 1. Does anyone have recommendations for books or web resources for general rules/guidelines/help on doing this? I haven't found a good
1
2468
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. bool CanRun(string appName, string userName, string function); However the auto generated proxy in 2005 looks like this void CanRun(string appName, string userName, string function, out bool result, out bool resultSpecified);
3
4906
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 type server host and port 3306 user name admin + password and default schema and I get access denied message. I use putty to connect to the server using IP and port 22 and it connects to the server.
0
9618
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9454
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10260
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10101
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10038
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
7456
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6712
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5354
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
3
2850
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.