Hi
We have our web site remotely hosted by a service provider. We need to, from
time to time, remotely upload transactions to the site from our office
vb.net app. The question is how can I connect to the remote site's sql
server using vb.net? Do I need to use a control etc.? What if I want to post
values as parameters to an asp.net page?
Thanks
Regards 7 1189
If the SQL Server port is open (it might not be) you _might_ be able to
connect to it directly via the IP address. However, if it was my web site
and server, I would block the port. I would take another approach. Write a
DTS application that accepts a delimited file that updates the data and pass
it a file to post to the DB.
hth
--
____________________________________
William (Bill) Vaughn
Author, Mentor, Consultant
MVP, hRD www.betav.com
Please reply only to the newsgroup so that others can benefit.
This posting is provided "AS IS" with no warranties, and confers no rights.
__________________________________
"John" <jo**@nospam.infovis.co.uk> wrote in message
news:uC****************@tk2msftngp13.phx.gbl... Hi
We have our web site remotely hosted by a service provider. We need to,
from time to time, remotely upload transactions to the site from our office vb.net app. The question is how can I connect to the remote site's sql server using vb.net? Do I need to use a control etc.? What if I want to
post values as parameters to an asp.net page?
Thanks
Regards
Anything wrong in posting data via an asp.net page? As it is much simpler.
Regards
"William (Bill) Vaughn" <bi**************@nwlink.com> wrote in message
news:%2******************@TK2MSFTNGP11.phx.gbl... If the SQL Server port is open (it might not be) you _might_ be able to connect to it directly via the IP address. However, if it was my web site and server, I would block the port. I would take another approach. Write a DTS application that accepts a delimited file that updates the data and
pass it a file to post to the DB. hth
-- ____________________________________ William (Bill) Vaughn Author, Mentor, Consultant MVP, hRD www.betav.com Please reply only to the newsgroup so that others can benefit. This posting is provided "AS IS" with no warranties, and confers no
rights. __________________________________
"John" <jo**@nospam.infovis.co.uk> wrote in message news:uC****************@tk2msftngp13.phx.gbl... Hi
We have our web site remotely hosted by a service provider. We need to, from time to time, remotely upload transactions to the site from our office vb.net app. The question is how can I connect to the remote site's sql server using vb.net? Do I need to use a control etc.? What if I want to post values as parameters to an asp.net page?
Thanks
Regards
Hi,
Take a look at web services. http://msdn.microsoft.com/webservice...servbasics.asp
Ken
-----------------
"John" <jo**@nospam.infovis.co.uk> wrote in message
news:uC****************@tk2msftngp13.phx.gbl... Hi
We have our web site remotely hosted by a service provider. We need to, from time to time, remotely upload transactions to the site from our office vb.net app. The question is how can I connect to the remote site's sql server using vb.net? Do I need to use a control etc.? What if I want to post values as parameters to an asp.net page?
Thanks
Regards
It really depends on the volume of data you expect to push up to the server.
An ASP page would work and a web service might also but neither approach
would be as performant.
--
____________________________________
William (Bill) Vaughn
Author, Mentor, Consultant
MVP, hRD www.betav.com
Please reply only to the newsgroup so that others can benefit.
This posting is provided "AS IS" with no warranties, and confers no rights.
__________________________________
"John" <jo**@nospam.infovis.co.uk> wrote in message
news:Oj******************@TK2MSFTNGP11.phx.gbl... Anything wrong in posting data via an asp.net page? As it is much simpler.
Regards
"William (Bill) Vaughn" <bi**************@nwlink.com> wrote in message news:%2******************@TK2MSFTNGP11.phx.gbl... If the SQL Server port is open (it might not be) you _might_ be able to connect to it directly via the IP address. However, if it was my web
site and server, I would block the port. I would take another approach. Write
a DTS application that accepts a delimited file that updates the data and pass it a file to post to the DB. hth
-- ____________________________________ William (Bill) Vaughn Author, Mentor, Consultant MVP, hRD www.betav.com Please reply only to the newsgroup so that others can benefit. This posting is provided "AS IS" with no warranties, and confers no rights. __________________________________
"John" <jo**@nospam.infovis.co.uk> wrote in message news:uC****************@tk2msftngp13.phx.gbl... Hi
We have our web site remotely hosted by a service provider. We need
to, from time to time, remotely upload transactions to the site from our office vb.net app. The question is how can I connect to the remote site's sql server using vb.net? Do I need to use a control etc.? What if I want
to post values as parameters to an asp.net page?
Thanks
Regards
IMHO it is a really really bad idea to post your Sql Server to the internet.
It is a huge security risk, from brute force attacks and denial of service
to just getting access to your server by decompiling/memory dumping your
client application. You should rely on webservices/iis/other to provide a
middle layer between your application and your server. It is not going to be
as performant but in my mind it is definitely worth it.
Hope this helps,
--
Angel Saenz-Badillos [MS] Managed Providers
This posting is provided "AS IS", with no warranties, and confers no
rights.Please do not send email directly to this alias.
This alias is for newsgroup purposes only.
"John" <jo**@nospam.infovis.co.uk> wrote in message
news:uC**************@tk2msftngp13.phx.gbl... Hi
We have our web site remotely hosted by a service provider. We need to,
from time to time, remotely upload transactions to the site from our office vb.net app. The question is how can I connect to the remote site's sql server using vb.net? Do I need to use a control etc.? What if I want to
post values as parameters to an asp.net page?
Thanks
Regards
If on the other hand I access the sql server directly then it is not
recommended on security grounds. So which approach should I use to remotely
update a database?
Thanks
Regards
"William (Bill) Vaughn" <bi**************@nwlink.com> wrote in message
news:Oo**************@TK2MSFTNGP09.phx.gbl... It really depends on the volume of data you expect to push up to the
server. An ASP page would work and a web service might also but neither approach would be as performant.
-- ____________________________________ William (Bill) Vaughn Author, Mentor, Consultant MVP, hRD www.betav.com Please reply only to the newsgroup so that others can benefit. This posting is provided "AS IS" with no warranties, and confers no
rights. __________________________________
"John" <jo**@nospam.infovis.co.uk> wrote in message news:Oj******************@TK2MSFTNGP11.phx.gbl... Anything wrong in posting data via an asp.net page? As it is much
simpler. Regards
"William (Bill) Vaughn" <bi**************@nwlink.com> wrote in message news:%2******************@TK2MSFTNGP11.phx.gbl... If the SQL Server port is open (it might not be) you _might_ be able
to connect to it directly via the IP address. However, if it was my web site and server, I would block the port. I would take another approach.
Write a DTS application that accepts a delimited file that updates the data
and pass it a file to post to the DB. hth
-- ____________________________________ William (Bill) Vaughn Author, Mentor, Consultant MVP, hRD www.betav.com Please reply only to the newsgroup so that others can benefit. This posting is provided "AS IS" with no warranties, and confers no rights. __________________________________
"John" <jo**@nospam.infovis.co.uk> wrote in message news:uC****************@tk2msftngp13.phx.gbl... > Hi > > We have our web site remotely hosted by a service provider. We need
to, from > time to time, remotely upload transactions to the site from our
office > vb.net app. The question is how can I connect to the remote site's
sql > server using vb.net? Do I need to use a control etc.? What if I want
to post > values as parameters to an asp.net page? > > Thanks > > Regards > > >
FTP a file to the server. Use a server-side application that you launch
using a secure SSL connection to DTS the file into the database. Better yet,
setup a VPN channel (easy to do) to the server. At this point you can safely
setup a "direct" connection, but I would still use BCP or DTS to upload the
data.
--
____________________________________
William (Bill) Vaughn
Author, Mentor, Consultant
MVP, hRD www.betav.com
Please reply only to the newsgroup so that others can benefit.
This posting is provided "AS IS" with no warranties, and confers no rights.
__________________________________
"John" <jo**@nospam.infovis.co.uk> wrote in message
news:ei**************@TK2MSFTNGP10.phx.gbl... If on the other hand I access the sql server directly then it is not recommended on security grounds. So which approach should I use to
remotely update a database?
Thanks
Regards
"William (Bill) Vaughn" <bi**************@nwlink.com> wrote in message news:Oo**************@TK2MSFTNGP09.phx.gbl... It really depends on the volume of data you expect to push up to the server. An ASP page would work and a web service might also but neither approach would be as performant.
-- ____________________________________ William (Bill) Vaughn Author, Mentor, Consultant MVP, hRD www.betav.com Please reply only to the newsgroup so that others can benefit. This posting is provided "AS IS" with no warranties, and confers no rights. __________________________________
"John" <jo**@nospam.infovis.co.uk> wrote in message news:Oj******************@TK2MSFTNGP11.phx.gbl... Anything wrong in posting data via an asp.net page? As it is much simpler. Regards
"William (Bill) Vaughn" <bi**************@nwlink.com> wrote in message news:%2******************@TK2MSFTNGP11.phx.gbl... > If the SQL Server port is open (it might not be) you _might_ be able to > connect to it directly via the IP address. However, if it was my web site > and server, I would block the port. I would take another approach. Write a > DTS application that accepts a delimited file that updates the data and pass > it a file to post to the DB. > hth > > -- > ____________________________________ > William (Bill) Vaughn > Author, Mentor, Consultant > MVP, hRD > www.betav.com > Please reply only to the newsgroup so that others can benefit. > This posting is provided "AS IS" with no warranties, and confers no rights. > __________________________________ > > "John" <jo**@nospam.infovis.co.uk> wrote in message > news:uC****************@tk2msftngp13.phx.gbl... > > Hi > > > > We have our web site remotely hosted by a service provider. We
need to, > from > > time to time, remotely upload transactions to the site from our office > > vb.net app. The question is how can I connect to the remote site's sql > > server using vb.net? Do I need to use a control etc.? What if I
want to > post > > values as parameters to an asp.net page? > > > > Thanks > > > > Regards > > > > > > > >
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Frostillicus |
last post by:
Hi,
I've written some javascript to randomly choose a classical music composer's
picture and sample audio and display it on my home page
(http://marc.fearby.com/), and this works fine in Mozilla...
|
by: John |
last post by:
Hi
We have our web site remotely hosted by a service provider. What we need is
to from time to time remotely upload transactions to the site from our
office vb.net database app, so the site can...
|
by: chris |
last post by:
hi,
i managed to populate my datagris and add a template colum to update the database. when i click the update button i get an error. is there something wrong with my code.
...
|
by: pberna |
last post by:
Dear all,
I built a Web Form application to start and stop a Windows Service remotely.
I successful tested the application on Windows 2000 server + IIS. I must
include the ASPNET user
to the...
|
by: Lara |
last post by:
Hi,
I am getting the following error.
All the files are stored in a directory named 'web' as told by the Server
Administrtor
can anyone help me
Server Error in '/' Application....
| |
by: Bryan Dickerson |
last post by:
Is there a way, with VS 2005 and FX 2.0, to read a given inbox? I need to
write a 'monitor' program and my boss is convinced, as is always his first
gut reaction, that we need to go buy a...
|
by: sunrt |
last post by:
We have an As400 system that has program which executes batch files which resides on the SQL server 7.0 computer . Those batch files run SQL server jobs
using isql. The whole idea about this is...
|
by: ahogan |
last post by:
Previously posted on comp.databases.oracle.misc. Apologies to those
who read both groups.
I have created a link using generic connectivity from an Oracle
10.2.0.1
instance running on windows...
|
by: helveticus |
last post by:
I'm in the process of finalizing my site. I spent quite a bit of time
designing content pages and would like to cut on development time by
simply managing the DB (SQL server, evt. MySQL) via MS...
|
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,...
|
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...
| |
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,...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
|
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...
|
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...
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
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...
| |